外卖打包时发生以下错误:
ios应用环境准备: 1 identity imported. 生成android应用包: 生成ios应用包: Running command: /soft/WeX5_V3.6-mac/model/Native/外卖/build/src/platforms/ios/cordova/build --release --device /var/folders/h1/kghn8wlj3cb94qp0n2b472gh0000gr/T/656f4b2d-c167-4a4b-8d97-6b80d1e0921c/pack.xml:118: 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) 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) ERROR building one of the platforms: Error: /soft/WeX5_V3.6-mac/model/Native/外卖/build/src/platforms/ios/cordova/build: Command failed with exit code 2 You may not have the required environment or OS to build this project xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance Error: /soft/WeX5_V3.6-mac/model/Native/外卖/build/src/platforms/ios/cordova/build: Command failed with exit code 2 ****ERROR****: 子任务 "exec" 执行失败。 ****ERROR****: 任务 "buildIOS" 执行失败。 ****ERROR****: 执行出错: ****ERROR****: 错误信息: exec returned: 1 ****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html****ERROR****: 子任务 "java" 执行失败。****ERROR****: 任务 "pack" 执行失败。****ERROR****: 执行出错:****ERROR****: 错误信息: Java returned: 253 ****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
已安装了xcode 命令行工具
iMac-SV:~ luo$ gcc -v Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 8.0.0 (clang-800.0.42.1) Target: x86_64-apple-darwin15.0.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin
|