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

QQ登录

只需一步,快速开始

查看: 2477|回复: 9

[处理中4] wex5 3.4 版本ios打包失败,找不到原因,急求解决

[复制链接]

27

主题

92

帖子

253

积分

中级会员

Rank: 3Rank: 3

积分
253
QQ
发表于 2016-11-22 19:55:59 | 显示全部楼层 |阅读模式
Build started.
Task "condition" started.
Task "condition" finished.
Task "condition" started.
Task "condition" finished.
Task "property" started.
Task "property" finished.
Task "property" started.
Task "property" finished.
Task "condition" started.
Task "condition" finished.
Task "path" started.
Task "path" finished.
Task "typedef" started.
Task "typedef" finished.
Task "svnSetting" started.
Task "svnSetting" finished.
Task "typedef" started.
Task "typedef" finished.
Target "clean" started.
Task "delete" started.
Deleting directory /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build
Task "delete" finished.
Task "delete" started.
Deleting directory /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/dist
Task "delete" finished.
Target "clean" finished.
Target "mergeResources" started.
Task "unzip" started.
Expanding: /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/upload/src.zip into /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build
Task "unzip" finished.
Task "chmod" started.
Task "chmod" finished.
Task "chmod" started.
Task "chmod" finished.
Task "chmod" started.
Task "chmod" finished.
Task "chmod" started.
Task "chmod" finished.
Task "property" started.
Task "property" finished.
Target "mergeResources" finished.
Target "prepareBuild" started.
Task "mkdir" started.
Task "mkdir" finished.
Task "mkdir" started.
Created dir: /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/dist
Task "mkdir" finished.
Task "property" started.
Task "property" finished.
Task "condition" started.
Task "condition" finished.
Task "condition" started.
Task "condition" finished.
Task "prepareBuild" started.
Task "prepareBuild" finished.
Target "prepareBuild" finished.
Target "prepareAndroidBuild" started.
Target "prepareAndroidBuild" finished.
Target "prepareIOSBuild" started.
Task "exec" started.
1 identity imported.
Task "exec" finished.
Task "copy" started.
Copying 1 file to /Users/x5/Library/MobileDevice/Provisioning Profiles
Task "copy" finished.
Target "prepareIOSBuild" finished.
Target "buildAndroid" started.
Target "buildAndroid" finished.
Target "buildIOS" started.
Task "exec" started.

27

主题

92

帖子

253

积分

中级会员

Rank: 3Rank: 3

积分
253
QQ
 楼主| 发表于 2016-11-22 19:57:09 | 显示全部楼层
Unknown value for orientation preference: default
Running command: /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/cordova/build --release --device
Building project  : /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/StockCirculate.xcodeproj
        Configuration : Release
        Platform      : device
Build settings from command line:
    ARCHS = armv7 arm64
    CONFIGURATION_BUILD_DIR = /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/build/device
    SDKROOT = iphoneos9.1
    SHARED_PRECOMPS_DIR = /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/build/sharedpch
    VALID_ARCHS = armv7 arm64

Build settings from configuration file '/Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/cordova/build-release.xcconfig':
    CODE_SIGN_IDENTITY = iPhone Distribution
    ENABLE_BITCODE = NO

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

Check dependencies

Write auxiliary files
write-file /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Cordova-own-target-headers.hmap
write-file /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Cordova-all-target-headers.hmap
/bin/mkdir -p /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Objects-normal/armv7
write-file /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Objects-normal/armv7/Cordova.LinkFileList
write-file /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Cordova.hmap
write-file /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Cordova-generated-files.hmap
write-file /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Cordova-all-non-framework-target-headers.hmap
/bin/mkdir -p /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/build/sharedpch/CordovaLib_Prefix-epwkzwybxrgucjeplbwobecuyobx
write-file /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/build/sharedpch/CordovaLib_Prefix-epwkzwybxrgucjeplbwobecuyobx/CordovaLib_Prefix.pch.pch.hash-criteria
/bin/mkdir -p /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/build/sharedpch/CordovaLib_Prefix-alzhwaizlrwgrvbibqffckpcdjqi
write-file /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/build/sharedpch/CordovaLib_Prefix-alzhwaizlrwgrvbibqffckpcdjqi/CordovaLib_Prefix.pch.pch.hash-criteria
write-file /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Cordova-project-headers.hmap
/bin/mkdir -p /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Objects-normal/arm64
write-file /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Objects-normal/arm64/Cordova.LinkFileList

CpHeader Classes/CDVPluginResult.h /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/build/device/include/Cordova/CDVPluginResult.h
    cd /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/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.7-x64/Contents/Home/jre/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -strip-debug-symbols -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip -resolve-src-symlinks /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/CordovaLib/Classes/CDVPluginResult.h /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/build/device/include/Cordova
error: /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/CordovaLib/Classes/CDVPluginResult.h: No such file or directory

CpHeader Classes/CDVInvokedUrlCommand.h /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/build/device/include/Cordova/CDVInvokedUrlCommand.h
    cd /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/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.7-x64/Contents/Home/jre/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -strip-debug-symbols -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip -resolve-src-symlinks /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/CordovaLib/Classes/CDVInvokedUrlCommand.h /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/build/device/include/Cordova
error: /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/CordovaLib/Classes/CDVInvokedUrlCommand.h: No such file or directory

CpHeader Classes/NSDictionary+Extensions.h /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/build/device/include/Cordova/NSDictionary+Extensions.h
    cd /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/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.7-x64/Contents/Home/jre/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -strip-debug-symbols -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip -resolve-src-symlinks /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/CordovaLib/Classes/NSDictionary+Extensions.h /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/build/device/include/Cordova
