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

QQ登录

只需一步,快速开始

楼主: xutstudio

[结贴] ios打包错误 exec returned: 1

[复制链接]

1

主题

21

帖子

37

积分

新手上路

Rank: 1

积分
37
QQ
 楼主| 发表于 2016-12-27 16:58:17 | 显示全部楼层
本帖最后由 xutstudio 于 2016-12-27 17:45 编辑

我 贴了过多无用信息,现删除掉
回复 支持 反对

使用道具 举报

1

主题

21

帖子

37

积分

新手上路

Rank: 1

积分
37
QQ
 楼主| 发表于 2016-12-27 16:59:05 | 显示全部楼层
本帖最后由 xutstudio 于 2016-12-27 17:45 编辑

我 贴了过多无用信息,现删除掉
回复 支持 反对

使用道具 举报

1

主题

21

帖子

37

积分

新手上路

Rank: 1

积分
37
QQ
 楼主| 发表于 2016-12-27 17:01:13 | 显示全部楼层
本帖最后由 xutstudio 于 2016-12-27 17:45 编辑

我 贴了过多无用信息,现删除掉
回复 支持 反对

使用道具 举报

1

主题

21

帖子

37

积分

新手上路

Rank: 1

积分
37
QQ
 楼主| 发表于 2016-12-27 17:02:04 | 显示全部楼层
Libtool build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Objects-normal/armv7/libCordova.a normal armv7
    cd /Volumes/X5/WeX5/model/Native/.workspace/C7352DDC730000017C2617601C807200/build/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:/Volumes/X5/WeX5/node:/Volumes/X5/WeX5/model/Native/.workspace/java/jdk1.8-x64/Contents/Home/jre/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/iPhoneOS9.3.sdk -L/Volumes/X5/WeX5/model/Native/.workspace/C7352DDC730000017C2617601C807200/build/platforms/ios/build/device -filelist /Volumes/X5/WeX5/model/Native/.workspace/C7352DDC730000017C2617601C807200/build/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Objects-normal/armv7/Cordova.LinkFileList -o /Volumes/X5/WeX5/model/Native/.workspace/C7352DDC730000017C2617601C807200/build/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Objects-normal/armv7/libCordova.a

Libtool build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Objects-normal/arm64/libCordova.a normal arm64
    cd /Volumes/X5/WeX5/model/Native/.workspace/C7352DDC730000017C2617601C807200/build/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:/Volumes/X5/WeX5/node:/Volumes/X5/WeX5/model/Native/.workspace/java/jdk1.8-x64/Contents/Home/jre/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only arm64 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk -L/Volumes/X5/WeX5/model/Native/.workspace/C7352DDC730000017C2617601C807200/build/platforms/ios/build/device -filelist /Volumes/X5/WeX5/model/Native/.workspace/C7352DDC730000017C2617601C807200/build/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Objects-normal/arm64/Cordova.LinkFileList -o /Volumes/X5/WeX5/model/Native/.workspace/C7352DDC730000017C2617601C807200/build/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Objects-normal/arm64/libCordova.a

CreateUniversalBinary /Volumes/X5/WeX5/model/Native/.workspace/C7352DDC730000017C2617601C807200/build/platforms/ios/build/device/libCordova.a normal armv7\ arm64
    cd /Volumes/X5/WeX5/model/Native/.workspace/C7352DDC730000017C2617601C807200/build/platforms/ios/CordovaLib
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Volumes/X5/WeX5/node:/Volumes/X5/WeX5/model/Native/.workspace/java/jdk1.8-x64/Contents/Home/jre/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static /Volumes/X5/WeX5/model/Native/.workspace/C7352DDC730000017C2617601C807200/build/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Objects-normal/armv7/libCordova.a /Volumes/X5/WeX5/model/Native/.workspace/C7352DDC730000017C2617601C807200/build/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Objects-normal/arm64/libCordova.a -o /Volumes/X5/WeX5/model/Native/.workspace/C7352DDC730000017C2617601C807200/build/platforms/ios/build/device/libCordova.a

=== BUILD TARGET  OF PROJECT  WITH CONFIGURATION Release ===

Check dependencies
Code Sign error: No matching provisioning profiles found: No provisioning profiles with a valid signing identity (i.e. certificate and private key pair) matching the bundle identifier “com.wex5.xtxw” were found.

