It turns out that a problem with application packaging occurs if you use a new Macbook released after June 2010. To pack the application, follow these steps:
1) Creation and archiving
2) Open Organizer - Archives, find a new archive.
3) Right-click the "Show in Finder" archive
4) Right-click the archive in the search engine to "Show package contents"
5) expand your application (> Products / Applications / YourApp)
6) Right-click your "Show Package Contents" application
7) Delete the _CodeSignature directory
8) Edit Info.plist
a) Change BuildMachineOSBuild to "11A511" b) Save, close
9) Return to the Products / Applications / YourApp directory in the search engine
10) Open Keychain Access.app
a) Find your certificate "3rd Party Mac Developer Application: Your Name" b) double click to inspect it c) Copy the full Common Name "3rd Party Mac Developer Application: Your Name"
11) Open a terminal and enter the following:
codesign -s "<paste your cert common name here>" -fv <drag the archived app from the finder to the terminal window here>
12) check the output:
"...path to app...: replacing invalid existing signature" "...path to app...: signed bundle with Mach-O universal (i386 x86_64)"
13) Close all windows.
14) Open Organizer - Archives in Xcode
15) Confirm ... yep.
16) Send ... yay!
source share