我正在使用Cocoapods和KIF在Xcode服务器上运行Continuous Integration.我已经成功地为一个项目设置了这个,以报告每个提交.我现在正在使用第二个项目并得到错误:
Bot Issue: warning. Build Service Error.
Issue: archive at path '/Library/Developer/XcodeServer/Integrations/Integration-81d42936b22a04037fd4aebed1074e5e/Archive.xcarchive' is malformed.
Integration Number: 1.
Description: archive at path '/Library/Developer/XcodeServer/Integrations/Integration-81d42936b22a04037fd4aebed1074e5e/Archive.xcarchive' is malformed.
Run Code Online (Sandbox Code Playgroud)
使用Xcode在Xcode服务器上运行时测试通过.我尝试通过Xcode下载配置文件等,但这没有帮助.我删除了Bot并创建了一个新的但是也没有帮助.
欢迎任何帮助
我的集成成功但存档每次都失败,并出现以下警告 - :
**Warning: Build Service Error:** Creating archive failed: xcodebuild exited with status 65.
**Warning: Build Service Error:** Skipping exporting from archive because creating the archive failed.
Run Code Online (Sandbox Code Playgroud) xcode continuous-integration xcode-scheme xcode-bots xcode-server
我正在使用CocoaPods为项目设置CI.我在Mac上本地设置了Xcode服务器.Pod目录不受源代码控制,所以放
pod install
Run Code Online (Sandbox Code Playgroud)
在我的Bot的'Before Integration'脚本中,得到'pod:command not found'错误.
我当然在我的机器上安装了pod,如何让它对服务器可见?
我在 M1 mac mini 上配置了 Xcode 服务器。由于一些问题超出了问题的范围,我必须运行服务器,以便它在 Rosetta 下构建项目。
然而,通过在 Xcode“获取信息”视图或 Xcode Server Build 视图中勾选“在 Rosetta 下运行”似乎不起作用,这也得到了显示“Apple”架构的活动监视器的证实。
Xcode 13.2.1 macOS Big Sur 11.6.3
关于如何解决这个问题有什么想法吗?
我设置了 OS X Server/Xcode 服务器并为 CI 创建了一个 BOT。除了由于存档失败而无法创建可安装的 product/archive.ipa 之外,一切似乎都很好。这是错误:
构建服务问题:
Bot1 的 Bot 问题(构建服务警告)在 Xcode 中打开的 Bot1 的集成 #1:xcbot://(null)/botID/2a1dfcbd053b728e6dfced564601114f/integrationID/2a1dfcbd053b728e6dfced5646011de6
断言:找不到匹配的配置文件:您的构建设置指定了一个 UUID 为“013173ad-b54a-4a1d-8a65-xxxxxxxxxxxx”的配置文件,但是,没有找到这样的配置文件。文件:(空):(空)
附上此集成的完整日志。
在同一台服务器机器上,我可以使用选定的 Xcode 手动创建 archive/xxx.ipa 文件没有问题。供应文件显然在服务器机器上。
感谢任何建议或指针。
当我尝试在Xcode9中使用Xcode服务器集成持续集成时。我可以成功创建BOT并尝试进行集成,然后总会收到类似“声明:exportArchive:“ Test.app”需要配置文件”的错误。
如何解决这个问题?
xcode-server ×7
ios ×3
xcode ×2
xcode-bots ×2
bots ×1
cocoapods ×1
iphone ×1
swift ×1
testing ×1
xcode-scheme ×1
xcode7 ×1
xcodebuild ×1