I can't create new projects in Xcode 5. This is for any type of project, and the IDE crashes without any error messages the moment I hit Create button for the new project after filling up the project information. I don't even know where to start looking for to fix this.
I think I created one new project last week, had no issues up until today. One clue might be, this last time I checked the box saying "Create git repository on...", right on top of the Create button in the Create new project section in Xcode. Doesn't matter if I uncheck that now, and from Xcode preferences, disabling source control doesn't help either.
I deleted the plist file in preferences folder, that didn't help. I deleted xcode, and reinstalled it from the app store, that didn't help either.
I can jump into existing projects, build them and also run them in simulators successfuly.
Anyone encountered a similar issue and what could be the fix?
EDIT: I was able to get an error message for one of the project templates, for empty projects this error is produced;
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
Sending ok: to <NSOpenPanel: 0x7fc1a40730b0> from <NSButton: 0x7fc1a40c27e0>
ProductBuildVersion: 5A1413
ASSERTION FAILURE in /SourceCache/IDEKit/IDEKit-3591/Framework/Classes/Templates/IDETemplateInstantiationContext.m:145
Details: Assertion failed: [instantiatedItems count] == 1
Try deleting Xcode's preferences file (from common and user library both) and restart Xcode -
/Library/Preferences
com.apple.dt.Xcode
/Users/YourUsername/Library/Preferences ( I have following 3 files related to Xcode there )
com.apple.dt.Xcode.plist
com.apple.dt.Xcode.LSSharedFileList.plist
com.apple.dt.Xcode.plist.BoGEJ0T
Couple of other troubleshootings that I would suggest are -
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With