|
说明我的证书选择和打包步骤基本无误,但3.2打出的IPA包无法运行在IOS 11上,于是我又下载了最新的3.8尝鲜版,问题如下:
-workspace,KiaoTimeSwitch.xcworkspace,-scheme,KiaoTimeSwitch,-configuration,Debug,-destination,
generic/platform=iOS,-archivePath,KiaoTimeSwitch.xcarchive,archive,
CONFIGURATION_BUILD_DIR=/Users/x5/Desktop/WeX5_3.8_pre-mac/model/Native/KiaoTimeSwitch/build/src/platforms/ios/build/device,
SHARED_PRECOMPS_DIR=/Users/x5/Desktop/WeX5_3.8_pre-mac/model/Native/KiaoTimeSwitch/build/src/platforms/ios/build/sharedpch
****ERROR****: 子任务 "exec" 执行失败。
****ERROR****: 任务 "buildIOS" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: exec returned: 1
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
/var/folders/gj/xjngvx493vg4y4njyc8w_vr00000gn/T/883ae904-c4e5-4f83-a6e4-c765be97ac2c/pack.xml:122: exec returned: 1
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:643)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:495)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
============================================================
我也曾在3.7版本下打包过,出现如下错误 :
更新工程信息:
Please run npm install from this directory:
/Volumes/X5/WeX5/tools/cordova
****ERROR****: 子任务 "UpdateSource" 执行失败。
****ERROR****: 任务 "updateProject" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: /var/folders/gj/xjngvx493vg4y4njyc8w_vr00000gn/T/42e3c101-b6d5-496c-97d7-cc0bd20bbc3d/genSource.xml:103: UpdateSource returned: 2
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
/var/folders/gj/xjngvx493vg4y4njyc8w_vr00000gn/T/42e3c101-b6d5-496c-97d7-cc0bd20bbc3d/genSource.xml:103: /var/folders/gj/xjngvx493vg4y4njyc8w_vr00000gn/T/42e3c101-b6d5-496c-97d7-cc0bd20bbc3d/genSource.xml:103: UpdateSource returned: 2
at com.justep.tools.ant.task.app.UpdateSourceTask.execute(Unknown Source)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
at com.justep.deploy.app.utils.BuildHelper.execTask(Unknown Source)
at com.justep.deploy.app.utils.Builder.main(Unknown Source)
Caused by: /var/folders/gj/xjngvx493vg4y4njyc8w_vr00000gn/T/42e3c101-b6d5-496c-97d7-cc0bd20bbc3d/genSource.xml:103: UpdateSource returned: 2
at com.justep.tools.ant.task.app.UpdateSourceTask.a(Unknown Source)
... 13 more
****ERROR****: 子任务 "java" 执行失败。
****ERROR****: 任务 "prepareSource" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: Java returned: 253
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
=====================================
什么原因,折腾几天了,想起来就闹心。。。。搜遍全网,未得正解,还望高人指点 |
|