生成ios应用包:
Running command: /Users/huangjin/Downloads/WeX5_V3.6-mac/model/Native/仿途牛/build/src/platforms/ios/cordova/build --debug --device
xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist, use `xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools (or see `man xcode-select`)
/var/folders/mq/kh4bbfzn5l9gdl1hskwwfwnh0000gn/T/97ddc5a8-ebbe-4fe2-a7eb-1ba7aa2563c0/pack.xml:118: exec returned: 1
Error: /Users/huangjin/Downloads/WeX5_V3.6-mac/model/Native/仿途牛/build/src/platforms/ios/cordova/build: Command failed with exit code 2
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:643) ERROR building one of the platforms: Error: /Users/huangjin/Downloads/WeX5_V3.6-mac/model/Native/仿途牛/build/src/platforms/ios/cordova/build: Command failed with exit code 2
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669) You may not have the required environment or OS to build this project
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:495)
****ERROR****: 子任务 "exec" 执行失败。
****ERROR****: 任务 "buildIOS" 执行失败。
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)****ERROR****: 执行出错:
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
****ERROR****: 错误信息: exec returned: 1
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html 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)
****ERROR****: 子任务 "java" 执行失败。
****ERROR****: 任务 "pack" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: Java returned: 253
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html