Xcode crashing on a specific project
To fix this problem:
open a Finder window and navigate to your project right-click on the .xcodeproj file (it’s a package actually) select Show Package Contents a new window appears delete a folder called xcuserdata Now open your project again in Xcode and it should work. Your workspace will be reset, bringing a very small amount of happiness and tranquility back into your life.
Do one thing, clear off/delete all the derived data for Xcode and then open your project. That should fix the issue.
Also to report a bug to Apple you can simply go to https://bugreporter.apple.com/ and login with apple credentials and and they'd get back to you in like couple of days.
Also for derived data do the following:
You can go to File > Workspace Settings
if you are in a workspace environment or File > Project Settings
for a regular project environment.
Then click over the little grey arrow under Derived data section and select your project folder to delete it.
Nothing work for me. I delete my .xcworkspace
and regenerate .xcworkspace
by pod install
and work for me.