我有几个 Xcode 机器人已经设置并每晚运行,它们已经成功编译了几周。然而,未经我知情,Xcode 服务器自动安装了 Xcode 5.1 更新,现在在 Xcode 构建控制台中,我遇到了以下日志错误...
2014-03-14 03:02:16.022 xcodebuild[37984:100b] [MT] DVTDeviceSearch: Searching for device with type 'iOS Simulator', options: {
OS = "7.0";
name = "iPhone Retina (4-inch)";
}, genericOnly: NO allowMultiple:NO timeout:0.000000
2014-03-14 03:03:16.148 xcodebuild[37984:100b] [MT] DVTDeviceSearch: No devices located: Error Domain=DVTDeviceErrorDomain Code=6 "The requested device could not be found because no available devices matched the request." UserInfo=0x7ff0e5f481b0 {NSLocalizedDescription=The requested device could not be found because no available devices matched the request.}.
xcodebuild: error: Was unable to find a destination matching the arguments to the -destination flag:
The requested device could not be found because no available devices matched the request.
看起来模拟器仍在尝试访问无法找到的iOS 7.0模拟器。测试设置已设置为使用服务器上“所有可用模拟器”。
有什么想法吗?
更新1 - 在我本地开发机上运行Xcode 5.1和iOS 7.1 SDK,项目构建良好。
更新2 - 如果手动选择仅iOS 7.1模拟器,则构建完成。