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

QQ登录

只需一步,快速开始

查看: 1934|回复: 6

[结贴] 使用V3.5打包服务器打包IOS报错

[复制链接]

10

主题

56

帖子

138

积分

初级会员

Rank: 2

积分
138
QQ
发表于 2016-10-11 22:56:17 | 显示全部楼层 |阅读模式
In file included from /Volumes/X5/WeX5/model/Native/.workspace/C7257B220FF00001C2671E302FD01A84/build/platforms/ios/gmyy/Plugins/com.justep.cordova.plugin.qq/QQ.m:1:
/Volumes/X5/WeX5/model/Native/.workspace/C7257B220FF00001C2671E302FD01A84/build/platforms/ios/gmyy/Plugins/com.justep.cordova.plugin.qq/QQ.h:3:9: fatal error: 'TencentOpenAPI/TencentOAuth.h' file not found
#import <TencentOpenAPI/TencentOAuth.h>
        ^
1 error generated.

CompileC build/gmyy.build/Debug-iphoneos/gmyy.build/Objects-normal/armv7/SQLitePlugin.o gmyy/Plugins/com.brodysoft.sqlitePlugin/SQLitePlugin.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Volumes/X5/WeX5/model/Native/.workspace/C7257B220FF00001C2671E302FD01A84/build/platforms/ios
    export LANG=en_US.US-ASCII
    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/clang -x objective-c -arch armv7 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c99 -fobjc-arc -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-implicit-atomic-properties -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -miphoneos-version-min=6.0 -g -fvisibility=hidden -Wno-sign-conversion -iquote /Volumes/X5/WeX5/model/Native/.workspace/C7257B220FF00001C2671E302FD01A84/build/platforms/ios/build/gmyy.build/Debug-iphoneos/gmyy.build/gmyy-generated-files.hmap -I/Volumes/X5/WeX5/model/Native/.workspace/C7257B220FF00001C2671E302FD01A84/build/platforms/ios/build/gmyy.build/Debug-iphoneos/gmyy.build/gmyy-own-target-headers.hmap -I/Volumes/X5/WeX5/model/Native/.workspace/C7257B220FF00001C2671E302FD01A84/build/platforms/ios/build/gmyy.build/Debug-iphoneos/gmyy.build/gmyy-all-target-headers.hmap -iquote /Volumes/X5/WeX5/model/Native/.workspace/C7257B220FF00001C2671E302FD01A84/build/platforms/ios/build/gmyy.build/Debug-iphoneos/gmyy.build/gmyy-project-headers.hmap -I/Volumes/X5/WeX5/model/Native/.workspace/C7257B220FF00001C2671E302FD01A84/build/platforms/ios/build/device/include -I/Volumes/X5/WeX5/model/Native/.workspace/C7257B220FF00001C2671E302FD01A84/build/platforms/ios/build/device/usr/local/lib/include -I/Volumes/X5/WeX5/model/Native/.workspace/C7257B220FF00001C2671E302FD01A84/build/platforms/ios/build/UninstalledProducts/include -I/Volumes/X5/WeX5/model/Native/.workspace/C7257B220FF00001C2671E302FD01A84/build/platforms/ios/build/device -I/Volumes/X5/WeX5/model/Native/.workspace/C7257B220FF00001C2671E302FD01A84/build/platforms/ios/build/gmyy.build/Debug-iphoneos/gmyy.build/DerivedSources/armv7 -I/Volumes/X5/WeX5/model/Native/.workspace/C7257B220FF00001C2671E302FD01A84/build/platforms/ios/build/gmyy.build/Debug-iphoneos/gmyy.build/DerivedSources -F/Volumes/X5/WeX5/model/Native/.workspace/C7257B220FF00001C2671E302FD01A84/build/platforms/ios/build/device -FgmyyPluginscom.justep.cordova.plugin.qq -FgmyyPluginscom.justep.cordova.plugin.alipay -include /Volumes/X5/WeX5/model/Native/.workspace/C7257B220FF00001C2671E302FD01A84/build/platforms/ios/build/sharedpch/gmyy-Prefix-hfrwmuxdppgxfkgstpispjsmecye/gmyy-Prefix.pch -MMD -MT dependencies -MF /Volumes/X5/WeX5/model/Native/.workspace/C7257B220FF00001C2671E302FD01A84/build/platforms/ios/build/gmyy.build/Debug-iphoneos/gmyy.build/Objects-normal/armv7/SQLitePlugin.d --serialize-diagnostics /Volumes/X5/WeX5/model/Native/.workspace/C7257B220FF00001C2671E302FD01A84/build/platforms/ios/build/gmyy.build/Debug-iphoneos/gmyy.build/Objects-normal/armv7/SQLitePlugin.dia -c /Volumes/X5/WeX5/model/Native/.workspace/C7257B220FF00001C2671E302FD01A84/build/platforms/ios/gmyy/Plugins/com.brodysoft.sqlitePlugin/SQLitePlugin.m -o /Volumes/X5/WeX5/model/Native/.workspace/C7257B220FF00001C2671E302FD01A84/build/platforms/ios/build/gmyy.build/Debug-iphoneos/gmyy.build/Objects-normal/armv7/SQLitePlugin.o
** BUILD FAILED **


The following build commands failed:
        CompileC build/gmyy.build/Debug-iphoneos/gmyy.build/Objects-normal/armv7/QQ.o gmyy/Plugins/com.justep.cordova.plugin.qq/QQ.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

ERROR building one of the platforms: Error: /Volumes/X5/WeX5/model/Native/.workspace/C7257B220FF00001C2671E302FD01A84/build/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,/Volumes/X5/WeX5/model/Native/.workspace/C7257B220FF00001C2671E302FD01A84/build/platforms/ios/cordova/build-debug.xcconfig,-project,gmyy.xcodeproj,ARCHS=armv7 arm64,-target,gmyy,-configuration,Debug,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=/Volumes/X5/WeX5/model/Native/.workspace/C7257B220FF00001C2671E302FD01A84/build/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Volumes/X5/WeX5/model/Native/.workspace/C7257B220FF00001C2671E302FD01A84/build/platforms/ios/build/sharedpch
Error: /Volumes/X5/WeX5/model/Native/.workspace/C7257B220FF00001C2671E302FD01A84/build/platforms/ios/cordova/build: Command failed with exit code 2

10

主题

56

帖子

138

积分

初级会员

Rank: 2

积分
138
QQ
 楼主| 发表于 2016-10-11 22:59:24 | 显示全部楼层
本帖最后由 chenyoucai 于 2016-10-12 09:26 编辑

尝试把JPUSH取消勾选了,再次打包时还报错:
In file included from /Volumes/X5/WeX5/model/Native/.workspace/C7257B220FF00001C2671E302FD01A84/build/platforms/ios/gmyy/Plugins/com.justep.cordova.plugin.qq/QQ.m:1:
/Volumes/X5/WeX5/model/Native/.workspace/C7257B220FF00001C2671E302FD01A84/build/platforms/ios/gmyy/Plugins/com.justep.cordova.plugin.qq/QQ.h:3:9: fatal error: 'TencentOpenAPI/TencentOAuth.h' file not found
#import <TencentOpenAPI/TencentOAuth.h>
        ^
1 error generated.

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


The following build commands failed:
        CompileC build/gmyy.build/Debug-iphoneos/gmyy.build/Objects-normal/armv7/QQ.o gmyy/Plugins/com.justep.cordova.plugin.qq/QQ.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Error code 65 for command: xcodebuild with args: -xcconfig,/Volumes/X5/WeX5/model/Native/.workspace/C7257B220FF00001C2671E302FD01A84/build/platforms/ios/cordova/build-debug.xcconfig,-project,gmyy.xcodeproj,ARCHS=armv7 arm64,-target,gmyy,-configuration,Debug,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=/Volumes/X5/WeX5/model/Native/.workspace/C7257B220FF00001C2671E302FD01A84/build/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Volumes/X5/WeX5/model/Native/.workspace/C7257B220FF00001C2671E302FD01A84/build/platforms/ios/build/sharedpch
Error: /Volumes/X5/WeX5/model/Native/.workspace/C7257B220FF00001C2671E302FD01A84/build/platforms/ios/cordova/build: Command failed with exit code 2


请大家看看是什么原因啊,qq插件还有什么特殊要求吗?
JPUSH插件打IOS包也有什么特殊要求吗?
回复 支持 反对

使用道具 举报

发表于 2016-10-12 10:03:19 | 显示全部楼层
chenyoucai 发表于 2016-10-11 22:59
尝试把JPUSH取消勾选了,再次打包时还报错:
In file included from /Volumes/X5/WeX5/model/Native/.works ...

你是怀疑QQ 插件 或 push插件引起的吗?
那就先不要打包这两个插件试试!  
看看:http://bbs.wex5.com/forum.php?mo ... 8&pid=165261668
请问你是哪个版本的WEX5 , xcode版本是多少?
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

10

主题

56

帖子

138

积分

初级会员

Rank: 2

积分
138
QQ
 楼主| 发表于 2016-10-12 21:25:31 | 显示全部楼层
wex5是3.4,Xcode是7.3.1
回复 支持 反对

使用道具 举报

10

主题

56

帖子

138

积分

初级会员

Rank: 2

积分
138
QQ
 楼主| 发表于 2016-10-12 21:27:55 | 显示全部楼层
liangyongfei 发表于 2016-10-12 10:03
你是怀疑QQ 插件 或 push插件引起的吗?
那就先不要打包这两个插件试试!  
看看:http://bbs.wex5.com/f ...

wex5是3.4,Xcode是7.3.1
回复 支持 反对

使用道具 举报

10

主题

56

帖子

138

积分

初级会员

Rank: 2

积分
138
QQ
 楼主| 发表于 2016-10-12 22:15:34 | 显示全部楼层
chenyoucai 发表于 2016-10-12 21:27
wex5是3.4,Xcode是7.3.1

成功了,谢谢!
回复 支持 反对

使用道具 举报

0

主题

2

帖子

4

积分

新手上路

Rank: 1

积分
4
QQ
发表于 2016-10-28 11:41:42 | 显示全部楼层
The following build commands failed:
        CompileC build/ddz.build/Debug-iphoneos/ddz.build/Objects-normal/armv7/QQ.o ddz/Plugins/com.justep.cordova.plugin.qq/QQ.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Error code 65 for command: xcodebuild with args: -xcconfig,/Volumes/X5/WeX5/model/Native/.workspace/C746E53E8F70000154C01B5010FD13F3/build/platforms/ios/cordova/build-debug.xcconfig,-project,ddz.xcodeproj,ARCHS=armv7 arm64,-target,ddz,-configuration,Debug,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=/Volumes/X5/WeX5/model/Native/.workspace/C746E53E8F70000154C01B5010FD13F3/build/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Volumes/X5/WeX5/model/Native/.workspace/C746E53E8F70000154C01B5010FD13F3/build/platforms/i

D:\WeX5\tools\cordova\node_modules\cordova-lib\node_modules\xcode\lib用附件替换

pbxProject.rar

5.22 KB, 下载次数: 30

回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-24 11:06 , Processed in 0.060901 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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