|
发表于 2017-5-4 17:08:25
|
显示全部楼层
生成ios应用包:
Running command: /Users/MyMac/Desktop/WeX5_V3.6-mac/model/Native/外卖/build/src/platforms/ios/cordova/build --debug --device
Building project : /Users/MyMac/Desktop/WeX5_V3.6-mac/model/Native/外卖/build/src/platforms/ios/外卖.xcodeproj
Configuration : Debug
Platform : device
/var/folders/yj/07_vz3dx3ls4glp7tnmr4mk40000gn/T/d81852e2-fc22-4761-b129-f7e8956bdb22/pack.xml:118: exec returned: 1
ERROR building one of the platforms: Error: /Users/MyMac/Desktop/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)
You may not have the required environment or OS to build this project
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669) Agreeing to the Xcode/iOS license requires admin privileges, please run “sudo xcodebuild -license” and then retry this command.
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)
Error code 69 for command: xcodebuild with args: -xcconfig,/Users/MyMac/Desktop/WeX5_V3.6-mac/model/Native/外卖/build/src/platforms/ios/cordova/build-debug.xcconfig,-project,外卖.xcodeproj,ARCHS=armv7 arm64,-target,外卖,-configuration,Debug,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=/Users/MyMac/Desktop/WeX5_V3.6-mac/model/Native/外卖/build/src/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/MyMac/Desktop/WeX5_V3.6-mac/model/Native/外卖/build/src/platforms/ios/build/sharedpch
Error: /Users/MyMac/Desktop/WeX5_V3.6-mac/model/Native/外卖/build/src/platforms/ios/cordova/build: Command failed with exit code 2
****ERROR****: 子任务 "exec" 执行失败。
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)****ERROR****: 任务 "buildIOS" 执行失败。
at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
****ERROR****: 执行出错:
****ERROR****: 错误信息: exec returned: 1
at com.justep.deploy.app.utils.BuildHelper.execTask(Unknown Source)
at com.justep.deploy.app.utils.Builder.main(Unknown Source)
****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 |
|