Xcode 服务器/BOT 找不到配置文件
Xcode Server / BOT cannot find the provision profile
我设置了 OS X Server/Xcode 服务器并为 CI 创建了一个 BOT。一切似乎都很好,除了可安装的 product/archive.ipa 无法创建,因为存档失败。这是错误:
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 手动创建 archive/xxx.ipa 文件。配置文件显然在服务器机器上。
感谢任何建议或指示。
您需要下载并复制文件夹下的配置文件
/Library/Developer/XcodeServer/ProvisioningProfiles
Xcode 机器人在该文件夹中搜索正确的配置文件。
另外请确保您已在 System
钥匙串中安装了 distribution/developer 证书和私钥。此外,您可能需要允许 codesign
和 security
二进制文件访问以前的私钥。这将防止机器人在尝试访问密钥以签署应用程序时卡住。
最近我写了一篇关于 CI 使用 Xcode 服务器和使用 Fastlane 将 IPA 上传到 iTunes Connect 的博客。如果您有兴趣从您的 xcode 机器人上传到 iTunes Connect,您可以参考下面的 link:
https://blog.xmartlabs.com/2016/03/07/ci-with-xcode-server-and-fastlane/
我设置了 OS X Server/Xcode 服务器并为 CI 创建了一个 BOT。一切似乎都很好,除了可安装的 product/archive.ipa 无法创建,因为存档失败。这是错误:
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 手动创建 archive/xxx.ipa 文件。配置文件显然在服务器机器上。
感谢任何建议或指示。
您需要下载并复制文件夹下的配置文件
/Library/Developer/XcodeServer/ProvisioningProfiles
Xcode 机器人在该文件夹中搜索正确的配置文件。
另外请确保您已在 System
钥匙串中安装了 distribution/developer 证书和私钥。此外,您可能需要允许 codesign
和 security
二进制文件访问以前的私钥。这将防止机器人在尝试访问密钥以签署应用程序时卡住。
最近我写了一篇关于 CI 使用 Xcode 服务器和使用 Fastlane 将 IPA 上传到 iTunes Connect 的博客。如果您有兴趣从您的 xcode 机器人上传到 iTunes Connect,您可以参考下面的 link:
https://blog.xmartlabs.com/2016/03/07/ci-with-xcode-server-and-fastlane/