ios – Xcode Bot升级到Xcode 5.1之后失败

所以我有几个 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模拟器,构建完成.

解决方法

事实证明,在将Xcode自动更新为5.1时,它会卸载iOS 7.0模拟器并将其替换为iOS 7.1模拟器.它不认为更新Xcode服务器上的构建设置.

所以要解决这个问题,你必须在你的服务器上手动打开Xcode,然后提示你安装几件你需要做的事情.然后转到xcode首选项>下载,您可以重新安装iOS 7.0模拟器.

真的合乎逻辑,谢谢苹果

相关文章

当我们远离最新的 iOS 16 更新版本时,我们听到了困扰 Apple...
欧版/美版 特别说一下,美版选错了 可能会永久丧失4G,不过只...
一般在接外包的时候, 通常第三方需要安装你的app进行测...
前言为了让更多的人永远记住12月13日,各大厂都在这一天将应...