All of a sudden I can\'t build my project. I get the following compiler error:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.pl
I was getting this error when building for 10.9 an .XIB that was created in XCode 6.4 (10.10).
See this answer. The XIB was calling for 'labelColor' which was introduced in 10.10, and was unknown to 10.9.
Opening the XIB as source kept it from crashing XCode, and permitted me to change instances of 'labelColor' to 'textColor' and the error was resolved.
I just experienced the same thing and none of the other answers here could resolve the issue for me. It turned out to be a duplicate UILabel in the storyboard due to a git merge. Apparently Xcode will crash if two UI elements have the same internal ID.
My method for finding the responsible issue was:
I fixed the error with this command, close the simulator and Xcode:
codesign -vv /A*/Xc* | open -ef
Hope that helps.
I was also facing the same issue in Xcode 8. Deleting the Derived data fixed my issue.
In my case it happened after renaming some namespaces and I solved the same issue going to the projects properties > APPLICATION tab > Default namespace : giving the new correct namespace.
Of Course I changed the namespace also inside the classes, but this will help because will fix all auto-generated files. Clean and build is recommended and eventually close and reopen the solution.
As Logan Geefs mentions above, it appears to be caused by Interface Controller segues (i.e. loops). Deleting the "bad" segues doesn't really solve the navigation problem. What is needed is to place some button actions to [pop controllers] strategically.
Here's the code that worked for me:
- (IBAction)backToStart {
[self popToRootController];
}
- (IBAction)backToPrevious {
[self popController];
}