Xcode project file property 'ProvisioningStyle' should be overridable by xcconfig / environment variable
| Originator: | peter.n.goldsmith | ||
| Number: | rdar://28705317 | Date Originated: | |
| Status: | Open | Resolved: | |
| Product: | Xcode | Product Version: | |
| Classification: | Reproducible: |
Summary: The new ProvisioningStyle = Automatic is awesome for development teams. 👍 great job, it 'Just Works'. However for CI infrastructure, ProvisioningStyle=Automatic does not play nice. For example we have the same target but with Adhoc and Appstore provisioning profiles, so I want to be explicit about those on our build infrastructure, but if PROVISIONING_PROFILE_SPECIFIER is specified along with ProvisioningStyle=Automatic, xcodebuild will fail with '(app name) has conflicting provisioning settings' Proposed solution: If there was an option or variable that could be set with an .xcconfig for the ProvisioningStyle, then it wouldn't be a problem. However instead I have our CI setup to edit the project file prior to building. Different proposed solution: Or if PROVISIONING_PROFILE_SPECIFIER and CODE_SIGN_IDENTITY are set, xcodebuild assumes manual style, and doesn't fail, but just warns.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!