سؤال

I used XCode to Archive my signed app. No issue regarding build, sandbox, certificat, ...

You can see bellow the details of the signed app :

iMac-de-Admin:~ admin$ codesign -dvvv /Users/admin/Downloads/Alphonso.app 
Executable=/Users/admin/Downloads/Alphonso.app/Contents/MacOS/Alphonso
Identifier=com.Alphonso-soft.Alphonso
Format=bundle with Mach-O thin (x86_64)
CodeDirectory v=20100 size=2995 flags=0x0(none) hashes=141+5 location=embedded
Hash type=sha1 size=20
CDHash=82820d57a3c4b9d945177df5983eed3eb84e9580
Signature size=4340
Authority=3rd Party Mac Developer Application: John Doe
Authority=Apple Worldwide Developer Relations Certification Authority
Authority=Apple Root CA
Signed Time=8 févr. 2013 17:07:53
Info.plist entries=20
Sealed Resources rules=4 files=77
Internal requirements count=1 size=196
iMac-de-Admin:~ admin$

The app seems to be signed correctly but when i run the app i get the following Warning/Error :

“Alphonso” can’t be opened because it is from an unidentified developer.

Is it normal ?

Thanks

هل كانت مفيدة؟

المحلول

The "3rd Party ..." certificates are for submitting to the App Store.

Use "Developer ID ..." certificates solve the issue.

Enter the following command in Terminal by replacing TrackMix.app with the path to your application.

$ sudo spctl -a -v TrackMix.app

If the application is correctly signed, text similar to the following appears in Terminal:

./TrackMix.app: accepted
source=Developer ID
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top