Anyone else get this? I've had Xcode working before, did a reinstall, and all of my certificates/provisioning is fine. Anyone have any suggestions?
Im not sure either .. but im now getting the same error. Never had an issue previously.
Ti Developer / Ti Studio Xcode compiled … Run in Xcode 3 and xCode 4.. all same result.
Anyone with ideas?
I just got this error, anyone find a fix to it? I can run in the emulator. But will not run on device
Xcode will show you what the problem is, usually. When Xcode fails on build, you can click the exclamation point in a red circle and it will take you to the log. In a line or two above the "failed with exit code 2" will give you your answer.
In my experience, the most common culprit is a PNGCrush error, where PNGCrush thinks one of your images is corrupted. This is easily fixed by opening the image file in an editor and resaving it (you don't even have to do anything, just tell the editor to "Save As…" and select the file and confirm the overwrite).