error: /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/CordovaLib/Classes/NSDictionary+Extensions.h: No such file or directory

CpHeader Classes/NSData+Base64.h /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/build/device/include/Cordova/NSData+Base64.h
    cd /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/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.7-x64/Contents/Home/jre/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -strip-debug-symbols -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip -resolve-src-symlinks /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/CordovaLib/Classes/NSData+Base64.h /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/build/device/include/Cordova
error: /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/CordovaLib/Classes/NSData+Base64.h: No such file or directory

** BUILD FAILED **
回复 支持 反对

使用道具 举报

27

主题

92

帖子

253

积分

中级会员

Rank: 3Rank: 3

积分
253
QQ
 楼主| 发表于 2016-11-22 19:57:28 | 显示全部楼层
yuntianhuicyp 发表于 2016-11-22 19:57
Unknown value for orientation preference: default
Running command: /Volumes/X5/WeX5/model/Native/.wo ...

The following build commands failed:
        CpHeader Classes/CDVPluginResult.h /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/build/device/include/Cordova/CDVPluginResult.h
        CpHeader Classes/CDVInvokedUrlCommand.h /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/build/device/include/Cordova/CDVInvokedUrlCommand.h
        CpHeader Classes/NSDictionary+Extensions.h /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/build/device/include/Cordova/NSDictionary+Extensions.h
        CpHeader Classes/NSData+Base64.h /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/build/device/include/Cordova/NSData+Base64.h
(4 failures)
Error code 65 for command: xcodebuild with args: -xcconfig,/Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/cordova/build-release.xcconfig,-project,StockCirculate.xcodeproj,ARCHS=armv7 arm64,-target,StockCirculate,-configuration,Release,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=/Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/build/sharedpch
Error: /Volumes/X5/WeX5/model/Native/.workspace/C74F39D2AA5000015F77FAC01BFD11C0/build/platforms/ios/cordova/build: Command failed with exit code 2
    at ChildProcess.whenDone (/Volumes/X5/WeX5/tools/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
    at ChildProcess.emit (events.js:98:17)
    at maybeClose (child_process.js:756:16)
    at Process.ChildProcess._handle.onexit (child_process.js:823:5)
****ERROR****: Task "exec" finished with error.
****ERROR****: Target "buildIOS" finished with error.
****ERROR****: Build finished with error.
****ERROR**** 错误信息: exec returned: 1
****ERROR**** 调用栈:
        at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:643)
        at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669)
        at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:495)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
        at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:435)
        at org.apache.tools.ant.Target.performTasks(Target.java:456)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
        at com.justep.deploy.app.servlet.Pack.a(Unknown Source)
        at com.justep.deploy.app.servlet.Pack.doPost(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:745)
回复 支持 反对

使用道具 举报

1

主题

1831

帖子

821

积分

高级会员

Rank: 4

积分
821
QQ
发表于 2016-11-23 11:31:31 | 显示全部楼层
你好,确认是不是运行内存过小导致的调用栈失败
回复 支持 反对

使用道具 举报

27

主题

92

帖子

253

积分

中级会员

Rank: 3Rank: 3

积分
253
QQ
 楼主| 发表于 2016-11-23 14:22:23 | 显示全部楼层
大雁子 发表于 2016-11-23 11:31
你好,确认是不是运行内存过小导致的调用栈失败

运行内存过小?应该怎么调整啊?
回复 支持 反对

使用道具 举报

1

主题

1831

帖子

821

积分

高级会员

Rank: 4

积分
821
QQ
发表于 2016-11-23 14:24:34 | 显示全部楼层
关掉一些不必要的程序试试
回复 支持 反对

使用道具 举报

27

主题

92

帖子

253

积分

中级会员

Rank: 3Rank: 3

积分
253
QQ
 楼主| 发表于 2016-11-23 15:13:19 | 显示全部楼层
大雁子 发表于 2016-11-23 14:24
关掉一些不必要的程序试试

不对,问题还是原来的。应该跟内存没有关系
回复 支持 反对

使用道具 举报

1

主题

1831

帖子

821

积分

高级会员

Rank: 4

积分
821
QQ
发表于 2016-11-23 15:22:18 | 显示全部楼层
本帖最后由 大雁子 于 2016-11-23 15:25 编辑

一、你的工程里面有没有后缀为doc的文件二、有没有使用360杀毒软件,在360中可以把x5的目录设置到白名单中
回复 支持 反对

使用道具 举报

27

主题

92

帖子

253

积分

中级会员

Rank: 3Rank: 3

积分
253
QQ
 楼主| 发表于 2016-11-23 19:11:20 | 显示全部楼层
大雁子 发表于 2016-11-23 15:22
一、你的工程里面有没有后缀为doc的文件二、有没有使用360杀毒软件,在360中可以把x5的目录设置到白名单中
...

打如包中的资源不含doc  ,360杀毒都已经退出了。问题还是没变
回复 支持 反对

使用道具 举报

0

主题

245

帖子

515

积分

高级会员

Rank: 4

积分
515
QQ
发表于 2016-11-29 12:17:15 | 显示全部楼层
怀疑是您的打包的模板出了问题,解压下面的压缩包,替换掉您的模板试试看。

49F90FA8-69BB-4E4C-97D9-8C37271D65FE.png

ios.zip

861.75 KB, 下载次数: 78

回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-4-5 07:05 , Processed in 0.059827 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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