Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 7 crashes while it is creating new file

I have "El Capitan GM" and I've updated my Xcode to Xcode 7 GM. Now I can't create new classes, Xcode crashes with message:

UNCAUGHT EXCEPTION (NSInvalidArgumentException): -[NSOpenPanel setAccessoryViewDisclosed:]: unrecognized selector sent to instance 0x7f940cf89af0

Is someone had faced with this problem? Is someone had solved it?

UPD

Now I'm using AppCode to create new files and Xcode to write a code.

like image 289
Andrew Romanov Avatar asked Oct 19 '22 02:10

Andrew Romanov


1 Answers

This also happened to me.

I updated my system to El Capitan GM (previously, I updated from Yosemite to El Capitan Beta versions),

updated Xcode from 6.5 to 7.0.

When I create any kind of project, It keeps crashing when I click 'Next' button after filling project name, etc.

I tried to clean preferences, tried to delete Xcode 7.0 and reinstall it. None of these solutions work.

My solution is:

Restart my My Macbook Air, and enter Recovery Mode,

and choose Reinstall Mac OS X.

Wish this helps you.

like image 51
Aldrich Huang Avatar answered Nov 15 '22 07:11

Aldrich Huang