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

QQ登录

只需一步,快速开始

查看: 8502|回复: 20

[处理中3] mac打包IOS报错!model/Native/SIPGYL/build/src/platforms/ios/cordova/buil...

  [复制链接]

14

主题

55

帖子

239

积分

中级会员

Rank: 3Rank: 3

积分
239
QQ
发表于 2016-7-12 13:12:34 | 显示全部楼层 |阅读模式
model/Native/SIPGYL/build/src/platforms/ios/cordova/build: Command failed with exit code 2,请问大神们,这是什么情况?是cordova找不到么?
QQ截图20160712130911.png

2

主题

258

帖子

345

积分

中级会员

Rank: 3Rank: 3

积分
345
QQ
发表于 2016-7-12 13:16:45 | 显示全部楼层
你把完整的日志发一下吧
回复 支持 反对

使用道具 举报

14

主题

55

帖子

239

积分

中级会员

Rank: 3Rank: 3

积分
239
QQ
 楼主| 发表于 2016-7-12 13:19:29 | 显示全部楼层
wangdan 发表于 2016-7-12 13:16
你把完整的日志发一下吧

好的,稍等一下
回复 支持 反对

使用道具 举报

14

主题

55

帖子

239

积分

中级会员

Rank: 3Rank: 3

积分
239
QQ
 楼主| 发表于 2016-7-12 13:28:25 | 显示全部楼层
wangdan 发表于 2016-7-12 13:16
你把完整的日志发一下吧

开始......
   
保存配置信息:
   
编译UI资源:
   
清除编译环境:
   
复制模版工程:
   
复制工程:
   
复制插件:
   
复制WWW资源:
   
更新工程信息:
   
增加插件:
   使用到的插件: [cordova-plugin-whitelist, cordova-plugin-splashscreen, cordova-plugin-app-preferences, com.justep.cordova.plugin.app.utils, cordova-plugin-x-toast, de.appplant.cordova.plugin.background-mode, cordova-plugin-inappbrowser, cordova-plugin-app-version, cordova-plugin-statusbar]
   开始安装插件......
   开始准备插件参数......
   插件 "cordova-plugin-splashscreen" 参数如下:
   插件 "cordova-plugin-app-preferences" 参数如下:
   插件 "cordova-plugin-file" 参数如下:
   插件 "cordova-plugin-file-transfer" 参数如下:
   插件 "cordova-plugin-network-information" 参数如下:
   插件 "cordova-plugin-zip" 参数如下:
   插件 "cordova-plugin-inappbrowser" 参数如下:
   插件 "cordova-plugin-x-toast" 参数如下:
   插件 "com.justep.cordova.plugin.app.utils" 参数如下:
   插件 "cordova-plugin-device" 参数如下:
   插件 "de.appplant.cordova.plugin.background-mode" 参数如下:
   插件 "cordova-plugin-app-version" 参数如下:
   插件 "cordova-plugin-statusbar" 参数如下:
        状态栏浮动模式(StatusBarOverlaysWebView):true
        状态栏风格(StatusBarStyle):default
   插件参数准备完成
   Installing "cordova-plugin-splashscreen" for android
   Installing "cordova-plugin-splashscreen" for ios
   Installing "cordova-plugin-app-preferences" for android
   Installing "cordova-plugin-app-preferences" for ios
   Installing "cordova-plugin-file" for android
   Installing "cordova-plugin-file" for ios
   Installing "cordova-plugin-file-transfer" for android
   Dependent plugin "cordova-plugin-file" already installed on android.
   Installing "cordova-plugin-file-transfer" for ios
   Dependent plugin "cordova-plugin-file" already installed on ios.
   Installing "cordova-plugin-network-information" for android
   Installing "cordova-plugin-network-information" for ios
   Installing "cordova-plugin-zip" for android
   Dependent plugin "cordova-plugin-file" already installed on android.
   Installing "cordova-plugin-zip" for ios
   Dependent plugin "cordova-plugin-file" already installed on ios.
   Installing "cordova-plugin-inappbrowser" for android
   Installing "cordova-plugin-inappbrowser" for ios
   Installing "cordova-plugin-x-toast" for android
   Installing "cordova-plugin-x-toast" for ios
   Installing "com.justep.cordova.plugin.app.utils" for android
   Dependent plugin "cordova-plugin-file" already installed on android.
   Dependent plugin "cordova-plugin-file-transfer" already installed on android.
   Dependent plugin "cordova-plugin-network-information" already installed on android.
   Dependent plugin "cordova-plugin-zip" already installed on android.
   Dependent plugin "cordova-plugin-inappbrowser" already installed on android.
   Dependent plugin "cordova-plugin-x-toast" already installed on android.
   Installing "com.justep.cordova.plugin.app.utils" for ios
   Dependent plugin "cordova-plugin-file" already installed on ios.
   Dependent plugin "cordova-plugin-file-transfer" already installed on ios.
   Dependent plugin "cordova-plugin-network-information" already installed on ios.
   Dependent plugin "cordova-plugin-zip" already installed on ios.
   Dependent plugin "cordova-plugin-inappbrowser" already installed on ios.
   Dependent plugin "cordova-plugin-x-toast" already installed on ios.
   Installing "cordova-plugin-device" for android
   Installing "cordova-plugin-device" for ios
   Installing "de.appplant.cordova.plugin.background-mode" for android
   Dependent plugin "cordova-plugin-device" already installed on android.
   Installing "de.appplant.cordova.plugin.background-mode" for ios
   Dependent plugin "cordova-plugin-device" already installed on ios.
   Installing "cordova-plugin-app-version" for android
   Installing "cordova-plugin-app-version" for ios
   Installing "cordova-plugin-statusbar" for android
   Installing "cordova-plugin-statusbar" for ios
   插件安装完成
