AIR for iOS (kan ikke få appen over)

Forums: 

Hej Karsten,

Jeg er lidt udfordret når det kommer til at få sin "flash" app over på sin iPhone.Når jeg har udfyldt alle felterne (General, Deployment, Icons) så for jeg denne fejl ved Publish:

"Unexpected or unknown element or attribute in the application descriptor file./Users/myusername/Desktop/Demo/Demo-app.xml(40): error 103: application.version is an unexpected element/attribute  application.version is an unexpected element/attribute" 

Jeg har prøvet at fjerne elementer og disligne, men jeg kan ikke få det til at virke? Bruger CS5.5  / David

Der er en lille Quirk der, som jeg mener er igang med at blive rettet. Du kan løse den således:

 

  1. Create an AIR For iOS FLA file.
  2. Save the file.
  3. Test the Movie (Control > Test Movie).
  4. Browse to the file location and open the application descriptor file (XML file).
  5. Switch back to Flash and open the AIR publish settings dialog (File > AIR For iOS Settings).
  6. Change the version number to anything you want. For example, change it to 1.2.
  7. Save the file and test the movie (Control > Test Movie).
  8. Switch back to the application descriptor file.
  9. Find any instance of the <version> tag (Edit > Find And Replace) and delete them all.
  10. Update the <versionNumber> tag in the XML file by adding the new version you want as three-digit number. For example: 

     <versionNumber>1.2.0</versionNumber> 
     
  11. Save and publish the file.

Via doc90916