|
楼主 |
发表于 2016-10-17 16:03:57
|
显示全部楼层
环境xcode7.3
补充:
开始......
生成应用环境准备:
android应用环境准备:
ios应用环境准备:
1 identity imported.
生成android应用包:
生成ios应用包:
Running command: /Users/lang/Documents/WeX5_V3.6-mac/model/Native/bhxjcs/build/src/platforms/ios/cordova/build --debug --device
Building project : /Users/lang/Documents/WeX5_V3.6-mac/model/Native/bhxjcs/build/src/platforms/ios/Bhxjcs.xcodeproj
Configuration : Debug
Platform : device
/var/folders/6_/d7ynd7xs2plbbg0mrm8cxp2r0000gn/T/ae0c5fcf-9d19-4172-ad69-8914d31497d6/pack.xml:118: exec returned: 1
Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
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)
Error code 69 for command: xcodebuild with args: -xcconfig,/Users/lang/Documents/WeX5_V3.6-mac/model/Native/bhxjcs/build/src/platforms/ios/cordova/build-debug.xcconfig,-project,Bhxjcs.xcodeproj,ARCHS=armv7 arm64,-target,Bhxjcs,-configuration,Debug,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=/Users/lang/Documents/WeX5_V3.6-mac/model/Native/bhxjcs/build/src/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/lang/Documents/WeX5_V3.6-mac/model/Native/bhxjcs/build/src/platforms/ios/build/sharedpch 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: /Users/lang/Documents/WeX5_V3.6-mac/model/Native/bhxjcs/build/src/platforms/ios/cordova/build: Command failed with exit code 2
ERROR building one of the platforms: Error: /Users/lang/Documents/WeX5_V3.6-mac/model/Native/bhxjcs/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
****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 |
|