簡體   English   中英

Xcode Bot升級到Xcode 5.1后失敗

[英]Xcode Bot Failing after upgrading to 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模擬器。

非常符合邏輯,謝謝Apple ...

我在我的Xcode構建服務器上彈出了同樣的錯誤(mac mini運行OS X Yosemite並使用Xcode 6.1.1構建)。 由於這個原因,構建失敗了。

事實證明我有一個iPhone插入mac mini,“不信任”它所連接的mac!

解決方案:將其插入,重新啟動集成,成功!

你認為這樣一個精心設計的系統應該更聰明地解決這個微不足道的問題......

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM