ios – Xcode Bot升级到Xcode 5.1之后失败
2020年01月23日
作者:佚名
所以我有几个
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 – Xcode Bot升级到Xcode 5.1之后失败全部内容,希望文章能够帮你解决ios – Xcode Bot升级到Xcode 5.1之后失败所遇到的程序开发问题。
如果觉得来客网网站内容还不错,欢迎将来客网网站推荐给程序员好友。