yonaskolb / yonaskolb/XcodeGen

DeploymentTarget and configFiles in options from Yaml file affect each other?

Open
#874 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
8.8k
Forks
908
Avg merge
17d 14h
Merged PRs (30d)
2

Description

I have a question for deploymentTarget and configFiles in options. See my yaml
file below:
name: XXX

options:
minimumXcodeGenVersion: "2.11.0"
indentWidth: 2
tabWidth: 2
deploymentTarget:
iOS: "10.0"
generateEmptyDirectories: true
configFiles:
Debug: "xcconfig/Project-Debug.xcconfig"
Release: "xcconfig/Project-Release.xcconfig"

But the value of iOS Deployment Target is empty...See the screenshot below:
image

If I remove the configFiles from my yaml file, iOS Deployment Target is "10.0". It's very strange.
Who can help me?😂😂

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with the YAML shown in the report, comparing the generated project with and without configFiles. Trace how deploymentTarget and configuration files are processed, then verify that iOS 10.0 remains set when both options are present.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
build-system, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.