【发布时间】:2014-01-01 16:22:26
【问题描述】:
我在尝试使用 Xcode 机器人集成单元测试时遇到此错误:
Integration failed. Unexpected error while building. See the integration's logs for more details.
我无法理解日志。他们几乎吐出了系统的任何错误,无论是否相关。
我使用来自 Github 的远程存储库,目前仅在 1 台设备上进行测试。我正在 .gitignore-ing 来自 Xcode 的标准内容。
这是我能从日志中找到的最相关的消息:
'2014-01-01 10:03:04.195 xcodebuild[19150:100b] Error opening /var/teamsserver/Library/Logs/iOS Simulator/iOS Simulator.log'
Symbols directory specified does not exist at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKitBase.framework/Resources/sync_ddi line 17.
xcodebuild: error: No destinations were specified with the -destination flag which were valid for the specified scheme 'MyTestsScheme'.
最后一个报告的是第三个。似乎也是最直接相关的。有什么想法吗?
【问题讨论】:
-
你有没有试过配置只包含运行脚本的聚合目标?我已经在 OS X Server 上使用共享方案配置了聚合目标,但这确实会产生与您描述的相同的错误。我尝试了以下答案,但没有一个成功。
标签: ios objective-c swift xcode osx-server