Xcode 9 Server exportArchive: exportOptionsPlist error for key 'iCloudContainerEnvironment': expected one of {Development, Production}

谁说我不能喝 提交于 2021-02-07 12:29:44

问题


I upgraded to Xcode 9 Server recently and discovered a sudden problem. There were several other problems i had until i came to this error. I changed from automatic signing to manual singing back and forth. Now in my iOS project i've set it manually and on the server i tried both. The build is successful and it produces an archive (i can't download it though), but it also gives me the error:

exportArchive: exportOptionsPlist error for key 'iCloudContainerEnvironment': expected one of {Development, Production}, but no value was provided

I also checked the integration output directory and it doesn't produce a ipa file.

Since i don't trigger the xcodebuild manually i don't know how to fix it.


回答1:


I could only get it to work by providing a custom exportOptionsPlist file in the Bot's config tab. But in my opinion that should not be necessary...



来源:https://stackoverflow.com/questions/46423169/xcode-9-server-exportarchive-exportoptionsplist-error-for-key-icloudcontainere

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!