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

QQ登录

只需一步,快速开始

查看: 1906|回复: 3

[处理中1] ios 打包出错 求大神解救

[复制链接]

21

主题

73

帖子

263

积分

中级会员

Rank: 3Rank: 3

积分
263
QQ
发表于 2016-9-12 15:05:29 | 显示全部楼层 |阅读模式
   Total time: 45.591 secs
   Built the following apk(s):
       /Users/mark/Documents/WeX5_V3.5-mac/model/Native/real/build/src/platforms/android/build/outputs/apk/android-debug.apk

生成ios应用包:
   Running command: /Users/mark/Documents/WeX5_V3.5-mac/model/Native/real/build/src/platforms/ios/cordova/build --debug --device
   ERROR building one of the platforms: Error: /Users/mark/Documents/WeX5_V3.5-mac/model/Native/real/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/mark/Documents/WeX5_V3.5-mac/model/Native/real/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

1

主题

3232

帖子

1174

积分

金牌会员

Rank: 6Rank: 6

积分
1174
QQ
发表于 2016-9-12 16:48:40 | 显示全部楼层
http://docs.wex5.com/wex5-app-question-list-0004/ 你看一下这个文档,报错上You may not have the required environment or OS to build this project
在问题解决后,希望大家可以吧解决方法也分享一下,这样可以让更多的X5开发者共同进步,谢谢大家的知识共享
回复 支持 反对

使用道具 举报

21

主题

73

帖子

263

积分

中级会员

Rank: 3Rank: 3

积分
263
QQ
 楼主| 发表于 2016-9-12 17:43:06 | 显示全部楼层
闰土 发表于 2016-9-12 16:48
http://docs.wex5.com/wex5-app-question-list-0004/ 你看一下这个文档,报错上You may not have the requi ...

未解决   不过 谢谢
回复 支持 反对

使用道具 举报

0

主题

245

帖子

515

积分

高级会员

Rank: 4

积分
515
QQ
发表于 2016-9-14 11:22:38 | 显示全部楼层
cwftalus 发表于 2016-9-12 17:43
未解决   不过 谢谢

您好,如果您已经安装了xcode正式版的话,那您可以试试看在mac的终端中输入“sudo xcode-select -s /Applications/Xcode.app/Contents/Developer”,需要输入电脑开机密码,然后重新打包。
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-17 11:18 , Processed in 0.107221 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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