创建源代码工程:
   
android应用环境准备:
   
ios应用环境准备:
   1 identity imported.
   
生成android应用包:
   
生成ios应用包:
   Running command: /Users/ipod4g/Downloads/WeX5_V3.5-mac.tar.gz.download/WeX5_V3.5-mac/model/Native/SIPGYL/build/src/platforms/ios/cordova/build —release —device
   ERROR building one of the platforms: Error: /Users/ipod4g/Downloads/WeX5_V3.5-mac.tar.gz.download/WeX5_V3.5-mac/model/Native/SIPGYL/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: /Users/ipod4g/Downloads/WeX5_V3.5-mac.tar.gz.download/WeX5_V3.5-mac/model/Native/SIPGYL/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
回复 支持 反对

使用道具 举报

14

主题

55

帖子

239

积分

中级会员

Rank: 3Rank: 3

积分
239
QQ
 楼主| 发表于 2016-7-12 13:28:42 | 显示全部楼层
wangdan 发表于 2016-7-12 13:16
你把完整的日志发一下吧

开始......
   
保存配置信息:
   
编译UI资源:
   
清除编译环境:
   
复制模版工程:
   
复制工程:
   
复制插件:
   
复制WWW资源:
   
更新工程信息:
   
增加插件:
   使用到的插件: [cordova-plugin-whitelist, cordova-plugin-splashscreen, cordova-plugin-app-preferences, com.justep.cordova.plugin.app.utils, cordova-plugin-x-toast, de.appplant.cordova.plugin.background-mode, cordova-plugin-inappbrowser, cordova-plugin-app-version, cordova-plugin-statusbar]
   开始安装插件......
   开始准备插件参数......
   插件 "cordova-plugin-splashscreen" 参数如下:
   插件 "cordova-plugin-app-preferences" 参数如下:
   插件 "cordova-plugin-file" 参数如下:
   插件 "cordova-plugin-file-transfer" 参数如下:
   插件 "cordova-plugin-network-information" 参数如下:
   插件 "cordova-plugin-zip" 参数如下:
   插件 "cordova-plugin-inappbrowser" 参数如下:
   插件 "cordova-plugin-x-toast" 参数如下:
   插件 "com.justep.cordova.plugin.app.utils" 参数如下:
   插件 "cordova-plugin-device" 参数如下:
   插件 "de.appplant.cordova.plugin.background-mode" 参数如下:
   插件 "cordova-plugin-app-version" 参数如下:
   插件 "cordova-plugin-statusbar" 参数如下:
        状态栏浮动模式(StatusBarOverlaysWebView):true
        状态栏风格(StatusBarStyle):default
   插件参数准备完成
   Installing "cordova-plugin-splashscreen" for android
   Installing "cordova-plugin-splashscreen" for ios
   Installing "cordova-plugin-app-preferences" for android
   Installing "cordova-plugin-app-preferences" for ios
   Installing "cordova-plugin-file" for android
   Installing "cordova-plugin-file" for ios
   Installing "cordova-plugin-file-transfer" for android
   Dependent plugin "cordova-plugin-file" already installed on android.
   Installing "cordova-plugin-file-transfer" for ios
   Dependent plugin "cordova-plugin-file" already installed on ios.
   Installing "cordova-plugin-network-information" for android
   Installing "cordova-plugin-network-information" for ios
   Installing "cordova-plugin-zip" for android
   Dependent plugin "cordova-plugin-file" already installed on android.
   Installing "cordova-plugin-zip" for ios
   Dependent plugin "cordova-plugin-file" already installed on ios.
   Installing "cordova-plugin-inappbrowser" for android
   Installing "cordova-plugin-inappbrowser" for ios
   Installing "cordova-plugin-x-toast" for android
   Installing "cordova-plugin-x-toast" for ios
   Installing "com.justep.cordova.plugin.app.utils" for android
   Dependent plugin "cordova-plugin-file" already installed on android.
   Dependent plugin "cordova-plugin-file-transfer" already installed on android.
   Dependent plugin "cordova-plugin-network-information" already installed on android.
   Dependent plugin "cordova-plugin-zip" already installed on android.
   Dependent plugin "cordova-plugin-inappbrowser" already installed on android.
   Dependent plugin "cordova-plugin-x-toast" already installed on android.
   Installing "com.justep.cordova.plugin.app.utils" for ios
   Dependent plugin "cordova-plugin-file" already installed on ios.
   Dependent plugin "cordova-plugin-file-transfer" already installed on ios.
   Dependent plugin "cordova-plugin-network-information" already installed on ios.
   Dependent plugin "cordova-plugin-zip" already installed on ios.
   Dependent plugin "cordova-plugin-inappbrowser" already installed on ios.
   Dependent plugin "cordova-plugin-x-toast" already installed on ios.
   Installing "cordova-plugin-device" for android
   Installing "cordova-plugin-device" for ios
   Installing "de.appplant.cordova.plugin.background-mode" for android
   Dependent plugin "cordova-plugin-device" already installed on android.
   Installing "de.appplant.cordova.plugin.background-mode" for ios
   Dependent plugin "cordova-plugin-device" already installed on ios.
   Installing "cordova-plugin-app-version" for android
   Installing "cordova-plugin-app-version" for ios
   Installing "cordova-plugin-statusbar" for android
   Installing "cordova-plugin-statusbar" for ios
   插件安装完成
