Open MMPGreg opened 3 months ago
I can't think of any reason why adt -sign
would even be looking at the application descriptor file ..! So that's a little curious... Are you able to do this whilst running the AIR SDK Manager on its "Troubleshooting" page, to see what is output there?
thanks
I don't know if this shows any more information than the error I'd already gotten. Unless an update to ADT is needed?
ADT 50.2.3.6 called with: -sign -storetype KeychainStore -alias Developer ID <DEVELOPER> (TEAM) -target bundle .../....app
Description validation error: .../....app/Contents/Resources/META-INF/AIR/application.xml: error 102: Invalid namespace http://ns.adobe.com/air/application/51.0
Yes, it appears I did need the latest version of ADT.
The issue was that my AIR_HOME path in my zsh config file needs to be updated manually whenever there is a new SDK version, as I use a new directory every time I pulled the latest SDK. It was still pointing to a previous 50.2 version directory.
I know there have been other namespace issues reported with 51.0 - I'm on the latest 51.0.1.5 - related to BUILDING apps, but my issue is SIGNING it for distribution.
I have no problem building or running my AIR/Flex Mac app from IntelliJ, but I am running into an error code signing for distribution with my shell script.
My zsh Terminal traces out: .....app/Contents/Resources/META-INF/AIR/application.xml: error 102: Invalid namespace http://ns.adobe.com/air/application/51.0 Code signing verification failed! ....app: invalid Info.plist (plist or signature have been modified) In architecture: arm64
The only difference between a successful, and unsuccessful code sign appears to be the namespace used in application.xml. If I manually change "51.0" back to "50.2" in the compiled app, the code signing completes successfully - though, understandably, the app does not launch.
I had no problems prior building and signing with any 50.2.x.x SDK.
My shell script includes these lines for signing the app, which currently result in the "verification failed" output: