Building a Mac App Store App (Sept 2013)
Trying once again to publish something to the Mac App Store. I know, I know, there are a lot of archived posts about this, and links to bloggers (including myself) who spell out the steps. But all of those are old and it looks like between new versions of AIR and XCode, things change monthly.
Using the latest XCode (5) and AIR 3.9.x, all previous instructions seem to be outdated.
The first problem I run into is when trying to codesign. I get this dreaded error:
"cannot find code object on disk"
A Google search turns up lots of things about this, all in the context of other tools, older versions of XCode and iOS development, not Mac.
Most say a quick assignment of CODESIGN_ALLOCATE will fix it, but no.
The details: publishing from Flash CS6 to AIR 3.9.1.1080 for Desktop, Mac. Using Mountain Lion. App works fine. Using this command:
codesign -f -s -v MYCERTIFICATE_NAME PATH_TO_APP
I tried this first, too, because some places suggest you need to sign the internal code first. Same result:
codesign -f -s -v MYCERTIFICATE_NAME PATH_TO_APP/Users/rosenz/Documents/cmProjects/iPhone\ Flash\ Games\ HD/Word\ Spy/Mac\ App/WordSpy.app/Contents/Frameworks/Adobe\ AIR.framework/Versions/1.0/Resources/AdobeCP15.plugin
Any ideas?
