I have an app project for OSX that crashes whenever I try to launch it under Xcode. The app builds without issues, and I can run it from Finder without problems.
This happens both under the last Xcode 6 build and with Xcode 7 running El Capitan.
I have an app project for OSX that crashes whenever I try to launch it under Xcode. The app builds without issues, and I can run it from Finder without problems.
This happens both under the last Xcode 6 build and with Xcode 7 running El Capitan.
What does the backtrace of the crash look like?
Share and Enjoy
—
Quinn "The Eskimo!"
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"
Quite often, it wouldn't give me a backtrace. I would get a message telling me that Xcode was corrupted and I should re-download. On doing this, I'd still get the same crash and same error.
However - thinking it was somerthing to do with El Capitan and Xcode 7, I downgraded to Mavericks and Xcode 6.x.x only to get the same crash. But this time, I got a more meaningful trace and which pointed to the SDL2.framework being incorrectly signed. I fixed the codesign on the framework, ran Xcode again and everything worked (re-installed El Capitan and currently downloading Xcode 7 again).
I'd suggest Xcode should give a meaningful error rather than just bailing if a framework has been incorrectly signed.
Glad to hear you got things sorted.
I'd suggest Xcode should give a meaningful error rather than just bailing if a framework has been incorrectly signed.
No one is going to argue with that. Please file a bug describing your experience. If you can include a project that the Xcode engineers can use to replicate the problem, that’d be most helpful.
Please post your bug number, just for the record.
Share and Enjoy
—
Quinn "The Eskimo!"
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"