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

QQ登录

只需一步,快速开始

查看: 2334|回复: 3

[处理中3] 苹果打包报错

[复制链接]

1

主题

2

帖子

8

积分

新手上路

Rank: 1

积分
8
QQ
发表于 2018-4-24 15:55:45 | 显示全部楼层 |阅读模式
开始......
   
保存配置信息:
   
编译UI资源:
   
清除编译环境:
   
复制模版工程:
   
复制工程:
   
复制插件:
   
复制WWW资源:
   
更新工程信息:
   
增加插件:
   使用到的插件: [de.appplant.cordova.plugin.background-mode, cordova-plugin-whitelist, cordova-plugin-splashscreen, cordova-plugin-app-preferences, com.justep.cordova.plugin.app.utils, cordova-plugin-x-toast, cordova-plugin-inappbrowser, cordova-plugin-app-version, com.verso.cordova.clipboard, phonegap-plugin-barcodescanner]
   开始安装插件......
   开始准备插件参数......
   插件 "cordova-plugin-device" 参数如下:
   插件 "de.appplant.cordova.plugin.background-mode" 参数如下:
   插件 "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-app-version" 参数如下:
   插件 "com.verso.cordova.clipboard" 参数如下:
   插件 "phonegap-plugin-barcodescanner" 参数如下:
   插件参数准备完成
   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-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-app-version" for android
   Installing "cordova-plugin-app-version" for ios
   Installing "com.verso.cordova.clipboard" for android
   Installing "com.verso.cordova.clipboard" for ios
   Installing "phonegap-plugin-barcodescanner" for android
   Installing "phonegap-plugin-barcodescanner" for ios
   插件安装完成
   
创建源代码工程:
   
android应用环境准备:
   
ios应用环境准备:
   1 identity imported.
   
生成android应用包:
   
生成ios应用包:
   Running command: /Users/Macx/Downloads/WeX5_V3.5-mac/model/Native/wallet/build/src/platforms/ios/cordova/build --debug --device
   ERROR building one of the platforms: Error: /Users/Macx/Downloads/WeX5_V3.5-mac/model/Native/wallet/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/Macx/Downloads/WeX5_V3.5-mac/model/Native/wallet/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

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36044
发表于 2018-4-24 17:15:34 | 显示全部楼层
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

1

主题

2

帖子

8

积分

新手上路

Rank: 1

积分
8
QQ
 楼主| 发表于 2018-4-25 12:01:16 | 显示全部楼层
jishuang 发表于 2018-4-24 17:15
没有安装xcode
http://bbs.wex5.com/forum.php?mod=redirect&goto=findpost&ptid=82002&pid=165192085

可不可以给个下载的地址呢?我用的是3.4版本的,然后在苹果电脑上下载xcode一直下载失败
回复 支持 反对

使用道具 举报

发表于 2018-4-28 13:19:01 | 显示全部楼层
underfind 发表于 2018-4-25 12:01
可不可以给个下载的地址呢?我用的是3.4版本的,然后在苹果电脑上下载xcode一直下载失败 ...

wex5 3.4 吗??太旧了,建议使用最新3.8 预发布版本啊!
自己上网多搜你个xcode的安装包(最好是官网去下载)

3.7之前的版本要求必须是xcode7.3.1
http://docs.wex5.com/wex5-app-question-list-2042

也可能是操作系统太就,试试系统也升级下吧
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-9-27 09:30 , Processed in 0.056043 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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