Hi there:
Last week we finaly updated to Unity 2017.2 and everyithing works fine localy and we can build iOS and android as usual. However in iOS we are getting an error on Cloud Build:
2017-11-06 05:42:41.336 xcodebuild[7135:43785] [MT] IDEDistribution: Step failed: <IDEDistributionOptionsStep: 0x7fd412f458f0>: Error Domain=IDEFoundationErrorDomain Code=1 “exportOptionsPlist error for key ‘iCloudContainerEnvironment’: expected one of {Development, Production}, but no value was provided” UserInfo={NSLocalizedDescription=exportOptionsPlist error for key ‘iCloudContainerEnvironment’: expected one of {Development, Production}, but no value was provided}
error: exportArchive: exportOptionsPlist error for key ‘iCloudContainerEnvironment’: expected one of {Development, Production}, but no value was provided
Error Domain=IDEFoundationErrorDomain Code=1 “exportOptionsPlist error for key ‘iCloudContainerEnvironment’: expected one of {Development, Production}, but no value was provided” UserInfo={NSLocalizedDescription=exportOptionsPlist error for key ‘iCloudContainerEnvironment’: expected one of {Development, Production}, but no value was provided}
I did some research about it and I think that the issue might be on the way that the export plist is generated:
64662: Generated plist file with the following values:
64663: ▸ -----------------------------------------
64664: ▸ {
64665: ▸ “method”: “ad-hoc”,
64666: ▸ “uploadSymbols”: “false”,
64667: ▸ “provisioningProfiles”: {
64668: ▸ “com.[]": "”
64669: ▸ },
64670: ▸ “teamID”: “****”
64671: ▸ }
I read somewhere that this list should include the “iCloudContainerEnvironment” but I cannot be sure as I cannot modify this list. I still can build if I switch back to Xcode 8.3 but that’s not the best of the solutions. If anyone has any suggestions we will be thankful.