【问题标题】:publishing with adobe air in flash professional cs6在 Flash Professional CS6 中使用 adobe air 发布
【发布时间】:2012-07-05 23:37:10
【问题描述】:

我正在使用 Adob​​e Flash Professional CS6 将我的应用程序发布为 iOS 应用程序。

我收到的错误是:

属性或元素在应用程序描述符文件中包含无效值。 (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 专业版生成了一个新文件,但出现了同样的错误。

任何建议都有帮助

【问题讨论】:

  • UIDeviceFamily 是一个数字,而不是一个字符串。我不知道这是否会有所不同。
  • 从我所看到的一切来看,它应该被记录为字符串。我在继续搜索时注意到的一件事是其他文件中的 是小写的 () 这可能是我的问题吗?如果是这样,我该如何阻止 Flash Professional CS6 在编译时添加它。
  • powercoder23.wordpress.com/2012/08/29/… 请检查此链接,这可能会有所帮助谢谢 Dhiraj

标签: ios air adobe publishing


【解决方案1】:

问题在于 Array 节点区分大小写。它必须小写,否则您将收到“无效值”错误消息。这是正确的:

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-05-12
    • 2012-07-04
    • 2013-07-10
    • 1970-01-01
    • 2018-05-12
    • 2013-08-11
    相关资源
    最近更新 更多