|
发表于 2016-11-29 15:06:14
|
显示全部楼层
本帖最后由 wangxunwu 于 2016-11-30 22:03 编辑
Code signing is required for product type 'Application' in SDK 'iOS 10.1'
ERROR building one of the platforms: Error: /Users/wangxunwu/Downloads/soft/WeX5_V3.6-mac/model/Native/123go/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
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
Error code 65 for command: xcodebuild with args: -xcconfig,/Users/wangxunwu/Downloads/soft/WeX5_V3.6-mac/model/Native/123go/build/src/platforms/ios/cordova/build-release.xcconfig,-project,123go.xcodeproj,ARCHS=armv7 arm64,-target,123go,-configuration,Release,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=/Users/wangxunwu/Downloads/soft/WeX5_V3.6-mac/model/Native/123go/build/src/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/wangxunwu/Downloads/soft/WeX5_V3.6-mac/model/Native/123go/build/src/platforms/ios/build/sharedpch
Error: /Users/wangxunwu/Downloads/soft/WeX5_V3.6-mac/model/Native/123go/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
/var/folders/6_/pjhlg44x6mx0mx9jjdjljl980000gn/T/98b8241d-edcf-415b-b448-7e96ecbbc87e/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****: 子任务 "java" 执行失败。
****ERROR****: 任务 "pack" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: Java returned: 253
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
问题已解决,Xcode用7.3.1版本就OK了
|
|