【问题标题】:XCode-bot build failed on physical devicesXCode-bot 在物理设备上构建失败
【发布时间】:2016-09-08 14:44:40
【问题描述】:

今天我第一次将真实设备连接到我的 XCode 服务器(Xcode 7.3.1,iOS 9.3.4),这就是我得到的:

xcodebuild: error: Failed to build workspace xxxxxxxx with scheme xxxxxxxx.  
Reason: Logic Testing Unavailable

我的机器人有一个调试模式和一些单元和 UI 测试,如果我分离 iphone,一切都在模拟器上运行良好。

有人遇到过这个问题吗?你找到解决办法了吗?

【问题讨论】:

  • 你的手机有网络连接吗?
  • @Mr.UB 是的,设备实际上是通过互联网连接到 WIFI
  • @ClémentRoulland,你发现这个问题了吗?
  • @user2924482 我的解决方案就在下面

标签: ios swift continuous-integration xcode-bots xcode-server


【解决方案1】:

物理设备只能运行嵌入在 App 中的目标。 要处理此错误,您应该检查Allow testing Host Application APIs 并在测试目标General 选项卡中选择您的应用

【讨论】:

  • 如果这回答了您的问题,请将其标记为答案。即使您回答了自己的问题。
  • 对我不起作用,我有 Allow testing Host Application APIs 仍然是问题
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2012-07-08
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多