My app uses iCloud and fails during the Xcode Archive step with the following error: ❌ error: exportArchive: exportOptionsPlist error for key 'iCloudContainerEnvironment': expected one of {Development, Production}, but no value was provided
Environment:
Where did the issue happen?
Xcode 9.2
Which build Step causes the issue and which version of the step?
xcode-archive, version: 2.4.5
Reproducibility
Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build) : NO
Ok, fixed this by providing a custom exportOptionsPlist. However, it would be nice if we could add single keys to the automatically generated exportOptions instead.
Can you please copy paste the related build’s bitrise.io URL? Without the config & logs it’s hard to tell what the issue was… I believe this should be possible, not 100% sure though, will ask around
Could you point me in the right direction? I have the exact same issue but and I don’t know how to add the custom exportOptionsPlist. It seams that the latest version of Xcode Archive & Export for iOS does not have this option?
Could you point me in the right direction? I have the exact same issue but and I don’t know how to add the custom exportOptionsPlist. It seams that the latest version of Xcode Archive & Export for iOS does not have this option?
@matthias.buchetics we moved it into the (debug) section because too many users tried to set it when 1) it was easier to not set it / their use case did not require to set it 2) and even more importantly they set it to completely invalid or unrelated value (e.g. set only part of the plist or not even a plist).