创建源代码工程:
   
android应用环境准备:
   
ios应用环境准备:
   1 identity imported.
   
生成android应用包:
   
生成ios应用包:
   Running command: /Users/ipod4g/Downloads/WeX5_V3.5-mac.tar.gz.download/WeX5_V3.5-mac/model/Native/SIPGYL/build/src/platforms/ios/cordova/build —release —device
   ERROR building one of the platforms: Error: /Users/ipod4g/Downloads/WeX5_V3.5-mac.tar.gz.download/WeX5_V3.5-mac/model/Native/SIPGYL/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: /Users/ipod4g/Downloads/WeX5_V3.5-mac.tar.gz.download/WeX5_V3.5-mac/model/Native/SIPGYL/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
回复 支持 反对

使用道具 举报

2

主题

10

帖子

14

积分

新手上路

Rank: 1

积分
14
QQ
发表于 2016-7-12 13:52:12 | 显示全部楼层
我遇到这个问题
回复 支持 反对

使用道具 举报

14

主题

55

帖子

239

积分

中级会员

Rank: 3Rank: 3

积分
239
QQ
 楼主| 发表于 2016-7-12 13:53:51 | 显示全部楼层

你有解决方案么?
回复 支持 反对

使用道具 举报

2

主题

10

帖子

14

积分

新手上路

Rank: 1

积分
14
QQ
发表于 2016-7-12 14:02:53 | 显示全部楼层
没有呢,也在找答案啊
回复 支持 反对

使用道具 举报

2

主题

258

帖子

345

积分

中级会员

Rank: 3Rank: 3

积分
345
QQ
发表于 2016-7-12 14:26:25 | 显示全部楼层
打包时使用的是自己的MAC环境,没有安装xcode 的命令行工具时,会在日志中输出如下内容:(用X5应用打包服务器不会出现这个问题)
http://bbs.wex5.com/forum.php?mo ... id=82002&page=2
回复 支持 反对

使用道具 举报

2

主题

258

帖子

345

积分

中级会员

Rank: 3Rank: 3

积分
345
QQ
发表于 2016-7-12 14:45:20 | 显示全部楼层
mountain8000 发表于 2016-7-12 14:02
没有呢,也在找答案啊

你用的什么版本啊?以前打包也出这样的错误吗?
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-24 10:21 , Processed in 0.055989 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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