2014-10-16 25 views
8

我得到的錯誤是這樣的:xcodebuild聯編無法連接到模擬器

2014-10-16 13:14:50.996 xcodebuild[6775:1007] [MT] iPhoneSimulator: Unable to connect to "com.apple.instruments.deviceservice.lockdown" (Error Domain=com.apple.CoreSimulator.SimError Code=146 "Unable to lookup in current state: Shutdown" UserInfo=0x7fabd4043b30 {NSLocalizedDescription=Unable to lookup in current state: Shutdown}) 

我使用的Xcode 6.0.1,我試圖通過詹金斯運行我的測試。我只從命令行遇到這個問題:在Xcode中運行測試很好。

我試圖刪除的DerivedData內容,卸載並重新安裝的Xcode,並重新啓動機器 - 似乎沒有任何幫助。

+0

你解決這個問題? – Dmitry 2014-11-06 10:28:35

+0

是的,沒有。我還看到他們偶爾會,但我認爲他們實際上不是一個破問題:我想我的詹金斯建立了失敗,因爲我還沒有升級到版本ocunit2junit'的'支持的Xcode 6.一旦我做到了,我的構建完成。 – pr1001 2014-11-06 13:35:46

+0

我怎麼沒發現你運行測試建立的Xcode 6.任何更新? – dollar2048 2014-12-10 14:33:00

回答

0

我有同樣的問題,並殺死模擬器運行前xcodebuild聯編幫助。

killall -9 「iPhone模擬器」

+1

謝謝,但這似乎對我沒有幫助。 – pr1001 2014-10-20 22:23:34

+1

這也沒有幫助我。 – bobics 2015-01-16 22:38:57

相關問題