首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >为iOS打包Adobe :达尔文错误不支持

为iOS打包Adobe :达尔文错误不支持
EN

Stack Overflow用户
提问于 2014-04-07 12:39:24
回答 1查看 137关注 0票数 0

我正在尝试将Adobe应用程序打包到一个iOS上。问题是,我总是得到这个错误:

代码语言:javascript
运行
复制
unexpected failure: Functionality not supported on : Darwin
java.lang.UnsupportedOperationException: Functionality not supported on : Darwin
    at com.adobe.air.ipa.AOTCompiler.<init>(AOTCompiler.java:220)
    at com.adobe.air.ipa.GOAOTCompiler.<init>(GOAOTCompiler.java:55)
    at com.adobe.air.ipa.IPAOutputStream.createIosBinary(IPAOutputStream.java:447)
    at com.adobe.air.ipa.IPAOutputStream.finalizeSig(IPAOutputStream.java:860)
    at com.adobe.air.ApplicationPackager.createPackage(ApplicationPackager.java:91)
    at com.adobe.air.ipa.IPAPackager.createPackage(IPAPackager.java:273)
    at com.adobe.air.ADT.parseArgsAndGo(ADT.java:591)
    at com.adobe.air.ADT.run(ADT.java:435)
    at com.adobe.air.ADT.main(ADT.java:485)

首先,当我试图通过仿真器运行时,我遇到了这个错误

代码语言:javascript
运行
复制
adt -package -target ipa-test-interpreter-simulator -storetype pkcs12 -keystore cert.p12 -storepass password myApp.ipa hello-app.xml Main.swf -platformsdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk

在那之后,我想当我用真正的证书把它打包在iPhone上时,事情可能会变得更好。不是的。

代码语言:javascript
运行
复制
adt -package -target ipa-debug -keystore cert.p12 -storetype pkcs12 -storepass password -provisioning-profile iOS_Team_Provisioning_Profile_.mobileprovision HelloWorld.ipa hello-app.xml  Main.swf Default.png

同样的效果。因此,根据堆栈跟踪和我的实验,我认为问题出现在空气编译文件从swf到ipa。我该怎么办?

一些补充信息:

代码语言:javascript
运行
复制
adt -version
13.0.0.76

java -version
openjdk version "1.7.0-b147"
OpenJDK Runtime Environment (build 1.7.0-b147-20111031)
OpenJDK 64-Bit Server VM (build 21.0-b17, mixed mode)

hello-app.xml file contents:
<?xml version="1.0" encoding="utf-8" ?>
<application xmlns="http://ns.adobe.com/air/application/4.0">
    <id>ru.hello.world</id>
    <versionNumber>1.0.1</versionNumber>
    <filename>Hello World</filename>
    <name>Example Co. AIR Hello World</name>
     <description>
        <text xml:lang="en">This is an example.</text>
        <text xml:lang="fr">C'est un exemple.</text>
        <text xml:lang="es">Esto es un ejemplo.</text>
    </description>
    <copyright>Copyright (c) 2010 Example Co.</copyright>
    <initialWindow>
        <title>Hello World</title>
        <content>Main.swf</content>
    </initialWindow>
</application>
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-04-11 09:27:49

问题出在Java上。我使用了open,但是当我将其降级为默认的mac时,问题就解决了。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/22912683

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档