2016-03-03 35 views
1

我设置了OS X Server/Xcode服务器并为配置项创建了BOT。一切似乎都很好,除了可安装的产品/ archive.ipa无法创建,因为存档失败。这是错误:Xcode服务器/ BOT找不到配置文件

Build Service Issues:

Bot Issue for Bot1 (build service warning) Integration #1 of Bot1 Open in Xcode: xcbot://(null)/botID/2a1dfcbd053b728e6dfced564601114f/integrationID/2a1dfcbd053b728e6dfced5646011de6

Assertion: No matching provisioning profile found: Your build settings specify a provisioning profile with the UUID “013173ad-b54a-4a1d-8a65-xxxxxxxxxxxx”, however, no such provisioning profile was found. File: (null):(null)

Full logs for this integration are attached.

在同一台服务器,我没有问题,手动创建使用选定的Xcode存档/ xxx.ipa文件。配置文件显然在服务器上。

欣赏任何建议或指针。

+0

什么是你的代码签名设置设为? – bolnad

回答

2

你需要

/Library/Developer/XcodeServer/ProvisioningProfiles 

Xcode的机器人该文件夹中搜索正确的配置文件的文件夹下下载并复制配置文件。

此外请确保您已经安装了你的分销/开发者证书在System钥匙扣&私钥。此外,您可能需要允许codesignsecurity二进制才能访问先前的私钥。这将防止机器人在尝试访问密钥以签署应用程序时卡住。

最近,我用Xcode Server写了一篇关于CI的博客,并使用Fastlane将IPA上传到iTunes Connect。你可以参考下面的链接,如果您有兴趣从您的Xcode机器人上传到iTunes Connect中:

https://blog.xmartlabs.com/2016/03/07/ci-with-xcode-server-and-fastlane/

+0

我与设置Xcode服务器并自动部署iTunesConnect几天摔跤...你的博客真的帮助我终于把它全部整理出来。谢谢RemeR! –