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

QQ登录

只需一步,快速开始

查看: 3158|回复: 9

[处理中3] wex5 生成ios时报错

[复制链接]

3

主题

13

帖子

21

积分

新手上路

Rank: 1

积分
21
QQ
发表于 2017-5-13 15:54:13 | 显示全部楼层 |阅读模式

   
   Libtool build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Objects-normal/armv7/libCordova.a normal armv7
       cd /Users/kiven/tool/WeX5_V3.5-mac/model/Native/mst/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:/Users/kiven/tool/WeX5_V3.5-mac/node:/var/folders/mr/3sw1hhhd1lx3540p1v2lctl00000gn/T/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/Users/kiven/tool/WeX5_V3.5-mac/model/Native/mst/build/src/platforms/ios/build/device -filelist /Users/kiven/tool/WeX5_V3.5-mac/model/Native/mst/build/src/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Objects-normal/armv7/Cordova.LinkFileList -o /Users/kiven/tool/WeX5_V3.5-mac/model/Native/mst/build/src/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Objects-normal/armv7/libCordova.a
   
   CreateUniversalBinary /Users/kiven/tool/WeX5_V3.5-mac/model/Native/mst/build/src/platforms/ios/build/device/libCordova.a normal armv7\ arm64
       cd /Users/kiven/tool/WeX5_V3.5-mac/model/Native/mst/build/src/platforms/ios/CordovaLib
       export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/kiven/tool/WeX5_V3.5-mac/node:/var/folders/mr/3sw1hhhd1lx3540p1v2lctl00000gn/T/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 /Users/kiven/tool/WeX5_V3.5-mac/model/Native/mst/build/src/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Objects-normal/armv7/libCordova.a /Users/kiven/tool/WeX5_V3.5-mac/model/Native/mst/build/src/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Objects-normal/arm64/libCordova.a -o /Users/kiven/tool/WeX5_V3.5-mac/model/Native/mst/build/src/platforms/ios/build/device/libCordova.a
   ** BUILD FAILED **
   
   
   The following build commands failed:
           Check dependencies
   (1 failure)
   
   === BUILD TARGET mst OF PROJECT mst WITH CONFIGURATION Release ===
   
   Check dependencies
   Signing for "mst" requires a development team. Select a development team in the project editor.
   warning: no rule to process file '/Users/kiven/tool/WeX5_V3.5-mac/model/Native/mst/build/src/platforms/ios/mst/Plugins/phonegap-plugin-barcodescanner/ZXDataMatrixEncoder.h' of type sourcecode.c.h for architecture armv7
   warning: no rule to process file '/Users/kiven/tool/WeX5_V3.5-mac/model/Native/mst/build/src/platforms/ios/mst/Plugins/phonegap-plugin-barcodescanner/ZXDataMatrixEncoder.h' of type sourcecode.c.h for architecture arm64
   Code signing is required for product type 'Application' in SDK 'iOS 10.3'
   
   ERROR building one of the platforms: Error: /Users/kiven/tool/WeX5_V3.5-mac/model/Native/mst/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 code 65 for command: xcodebuild with args: -xcconfig,/Users/kiven/tool/WeX5_V3.5-mac/model/Native/mst/build/src/platforms/ios/cordova/build-release.xcconfig,-project,mst.xcodeproj,ARCHS=armv7 arm64,-target,mst,-configuration,Release,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=/Users/kiven/tool/WeX5_V3.5-mac/model/Native/mst/build/src/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/kiven/tool/WeX5_V3.5-mac/model/Native/mst/build/src/platforms/ios/build/sharedpch
   Error: /Users/kiven/tool/WeX5_V3.5-mac/model/Native/mst/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

3

主题

13

帖子

21

积分

新手上路

Rank: 1

积分
21
QQ
 楼主| 发表于 2017-5-13 15:57:15 | 显示全部楼层
wex5 v3.5   xcode 7.0  mac 10.0
回复 支持 反对

使用道具 举报

3

主题

13

帖子

21

积分

新手上路

Rank: 1

积分
21
QQ
 楼主| 发表于 2017-5-13 15:58:57 | 显示全部楼层
xcode 8.3
回复

使用道具 举报

