Xcode Server Bot集成无法以断言失败导出存档:exportArchive:ipatool失败,出现异常 [英] Xcode Server Bot integration fails to export archive with Assertion fail: exportArchive: ipatool failed with an exception

查看:265
本文介绍了Xcode Server Bot集成无法以断言失败导出存档:exportArchive:ipatool失败,出现异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用Xcode 7.2和Server 5.0.15的构建服务器设置,因此我们可以使用CI.我能够创建一个创建存档的Xcode Bot,但是它无法完成最后一步,即将ipa存档导出到服务器,以便可以通过临时构建进行下载.

I have a build server setup with Xcode 7.2 and Server 5.0.15 so we can have CI. I'm able to create an Xcode Bot that creates an archive, but it's not able to finish the last step, which is exporting the ipa archive to the Server so it can be downloaded via ad hoc builds.

我能够从本地计算机创建档案,但是每当我使用Distribution作为方案运行构建机器人时,都会出现此错误...

I'm able to create an archive from a local machine, but whenever I run a build bot using Distribution as the scheme, I get this error...

Bot Issue for TEST-BUILD-BOT-3 (build service warning)
Integration #8 of TEST-BUILD-BOT-3
Open in Xcode: xcbot://(null)/botID/fa5f2ef869edbde2181109e01843e862/integrationID/fa5f2ef869edbde2181109e01847dbb0

Assertion: exportArchive: ipatool failed with an exception: #<Errno::EEXIST: File exists - /var/folders/3x/8t3j9vnj48530fxd4g4djp14000087/T/ipatool20160318-45875-5xq2zz/MachOs/iphoneos/armv7/(dylibs)/libswiftContacts.dylib>
File: (null):(null)

Full logs for this integration are attached.

一方面,我不确定完整日志的附加位置(此错误显示在Xcode构建bot窗口中).

For one thing, I'm not sure where the full logs are attached (this error is shown in the Xcode build bot window).

有关我的项目的一些信息:

Some information on my project:

  • 该项目由一个具有三个扩展程序(共享照片,共享野生动物园和观看)的应用组成.
  • 我正在将Cocoapods与一些快速框架一起使用,所以我正在使用use_frameworks!我的Podfile中的关键字.

我尝试了以下操作:

  • 确保所有目标(包括吊舱)都使用分发证书.
  • 尝试不带位码.

要解决此问题,最糟糕的部分是每次我要测试所做的某些更改时,构建bot都会花费20-30分钟.

The worst part about trying to fix this issue is that the build bot takes 20-30 minutes each time I want to test some changes I made.

任何建议将不胜感激!

推荐答案

在watchapp和watchapp扩展目标中,我遇到了相同的错误,我在Build Settings(构建设置)下更改了设置

I had the same error, in the watchapp and watchapp extension targets, i changed the setting, under Build Settings

Embedded Content Contains Swift Code   No

错误消失了

我从苹果中找到了这篇技术文章,内容如下:嵌入式内容需要设置为否",以防止添加多个快速库副本.我解释说,作为监视目标将嵌入内容(不确定那是否意味着它们)

I found this technical post from apple that says any embedded content needs to be set to No to prevent multiple copies of the swift library being added. I interpreted that as a watch target would be embedded content, (not sure if thats what they meant)

这篇关于Xcode Server Bot集成无法以断言失败导出存档:exportArchive:ipatool失败,出现异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