2012-07-05 3 views
0

Je travaille à la publication de mon application en tant qu'application iOS avec Adobe Flash Professional CS6.publication avec Adobe Air dans Flash Professional cs6

L'erreur que je reçois est:

Un attribut ou un élément contient une valeur non valide dans le fichier descripteur d'application. (application.iPhone.InfoAdditions)

mon fichier est

<?xml version="1.0" encoding="UTF-8" standalone="no" ?> 
<application xmlns="http://ns.adobe.com/air/application/3.2"> 
    <id>com.itsgamingplus.itsgood</id> 
    <filename>ItsGoodIpod</filename> 
    <description/> 
    <!-- To localize the description, use the following format for the description  element.<description><text xml:lang="en">English App description goes here</text><text  xml:lang="fr">French App description goes here</text><text xml:lang="ja">Japanese App  description goes here</text></description>--> 
    <name>ItsGoodIpod</name> 
    <!-- To localize the name, use the following format for the name element.<name><text xml:lang="en">English App name goes here</text><text xml:lang="fr">French App name goes here</text><text xml:lang="ja">Japanese App name goes here</text></name>--> 
    <copyright/> 
    <initialWindow> 
    <content>ItsGoodIpod.swf</content> 
    <systemChrome>standard</systemChrome> 
    <transparent>false</transparent> 
    <visible>true</visible> 
    <fullScreen>true</fullScreen> 
    <aspectRatio>landscape</aspectRatio> 
    <renderMode>gpu</renderMode> 
    <autoOrients>false</autoOrients> 
    </initialWindow> 
    <icon> 
    <image512x512>icon1.png</image512x512> 
    <image29x29>icon2.png</image29x29> 
    <image57x57>icon3.png</image57x57> 
    </icon> 
    <iPhone> 
     <InfoAdditions> 
     <![CDATA[<key>UIDeviceFamily</key><Array><string>1</string></Array>]]> 
    </InfoAdditions> 
    <requestedDisplayResolution>standard</requestedDisplayResolution> 
    </iPhone> 
    <customUpdateUI>false</customUpdateUI> 
    <allowBrowserInvocation>false</allowBrowserInvocation> 
    <versionNumber>1.4</versionNumber> 
    <supportedLanguages>en</supportedLanguages> 
</application> 

Je suis allé aussi loin que la suppression du fichier xml et faire générer Flash professionnel un nouveau fichier, mais avec la même erreur.

suggestions sont utiles

+0

UIDeviceFamily est un nombre, pas une chaîne. Je ne sais pas si cela fait une différence ici. – borrrden

+0

De tout ce que j'ai vu, il est censé être noté comme une chaîne. Une chose que j'ai remarqué pendant que je continue à chercher est que les dans d'autres fichiers sont en minuscules () Cela pourrait-il être mon problème? Et si oui, comment puis-je arrêter Flash CS6 professionnel de l'ajouter lors de la compilation. –

+0

http://powercoder23.wordpress.com/2012/08/29/error-105-application-iphone-infoadditions-contains-an-invalid-value/ S'il vous plaît vérifier ce lien cela pourrait être utile Merci Dhiraj – powercoder23

Répondre

0

Le problème est que le nœud Array est sensible à la casse. Il doit être en minuscules ou vous obtiendrez le message d'erreur "valeur invalide". Cela est correct:

<![CDATA[<key>UIDeviceFamily</key><array><string>1</string></array>]]> 
Questions connexes