Reputation: 3042
Initially I thought it was Apple's fault. My Xcode 5 dp crashes every time when I tried to type any code.
Upvotes: 3
Views: 1927
Reputation: 10313
In my case the problem was in user defined code snippets, located at ~/Library/Developer/Xcode/UserData/CodeSnippets. Two different snippets had same Completion Shortcut.
Upvotes: 0
Reputation: 605
In Xcode 5 go to Preferences > Source Control > Uncheck the Enable Source control
Upvotes: 4
Reputation: 514
I had same problem. If you go to XCode -> Preferences -> Source Control and turn OFF Source Control everything works like a charm and there are no more crashes!!! :) Hope this help ;)
Upvotes: 0
Reputation: 8669
Additionally you should also remove any plug-ins that are located at ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/ If all fails, you might have to uninstall Xcode
Upvotes: 0
Reputation: 3432
cd ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/
cd ~/Library/Developer/Xcode/Third-Party\ Plug-ins/
Upvotes: 5
Reputation: 220
Great Post. For my case, it is another type of xcode plugin name called "lin" which will do the similar thing. After the plugin is moved to trash, works fine.
Upvotes: 0
Reputation: 3042
This problem has something to do with auto completion. I remembered I installed a plugin KSImageNamed. It will auto complete your image name when typing -[UIImage imageNamed:]
. And most importantly, I saw its name in crash report.
Solution: Go to ~/Library/Application Support/Developer/Shared/Xcode
and delete KSImageNamed.xcplugin
.
Upvotes: 3