Rob*_*way 4 xcode objective-c osx-server ios swift
我试图使用Xcode机器人集成进行单元测试时遇到此错误:
Integration failed. Unexpected error while building. See the integration's logs for more details.
我无法理解日志.他们几乎吐出了系统的任何错误,无论是否相关.
我使用来自Github的远程存储库,目前只在一台设备上进行测试.我是.来自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'.
报道的最后一个是第三个.似乎也是最直接相关的.有任何想法吗?
我发现问题是由于我的Scheme配置为仅测试而引起的.我通过转到Edit Scheme,选择"Run",然后将Executable从'none'切换到我的.app文件来解决问题.