airsdk / apm

AIR Package Manager
https://repository.airsdk.dev/
MIT License
61 stars 10 forks source link

How to get proper namespace when generating app descriptor? #210

Open mrfrasier opened 1 month ago

mrfrasier commented 1 month ago

When I call "apm -b production generate app-descriptor", apm always resets namespace to 50.2, although I'm using AIR 51.1.1.5 to generate the SWF. As such, when I go to compile, I get an error about the swf being higher than the namespace in the xml file.

Unsure where this is getting set and how to change it? This is on Windows 11 (I generate app descriptor and everything there, then go over to Mac to compile the iOS release)

marchbold commented 1 month ago

apm will be using a version of AIR on your machine (probably what the environment variable AIR_HOME points to) and this will be the namespace that gets inserted automatically I believe.

Check what you have set that to and update it to match the version for your app.