All, Thank you to those who replied — I really appreciate it. The problem is solved, so I thought I’d pass it on for anyone else that runs into this issue.
I opened a tech support incident with DTS, and received a fairly prompt response from Apple DTS, who directed me to the following resource: https://developer.apple.com/library/mac/qa/qa1884/_index.html <https://developer.apple.com/library/mac/qa/qa1884/_index.html> It is a little ambiguous in the document, but here’s the deal: the problem is not a bug in Xcode, but a reflection of the tightening of security on the Mac (I think another poster said the same). Xcode will no longer create Mac installer packages signed with a Developer ID (which is how you have to sign anything not distributed via the Mac App Store): you can only create a Mac installer package destined for the Mac App Store. Attempting to run an app created and installed this way is designed to crash immediately (which is the behavior we were experiencing). The solution was to export as a Developer ID-signed Mac Application, and then use the productbuild command-line tool to create the installer package. Details are in the page referenced by the URL above. Thanks again for responses, Brad > On Feb 11, 2015, at 10:05 AM, Bradley O'Hearne <br...@bighillsoftware.com> > wrote: > > Hello, > > I am using Xcode 6.1.1 on OS X Yosemite and have exported an archive as a Mac > Installer Package using a Developer ID to sign it. The installer is created > successfully, and when run, the installer executes the installation > successfully. But when I attempt to launch the app, it crashes immediately, > with the following in the crash dump: > > Exception Type: EXC_CRASH (Code Signature Invalid) > Exception Codes: 0x0000000000000000, 0x0000000000000000 > > The problem is somehow with signing, though build settings in Xcode all > follow the documented approach to code signing using the proper Mac Developer > Program certificates. I have no errors or warnings when building the app. I > have no errors or warnings or problems launching and running the app in the > debugger. I also can export the same archive as a Developer ID-signed > Application and it exports, launches, and runs just fine. Additionally, this > is not something new I'm doing -- in previous development cycles (and earlier > in this one) I was able to successfully export as a Mac Installer Package and > run fine -- albeit that was on earlier versions of Xcode (and possibly OS X > too). > > In various other Internet-y places, I have found references to others having > this same problem recently, but none of those had any resolution. A couple of > posters commented that even after several weeks with communicating with Apple > DTS they still hadn't been given or were able to find a resolution. So I am > appealing to the community on the following points: > > Has anyone who has encountered this found a resolution to the problem? > Can anyone confirm this as a legitimate Xcode bug? > Any other suggestions to get around this? (Please note -- for reasons out of > my control, this app has to be distributed as a Developer ID-signed Mac > Installer Package -- we cannot distribute at this time through the Mac App > Store. Perhaps down the road, but not at this time). > > Your help is appreciated. This is a direct show-stopper for us being able to > ship our app to production. > > Thanks, > > Brad _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com