XcodeGen icon indicating copy to clipboard operation
XcodeGen copied to clipboard

How to specify platform settings for multiplatform target?

Open jsorge opened this issue 2 years ago • 0 comments

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?

jsorge avatar Jun 12 '23 22:06 jsorge