发表于 2017-5-15 10:32:40 | 显示全部楼层

目前xcode 只支持 7.3  或 7.3.1
xcode 8 目前不支持的!

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

使用道具 举报

3

主题

13

帖子

21

积分

新手上路

Rank: 1

积分
21
QQ
 楼主| 发表于 2017-5-19 10:54:34 | 显示全部楼层
liangyongfei 发表于 2017-5-15 10:32
目前xcode 只支持 7.3  或 7.3.1
xcode 8 目前不支持的!

打包成功。可是上传出问题了
Package Summary:

1 package(s) were not uploaded because they had problems:
        /var/folders/mr/3sw1hhhd1lx3540p1v2lctl00000gn/T/BE447FC6-1001-4997-9D85-CC207DDB83C6/1076449299.itmsp - Error Messages:
                ERROR ITMS-90005: "This bundle is invalid. The icon file mst.app/www/v-MnAJRv-zh_CN-/mst/detail/img/icon.png must be in .png format."
                ERROR ITMS-90474: "Invalid Bundle. iPad Multitasking support requires these orientations: 'UIInterfaceOrientationPortrait,UIInterfaceOrientationPortraitUpsideDown,UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight'. Found 'UIInterfaceOrientationPortrait,UIInterfaceOrientationPortraitUpsideDown' in bundle 'cn.******.www'."
                ERROR ITMS-90475: "Invalid Bundle. iPad Multitasking support requires launch story board in bundle 'cn*********.www'."
回复 支持 反对

使用道具 举报

发表于 2017-5-19 11:48:03 | 显示全部楼层
cnwangqing 发表于 2017-5-19 10:54
打包成功。可是上传出问题了
Package Summary:

must be in .png format

上网搜下这个错误信息吧
http://bbs.wex5.com/forum.php?mod=viewthread&tid=122378

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

使用道具 举报

3

主题

13

帖子

21

积分

新手上路

Rank: 1

积分
21
QQ
 楼主| 发表于 2017-5-19 12:39:52 | 显示全部楼层
liangyongfei 发表于 2017-5-19 11:48
must be in .png format

上网搜下这个错误信息吧

为什么 /www/v-MnAJRv-zh_CN-/mst/detail/img/icon.png
这个图片是wex5官网的标呀。不应该我的吗
回复 支持 反对

使用道具 举报

发表于 2017-5-19 14:03:04 | 显示全部楼层
cnwangqing 发表于 2017-5-19 12:39
为什么 /www/v-MnAJRv-zh_CN-/mst/detail/img/icon.png
这个图片是wex5官网的标呀。不应该我的吗 ...

mst  这个应用是你自己做的吧!官方的功能并没有这个目录的!
这个错误原因你上网搜下吧!好像是图片只能是.png 格式的!并且是真实的.png格式图片,而不是修改文件后缀名生成的图片

(可能格式不对!)

要不你联系一下那个帖子的楼主!看它是否解决这个问题了呢?
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

3

主题

13

帖子

21

积分

新手上路

Rank: 1

积分
21
QQ
 楼主| 发表于 2017-5-19 15:09:33 | 显示全部楼层
liangyongfei 发表于 2017-5-19 14:03
mst  这个应用是你自己做的吧!官方的功能并没有这个目录的!
这个错误原因你上网搜下吧!好像是图片只能 ...

国片是我自己用PS做的。导出的肯定 是png的。detail/img/icon.png这个文件 我看是生成app时自动生成的。它不应是生成app时选 的icon吗?怎么会是咱们官方的标呢。
回复 支持 反对

使用道具 举报

发表于 2017-5-19 15:56:16 | 显示全部楼层
cnwangqing 发表于 2017-5-19 15:09
国片是我自己用PS做的。导出的肯定 是png的。detail/img/icon.png这个文件 我看是生成app时自动生成的。 ...

wazdetail/img/icon.png  是app自动生成的吗?? 这个不是www下的资源吗??是你自己的资源吧!
本地打包,并没有生成这个路径的图片呢啊

模板的文件都在这里
/Native/templates/

Android :  /Native/templates/advanced/platforms/android/res
你看下里面的图片,是否存在你所说的图片呢?
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-8 01:42 , Processed in 0.117433 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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