0
我正在使用Adobe Flash Professional CS6將我的應用程序發佈爲iOS應用程序。用Adobe Flash Professional發佈cs6
,我接收的錯誤是:
的屬性或元素包含在應用程序描述符文件中的無效值。 (application.iPhone.InfoAdditions)
我的文件是
<?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>
據我已經去掉了xml文件,使Flash Professional中生成一個新文件,但具有相同的錯誤。
任何建議是有益
UIDeviceFamily是一個數字,而不是一個字符串。我不知道這是否有所作爲。 – borrrden 2012-07-05 23:42:58
從我所見過的所有東西都應該被記錄爲字符串。有一件事我注意到,而我繼續搜索的是 在其他文件是小寫( )這可能是我的問題?如果是這樣,我怎麼停止閃存專業CS6在編譯時添加它。 –
2012-07-06 01:54:14
http://powercoder23.wordpress.com/2012/08/29/error-105-application-iphone-infoadditions-contains-an-invalid-value/請檢查這個鏈接這可能是有幫助的謝謝 Dhiraj – powercoder23 2012-08-29 15:04:46