Xcode 8.1 not run any app and not show simulator and got freeze

Last night I suddenly xcode will stop running my project.

Only one project will run and show the error - XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1

One think I do before is I press "alt+shift+command+k" to clean the build folder for “my project”? in Xcode.

Now I check the simulator list also not showing. I didnt find whats going on.

I working on swift on an iOS application. please help me out

Answered by Built By Blank in 200478022

I did not find the cause of problem but after lots of hit and try now everything is working fine.

The solution I find to show the simulator list back are as following step:-

1.Delete my Xcode by removing it from Applications by move it to trash.

2.Delete /Users/Sushobhit/Library/Developer/CoreSimulator

3.Restart your mac (this step is optional but I personally recommend it).

4.Download latest version(don't download beta version and you can download it from App Store or form Apple developer account in downloads)

5.install them and simulator will be show back.



note - Please comment if you have better solution or find me wrong.

Accepted Answer

I did not find the cause of problem but after lots of hit and try now everything is working fine.

The solution I find to show the simulator list back are as following step:-

1.Delete my Xcode by removing it from Applications by move it to trash.

2.Delete /Users/Sushobhit/Library/Developer/CoreSimulator

3.Restart your mac (this step is optional but I personally recommend it).

4.Download latest version(don't download beta version and you can download it from App Store or form Apple developer account in downloads)

5.install them and simulator will be show back.



note - Please comment if you have better solution or find me wrong.

Xcode 8.1 not run any app and not show simulator and got freeze
 
 
Q