起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1319|回复: 2

[结贴] macbook打包问题

[复制链接]

9

主题

41

帖子

103

积分

初级会员

Rank: 2

积分
103
QQ
发表于 2017-4-7 23:03:18 | 显示全部楼层 |阅读模式
ios本地打包报错。我用的wex3.6版,xcode8.3版,不知道为什么报错,麻烦帮我看下
ERROR building one of the platforms: Error: /Users/smy/Downloads/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
      Error: /Users/smy/Downloads/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
   /var/folders/h0/wxm_drzs7wqfv3k2yz__xs7r0000gn/T/5f65330f-9d9a-4003-8a63-03469d69fa05/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

9

主题

41

帖子

103

积分

初级会员

Rank: 2

积分
103
QQ
 楼主| 发表于 2017-4-7 23:17:20 | 显示全部楼层
现在报这个错了
/var/folders/h0/wxm_drzs7wqfv3k2yz__xs7r0000gn/T/2c3c4316-d214-4a14-b3b1-9328de472d1c/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)
      Libtool /Applications/WeX5_V3.6-mac/model/Native/简约派/build/src/platforms/ios/build/device/libCordova.a normal armv7
          cd /Applications/WeX5_V3.6-mac/model/Native/简约派/build/src/platforms/ios/CordovaLib
          export IPHONEOS_DEPLOYMENT_TARGET=6.0
          export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/WeX5_V3.6-mac/node:/var/folders/h0/wxm_drzs7wqfv3k2yz__xs7r0000gn/T/2c3c4316-d214-4a14-b3b1-9328de472d1c/java/jdk1.8-x64/Contents/Home/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
          /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only armv7 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk -L/Applications/WeX5_V3.6-mac/model/Native/简约派/build/src/platforms/ios/build/device -filelist /Applications/WeX5_V3.6-mac/model/Native/简约派/build/src/platforms/ios/CordovaLib/build/CordovaLib.build/Debug-iphoneos/CordovaLib.build/Objects-normal/armv7/Cordova.LinkFileList -o /Applications/WeX5_V3.6-mac/model/Native/简约派/build/src/platforms/ios/build/device/libCordova.a
      
      === BUILD TARGET 绠ü绾︽淳 OF PROJECT 绠ü绾︽淳 WITH CONFIGURATION Debug ===
      
      Check dependencies
      Signing for "简约派" requires a development team. Select a development team in the project editor.
      Code signing is required for product type 'Application' in SDK 'iOS 10.3'
      
      ERROR building one of the platforms: Error: /Applications/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
      ** BUILD FAILED **
      
      
      The following build commands failed:
              Check dependencies
      (1 failure)
      Error code 65 for command: xcodebuild with args: -xcconfig,/Applications/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=/Applications/WeX5_V3.6-mac/model/Native/简约派/build/src/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Applications/WeX5_V3.6-mac/model/Native/简约派/build/src/platforms/ios/build/sharedpch
      Error: /Applications/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
回复 支持 反对

使用道具 举报

9

主题

41

帖子

103

积分

初级会员

Rank: 2

积分
103
QQ
 楼主| 发表于 2017-4-8 18:20:53 | 显示全部楼层
已解决。安装xcode7.3版本就好了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-5-6 18:08 , Processed in 0.072664 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表