上面的是测试包的错误log,下面是打发布包时的错误log,似乎是一样的,奇怪:
** BUILD FAILED ** The following build commands failed: CompileC build/X5.build/Release-iphoneos/X5.build/Objects-normal/armv7/AppDelegate.o X5/Classes/AppDelegate.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler CompileC build/X5.build/Release-iphoneos/X5.build/Objects-normal/armv7/MainViewController.o X5/Classes/MainViewController.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler (2 failures) Error: /Users/imac/Desktop/WeX5_V3.2.1-mac/model/Native/这里是我们的程序名/build/src/platforms/ios/cordova/build: Command failed with exit code 65 at ChildProcess.whenDone (/Users/imac/Desktop/WeX5_V3.2.1-mac/tools/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23) at ChildProcess.emit (events.js:98:17) at maybeClose (child_process.js:756:16) at Process.ChildProcess._handle.onexit (child_process.js:823:5) ****ERROR****: 子任务 "exec" 执行失败。 ****ERROR****: 任务 "buildIOS" 执行失败。 ****ERROR****: 执行出错: ****ERROR**** 错误信息: exec returned: 1 ****ERROR**** 调用栈: 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) at sun.reflect.GeneratedMethodAccessor185.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) 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 Pack.execTask(Pack.java:51) at Pack.access$000(Pack.java:25) at Pack$1.run(Pack.java:95) at java.lang.Thread.run(Thread.java:745)
|