** BUILD FAILED **
ERROR building one of the platforms: Error: /Volumes/X5/WeX5/model/Native/.workspace/C7352DDC730000017C2617601C807200/build/platforms/ios/cordova/build: Command failed with exit code 2
You may not have the required environment or OS to build this project


The following build commands failed:
        Check dependencies
(1 failure)
Error code 65 for command: xcodebuild with args: -xcconfig,/Volumes/X5/WeX5/model/Native/.workspace/C7352DDC730000017C2617601C807200/build/platforms/ios/cordova/build-release.xcconfig,-project,新田新闻.xcodeproj,ARCHS=armv7 arm64,-target,新田新闻,-configuration,Release,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=/Volumes/X5/WeX5/model/Native/.workspace/C7352DDC730000017C2617601C807200/build/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Volumes/X5/WeX5/model/Native/.workspace/C7352DDC730000017C2617601C807200/build/platforms/ios/build/sharedpch
Error: /Volumes/X5/WeX5/model/Native/.workspace/C7352DDC730000017C2617601C807200/build/platforms/ios/cordova/build: Command failed with exit code 2
****ERROR****: Task "exec" finished with error.
****ERROR****: Target "buildIOS" finished with error.
****ERROR****: Build finished with error.
****ERROR****: 错误信息: exec returned: 1
****ERROR****: 如不能确定具体问题,可参考常见问题: http://wex5.com/cn/bbs/thread-82002-1-1.html
回复 支持 反对

使用道具 举报

发表于 2016-12-27 17:02:31 | 显示全部楼层
xutstudio 发表于 2016-12-27 16:59
CompileC build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Objects-normal/armv7/CDVURLProtoco ...

这么多信息,以后建议直接发一个文件上来就可以了!
http://docs.wex5.com/wex5-app-question-list-2042
试试这个链接中的条件满足吗都?
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

1

主题

21

帖子

37

积分

新手上路

Rank: 1

积分
37
QQ
 楼主| 发表于 2016-12-27 17:03:04 | 显示全部楼层
最后一版前面实在是太多了,就没贴完出来。找了几天资料了,还是不明白怎么回事
回复 支持 反对

使用道具 举报

1

主题

21

帖子

37

积分

新手上路

Rank: 1

积分
37
QQ
 楼主| 发表于 2016-12-27 17:05:13 | 显示全部楼层
前面是代理服务器日志,日志内容如下:
开始......
   
保存配置信息:
   
编译UI资源:
   
清除编译环境:
   
复制模版工程:
   
复制工程:
   
复制插件:
   
复制WWW资源:
   
更新工程信息:
   
增加插件:
   使用到的插件: [cordova-plugin-http, com.justep.cordova.plugin.qq, com.justep.cordova.plugin.security.mob, com.justep.cordova.plugin.weixin.v3, com.justep.cordova.plugin.weibo, cordova-plugin-x-socialsharing, 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, cordova-plugin-x-socialsharing, com.justep.cordova.plugin.weixin.v3, com.justep.cordova.plugin.qq, com.justep.cordova.plugin.weibo, com.justep.cordova.plugin.security.mob]
   开始安装插件......
   开始准备插件参数......
   插件 "cordova-plugin-file" 参数如下:
   插件 "com.justep.cordova.plugin.AFNetworking" 参数如下:
   插件 "cordova-plugin-http" 参数如下:
   插件 "com.justep.cordova.plugin.qq" 参数如下:
        qq app id(qq_app_id):
   插件 "com.justep.cordova.plugin.security.mob" 参数如下:
        mob.com上申请的app id(mobsms_appKey):
        mob.com上申请的appsecret(mobsms_appSecret):
   插件 "com.justep.cordova.plugin.weixin.v3" 参数如下:
        微信应用ID(weixin_appid):
        微信应用密钥(weixin_secret):
        微信商户ID(weixin_partner_id):1
        微信api_key(weixin_api_key):1
   插件 "com.justep.cordova.plugin.weibo" 参数如下:
        weibo_app_id(weibo_app_id):
        redirecturi(redirecturi):https://api.weibo.com/oauth2/default.html
   插件 "cordova-plugin-x-socialsharing" 参数如下:
   插件 "cordova-plugin-splashscreen" 参数如下:
   插件 "cordova-plugin-app-preferences" 参数如下:
   插件 "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" 参数如下:
   插件参数准备完成
   Installing "cordova-plugin-file" for android
   Installing "cordova-plugin-file" for ios
   Installing "com.justep.cordova.plugin.AFNetworking" for android
   Installing "com.justep.cordova.plugin.AFNetworking" for ios
   Installing "cordova-plugin-http" for android
   Dependent plugin "cordova-plugin-file" already installed on android.
   Installing "cordova-plugin-http" for ios
   Dependent plugin "cordova-plugin-file" already installed on ios.
   Dependent plugin "com.justep.cordova.plugin.AFNetworking" already installed on ios.
   Installing "com.justep.cordova.plugin.qq" for android
   Dependent plugin "cordova-plugin-http" already installed on android.
   F:\WeX55\model\Native\鏂扮敯鏂伴椈\build\src/platforms/android/libs/android-support-v4.jar
   Installing "com.justep.cordova.plugin.qq" for ios
   Dependent plugin "cordova-plugin-http" already installed on ios.
   Installing "com.justep.cordova.plugin.security.mob" for android
   Installing "com.justep.cordova.plugin.security.mob" for ios
   Installing "com.justep.cordova.plugin.weixin.v3" for android
   Dependent plugin "cordova-plugin-http" already installed on android.
   The module "ConfigParser" has been factored into "cordova-common". Consider update your plugin hooks.
   F:\WeX55\model\Native\鏂扮敯鏂伴椈\build\src\platforms\android
   F:\WeX55\model\Native\鏂扮敯鏂伴椈\build\src\platforms\android
   Installing "com.justep.cordova.plugin.weixin.v3" for ios
   Dependent plugin "cordova-plugin-http" already installed on ios.
   Dependent plugin "com.justep.cordova.plugin.AFNetworking" already installed on ios.
   Installing "com.justep.cordova.plugin.weibo" for android
   Dependent plugin "cordova-plugin-http" already installed on android.
   Installing "com.justep.cordova.plugin.weibo" for ios
   Dependent plugin "cordova-plugin-http" already installed on ios.
   Installing "cordova-plugin-x-socialsharing" for android
   Installing "cordova-plugin-x-socialsharing" for 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-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
   插件安装完成
   
