|
支付宝插件打安卓包的时候没有任何问题,在打ios包的时候就会出现打包问题,具体报错信息如下:
Ld build/device/iSecurity.app/iSecurity normal armv7
cd /Volumes/X5/WeX5/model/Native/.workspace/C7299C106B100001C7FECCA063A0191F/build/platforms/ios
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/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk -L/Volumes/X5/WeX5/model/Native/.workspace/C7299C106B100001C7FECCA063A0191F/build/platforms/ios/build/device -L/Volumes/X5/WeX5/model/Native/.workspace/C7299C106B100001C7FECCA063A0191F/build/platforms/ios/iSecurity/Plugins/com.justep.cordova.plugin.alipay -L/Volumes/X5/WeX5/model/Native/.workspace/C7299C106B100001C7FECCA063A0191F/build/platforms/ios/iSecurity/Plugins/cn.jpush.phonegap.JPushPlugin -F/Volumes/X5/WeX5/model/Native/.workspace/C7299C106B100001C7FECCA063A0191F/build/platforms/ios/build/device -FiSecurity/Plugins/com.justep.cordova.plugin.alipay -filelist /Volumes/X5/WeX5/model/Native/.workspace/C7299C106B100001C7FECCA063A0191F/build/platforms/ios/build/iSecurity.build/Debug-iphoneos/iSecurity.build/Objects-normal/armv7/iSecurity.LinkFileList -miphoneos-version-min=6.0 -dead_strip -weak_framework CoreFoundation -weak_framework UIKit -weak_framework AVFoundation -weak_framework CoreMedia -weak-lSystem -ObjC -fobjc-arc -fobjc-link-runtime -framework AssetsLibrary /Volumes/X5/WeX5/model/Native/.workspace/C7299C106B100001C7FECCA063A0191F/build/platforms/ios/build/device/libCordova.a -framework CoreGraphics -framework MobileCoreServices -lcrypto -lssl -framework Security -framework SystemConfiguration -framework AlipaySDK -framework CoreMotion -framework CoreTelephony -lz -framework QuartzCore -weak_framework ImageIO -framework CoreLocation -framework AVFoundation /Volumes/X5/WeX5/model/Native/.workspace/C7299C106B100001C7FECCA063A0191F/build/platforms/ios/iSecurity/Plugins/cn.jpush.phonegap.JPushPlugin/jpush-ios-2.1.7.a -weak_framework CFNetwork -weak_framework CoreFoundation -weak_framework Foundation -weak_framework UIKit -weak-lz -weak_framework AdSupport -Xlinker -dependency_info -Xlinker /Volumes/X5/WeX5/model/Native/.workspace/C7299C106B100001C7FECCA063A0191F/build/platforms/ios/build/iSecurity.build/Debug-iphoneos/iSecurity.build/Objects-normal/armv7/iSecurity_dependency_info.dat -o /Volumes/X5/WeX5/model/Native/.workspace/C7299C106B100001C7FECCA063A0191F/build/platforms/ios/build/device/iSecurity.app/iSecurity
Undefined symbols for architecture armv7:
"std::nothrow", referenced from:
CAliSecXBuffer::CAliSecXBuffer(unsigned long) in AlipaySDK
CAliSecXBuffer::_copy(unsigned char const*, unsigned long) in AlipaySDK
CAliSecXBuffer::resize(unsigned long) in AlipaySDK
"operator new[](unsigned long, std::nothrow_t const&)", referenced from:
CAliSecXBuffer::CAliSecXBuffer(unsigned long) in AlipaySDK
CAliSecXBuffer::_copy(unsigned char const*, unsigned long) in AlipaySDK
CAliSecXBuffer::resize(unsigned long) in AlipaySDK
"___gxx_personality_sj0", referenced from:
+[ASSStorageAccesser saveStorageModel:] in AlipaySDK
+[ASSStorageAccesser loadStorageModelFromKeychain] in AlipaySDK
+[ASSStorageAccesser loadPreviousApdid] in AlipaySDK
+[ASSStorageAccesser getRandomizedID] in AlipaySDK
+[ASSStorageAccesser getNewRadomizedID] in AlipaySDK
+[ASSStorageAccesser loadLastLoginTime] in AlipaySDK
+[ASSStorageAccesser saveCurrentLoginTime:] in AlipaySDK
...
"operator delete[](void*)", referenced from:
CAliSecXBuffer::~CAliSecXBuffer() in AlipaySDK
CAliSecXBuffer::resize(unsigned long) in AlipaySDK
alisec_crypto_Bin2Hex(CAliSecXBuffer const&) in AlipaySDK
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
** BUILD FAILED **
The following build commands failed:
Ld build/device/iSecurity.app/iSecurity normal armv7
(1 failure)
Error code 65 for command: xcodebuild with args: -xcconfig,/Volumes/X5/WeX5/model/Native/.workspace/C7299C106B100001C7FECCA063A0191F/build/platforms/ios/cordova/build-debug.xcconfig,-project,iSecurity.xcodeproj,ARCHS=armv7 arm64,-target,iSecurity,-configuration,Debug,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=/Volumes/X5/WeX5/model/Native/.workspace/C7299C106B100001C7FECCA063A0191F/build/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Volumes/X5/WeX5/model/Native/.workspace/C7299C106B100001C7FECCA063A0191F/build/platforms/ios/build/sharedpch
ERROR building one of the platforms: Error: /Volumes/X5/WeX5/model/Native/.workspace/C7299C106B100001C7FECCA063A0191F/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: /Volumes/X5/WeX5/model/Native/.workspace/C7299C106B100001C7FECCA063A0191F/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
请大神帮忙看看是什么问题 |
|