yonaskolb / yonaskolb/XcodeGen
How to specify platform settings for multiplatform target?
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 8.8k
- Forks
- 908
- Avg merge
- 17d 14h
- Merged PRs (30d)
- 2
Description
If I have an application project with targets specified below:
targets:
MyApp:
sources: MyApp
platform: [iOS, macOS]
deploymentTarget:
iOS: 17.0
macOS: 14.0
type: application
settings:
base:
SWIFT_VERSION : 5.0
How can I add a platform-specific build setting? For example, on the Mac's debug configuration I want to use manual code signing (so that I can build my app in a VM and use provisioning profiles to enable the build and run) but use automatic signing for iOS's debug configuration?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the target platform and settings specification in the XcodeGen documentation and the Swift command-line behavior. Confirm whether platform-specific debug signing is supported, then document the supported configuration or clarify the limitation; done means the question has an actionable, tested answer.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- build-system, cli
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100