Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 472
Lukas Würzburger Avatar asked Sep 26 '17 09:09

Lukas Würzburger


1 Answers

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...

enter image description here

enter image description here

like image 195
Lukas Würzburger Avatar answered Nov 12 '22 10:11

Lukas Würzburger