Hi,
I have already developed and published several Air Apps for Mac OSX before. The last one was published on the Mac App Store in July 2015 - everything worked fine back then. This week I've finished another App for OSX using Flash CC 2015 15.0.1.179 + AIR 22.0.0.137 (for Desktop). The App is working perfect on my Mac (OSX 10.11.5) - but in order to submit it to Apple I have to replace the Iconset & entitlements and sign the App again.
Ok...
In order to replace the Iconset & entitlements I always used this Terminal Script (successfully!! :-) ):
cd /Users/essig/Desktop
cp MacProcess/Info.plist EyeFitness.app/Contents/Info.plist
cp MacProcess/Icon.icns EyeFitness.app/Contents/Resources/Icon.icns
chmod -R 777 EyeFitness.app
codesign -f -v -s "3rd Party Mac Developer Application: Jan Essig" EyeFitness.app/Contents/Frameworks/Adobe\ AIR.framework
codesign -f -v -s "3rd Party Mac Developer Application: Jan Essig" EyeFitness.app/Contents/Frameworks/Adobe\ AIR.framework/Versions/1.0
codesign -f -v -s "3rd Party Mac Developer Application: Jan Essig" EyeFitness.app
codesign -f -v -s "3rd Party Mac Developer Application: Jan Essig" --entitlements MacProcess/entitlement.plist EyeFitness.app
codesign --display --entitlements - EyeFitness.app
productbuild --component EyeFitness.app /Applications Eyenstaller.pkg --sign "3rd Party Mac Developer Installer: Jan Essig"
It always worked fine and I was able to submit my App (.pkg File) to Apple via Application loader.
But now I´m getting several Error Messages - code object is not signed at all:
Last login: Tue May 24 11:03:17 on ttys000
Jans-MacBook-Pro:~ essig$ cd /Users/essig/Desktop
Jans-MacBook-Pro:Desktop essig$
Jans-MacBook-Pro:Desktop essig$ cp MacProcess/Info.plist EyeFitness.app/Contents/Info.plist
Jans-MacBook-Pro:Desktop essig$ cp MacProcess/Icon.icns EyeFitness.app/Contents/Resources/Icon.icns
Jans-MacBook-Pro:Desktop essig$ chmod -R 777 EyeFitness.app
Jans-MacBook-Pro:Desktop essig$ codesign -f -v -s "3rd Party Mac Developer Application: Jan Essig" EyeFitness.app/Contents/Frameworks/Adobe\ AIR.framework
EyeFitness.app/Contents/Frameworks/Adobe AIR.framework: code object is not signed at all
In subcomponent: /Users/essig/Desktop/EyeFitness.app/Contents/Frameworks/Adobe AIR.framework/Versions/Current/Adobe AIR_64
Jans-MacBook-Pro:Desktop essig$ codesign -f -v -s "3rd Party Mac Developer Application: Jan Essig" EyeFitness.app/Contents/Frameworks/Adobe\ AIR.framework/Versions/1.0
EyeFitness.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0: code object is not signed at all
In subcomponent: /Users/essig/Desktop/EyeFitness.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR_64
Jans-MacBook-Pro:Desktop essig$ codesign -f -v -s "3rd Party Mac Developer Application: Jan Essig" EyeFitness.app
EyeFitness.app: code object is not signed at all
In subcomponent: /Users/essig/Desktop/EyeFitness.app/Contents/Frameworks/Adobe AIR.framework
Jans-MacBook-Pro:Desktop essig$ codesign -f -v -s "3rd Party Mac Developer Application: Jan Essig" --entitlements MacProcess/entitlement.plist EyeFitness.app
EyeFitness.app: code object is not signed at all
In subcomponent: /Users/essig/Desktop/EyeFitness.app/Contents/Frameworks/Adobe AIR.framework
Jans-MacBook-Pro:Desktop essig$ codesign --display --entitlements - EyeFitness.app
EyeFitness.app: code object is not signed at all
Jans-MacBook-Pro:Desktop essig$ productbuild --component EyeFitness.app /Applications Eyenstaller.pkg --sign "3rd Party Mac Developer Installer: Jan Essig"
productbuild: Adding component at /Users/essig/Desktop/EyeFitness.app
productbuild: Signing product with identity "3rd Party Mac Developer Installer: Jan Essig" from keychain /Users/essig/Library/Keychains/login.keychain
productbuild: Adding certificate "Apple Worldwide Developer Relations Certification Authority"
productbuild: Adding certificate "Apple Root CA"
productbuild: Wrote product to Eyenstaller.pkg
productbuild: Supported OS versions: [10.7, )
Why is this script no longer working?
I've already revoked my old
- Mac Installer Distribution
- Mac App Distribution
- Mac Development certificates on Apple Developer
- I updated the Intermediate Certificates ( Worldwide Developer Relations Certificate Authority & Developer ID Certificate Authority (and deleted the old / expired ones).
- Created a new CertificateSigningRequest.certSigningRequest via Keychain
- Then Created new Mac Installer Distribution, Mac App Distribution & Mac Development certificates and added them to my Keychain.
However - the Terminal Script is not working anmore and I have no idea what the problem is. I'm totally stuck at the moment and hope someone can help me a bit.
Best regards and thank you ion advance
Jan