inHouse 与 inHouse 之间的冲突appStore 分发配置文件
我们有 appStore 版本和应用程序的发行配置文件。一种用于内部分发。两者具有相同的公司名称。我们现在遇到的问题是,当我们尝试构建分发时,我们收到错误:
[BEROR]CodeSign error: Certificate identity 'iPhone Distribution: OurCompanyName' appears more than once in the keychain. The codesign tool requires there only be one.
我们如何解决这个问题?
编辑:我们用来签名的 mac 用于持续集成(通过 Bamboo),因此它意味着无人值守的构建。 这使得切换用户帐户变得不可能......
We have a distribution profile for appStore releases & one for inHouse distribution. Both have identical Company names. The problem we encounter now is that when we try and build for distribution, we get the error:
[BEROR]CodeSign error: Certificate identity 'iPhone Distribution: OurCompanyName' appears more than once in the keychain. The codesign tool requires there only be one.
How do we fix this?
Edit: The mac we're using to sign is used for continuous integration (via Bamboo), so it's meant to build unattended.
This makes switching user accounts an impossibility...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
解决方案:
我已将所有与应用程序商店相关的内容放入登录钥匙串中,并将企业内容放入单独的钥匙串文件中。
在构建脚本中,我在这些之间切换如下:
Solution:
I've put all the appstore related stuff in the login keychain, and the enterprise stuff in a seperate keychain file.
In the buildscript, I switch between those as follows:
使用两个不同的 Mac 用户帐户(不同的登录名)来保存两组不同的证书和规定(两个不同的钥匙串等)。从共享存储库中检查源代码,并在适当的用户帐户中进行最终构建。
Use two different Mac User accounts (different logins) to hold the two different sets of Certificates and provisions (two different keychains, etc.). Check the source code out from a shared repository, and do the final builds in the appropriate User accounts.