创建源代码工程:
   
使用代理服务生成应用包:
   压缩应用源代码......
   上传应用源代码到服务端......
   服务端正在执行......
****ERROR****: 子任务 "pack" 执行失败。
****ERROR****: 任务 "packUseAppBuilderServer" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: 执行HTTP请求失败,错误信息:生成app包失败!
错误原因:
错误栈:
exec returned: 1
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
回复 支持 反对

使用道具 举报

发表于 2016-12-27 17:20:54 | 显示全部楼层
xutstudio 发表于 2016-12-27 17:05
前面是代理服务器日志,日志内容如下:
开始......
   

请回答我提到的!
http://docs.wex5.com/wex5-app-question-list-2042/
这个链接中的前几个条件都满足吗?

平台案例打包是否正常?
需要一项一项排查!
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

1

主题

21

帖子

37

积分

新手上路

Rank: 1

积分
37
QQ
 楼主| 发表于 2016-12-27 17:41:47 | 显示全部楼层
本帖最后由 xutstudio 于 2016-12-27 17:43 编辑

1.苹果 xcode 版本是:7.3.1 (官方下载的虚拟机,未作任何修改)
2、本地wex5是 wex5.5 mac版本为:wex5_5113-mac  未找到:wex5根目录\tools\app-builder 目录
3、在mac的 wex5上,将我的项目拷贝过来,打包的时候出现的错误是跟使用代理服务器时一致。
4、使用自带的项目,如“仿淘宝”,因为默认没有ios打包的,编辑了一下使用我自己的证书和密码,其它设置未改,使用代理服务器,错误也是一样的。
5、证书是我自己注册的开发者帐号,并按照非常详细的说明获得的,在获取过程中,并未发现异常,一路比较顺利。
6、类似的情况搜索了,没有找到很好的解答
另外,发贴的时候发了很多无用信息上来,我补充了 build.log 的信息放在第一楼。谢谢
回复 支持 反对

使用道具 举报

发表于 2016-12-27 17:50:03 | 显示全部楼层
xutstudio 发表于 2016-12-27 17:41
1.苹果 xcode 版本是:7.3.1 (官方下载的虚拟机,未作任何修改)
2、本地wex5是 wex5.5 mac版本为:wex5_51 ...

2.wex5.5  直接启动tomcat 就可以充当打包服务器!也可以在mac上直接打包,如果打包平台案例都不行的话!
可能是证书问题!证书要求和报名一致的

qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-19 16:59 , Processed in 0.068241 second(s), 20 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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