我有一个Flex web项目和它的编译版本(sample.swf),通过使用这个swf文件,我想通过以下命令使用Adobe Developer Tool命令行打包一个ios应用程序。
adt -package -target ipa-ad-hoc -keystore ..\cer\Cert.p12 -storetype pkcs12 -provisioning-profile ..\cer\DEMO.mobileprovision ..\bin\sample.ipa sample-app.xml sample.swf这个命令创建了一个ipa包,但是当我在我的ipad上安装ios应用程序时,应用程序只显示背景色而不显示内容。
下面是我的描述器文件的代码:
<application xmlns="http://ns.adobe.com/air/application/3.9">
<id>com.mytech.demo</id>
<filename>sample</filename>
<name>sample</name>
<versionNumber>1.1.0</versionNumber>
<initialWindow>
<content>sample.swf</content>
<systemChrome>none</systemChrome>
<transparent>true</transparent>
<renderMode>gpu</renderMode>
<autoOrients>true</autoOrients>
<fullScreen>true</fullScreen>
<visible>true</visible>
</initialWindow>
<!-- iOS specific capabilities -->
<iPhone>
<InfoAdditions>
<![CDATA[
<key>UIDeviceFamily</key>
<array>
<string>1</string>
<string>2</string>
</array>
<key>UIStatusBarStyle</key>
<string>UIStatusBarStyleBlackOpaque</string>
<key>UIRequiresPersistentWiFi</key>
<string>No</string>
]]>
</InfoAdditions>
</iPhone>
</application>发布于 2013-12-06 07:23:10
它很可能抛出了一个RTE,结果你在屏幕上看不到任何东西。您是否尝试过将其连接到调试器并遍历代码?
https://stackoverflow.com/questions/20375006
复制相似问题