本文介绍了Xcode 9 Server exportArchive:键"iCloudContainerEnvironment"的exportOptionsPlist错误:预期为{Development,Production}中的一个的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近升级到Xcode 9 Server,发现一个突然的问题.在遇到这个错误之前,我还有其他几个问题.我从自动签名更改为来回手动唱歌.现在,在我的iOS项目中,我已经手动对其进行了设置,并且在服务器上我都尝试了这两种设置.构建成功,并且产生了一个归档文件(尽管我无法下载),但是它也给了我错误:

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:关键'iCloudContainerEnvironment'的exportOptionsPlist错误:预期为{Development,Production}之一,但未提供任何值

我还检查了集成输出目录,它没有产生ipa文件.

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

由于我没有手动触发xcodebuild,所以我不知道如何解决它.

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

推荐答案

我只能通过在Bot的config选项卡中提供一个自定义的exportOptionsPlist文件来使其工作.但是我认为那不是必须的.​​..

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

这篇关于Xcode 9 Server exportArchive:键"iCloudContainerEnvironment"的exportOptionsPlist错误:预期为{Development,Production}中的一个的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-23 05:25