2014-12-18 208 views
0

我一直試圖通過Xcode 6.1.1運行應用程序,但每當我嘗試它時,iOS模擬器都打開一個黑盒子,然後當我退出時,出現錯誤:無法在模擬器中使用Xcode運行應用程序

Unable to run app in Simulator 
An error was encountered while running (Domain = com.apple.CoreSimulator.SimError, Code = 146) 

令人討厭的部分是在創建新項目(使用單個視圖應用程序)後,我沒有更改過任何代碼。我唯一改變的是Main.storyboard中的一些設置和圖片。 (這些更改只是將圖像添加到視圖控制器)。

我試過重新啓動,重置內容和設置,並在Xcode中清理。我應該做什麼的任何想法?

+0

相關(任何人都可能是重複的,因爲我們不知道版本是什麼):[無法在模擬器中運行應用程序](http://stackoverflow.com/q/26396166/608639),[無法在Simulator XCode 6.0中運行應用程序](http://stackoverflow.com/q/25818410/608639),[無法在模擬器中運行應用程序:Xcode beta 6 iOS 8](http://stackoverflow.com/q/24033417/ 608639),[無法在模擬器Xcode 6中運行應用程序](http://stackoverflow.com/q/25608943/608639),... – jww 2014-12-18 23:27:21

+0

由於您已經嘗試了所有這些,請嘗試刪除「派生數據」http:/ /stackoverflow.com/a/25609137/2143387 – Pahnev 2014-12-18 23:32:03

+0

仍然無法正常工作,得到相同的錯誤 – pablaber 2014-12-18 23:41:40

回答

1

this answer,請嘗試以下Xcode的菜單項(根據產品):

  1. 清潔

  2. 乾淨生成文件夾

你也可以去幫助,並開始打字搜索欄中的「清理」。

相關問題