With the release of Air 2.6 today I decided to venture back into the world of Air for IOS development just to see how good the improvements were. Using the Air SDK and my Ant scripts I ran into an issue when trying to compile my swf for IOS. The compiler was returning the following error...
Root content FlashIOS.swf is missing from package
This was an error related to the location of my main swf as I had described it within my descriptor file. After a little browsing of the net and various trial and error it was merely a simple case of the descriptor file takes the relative path from the project root. For example if you are using the standard flash builder template as I was where all files are placed into the bin-debug file, it is necessary to label the path file as shown below.
This is just a small issue but never seemed to be clearly addressed in my searches - you would presume the compiler would run from the directory set in the compile script but this wasn't to be.