|
打IOS包报错:
The following build commands failed:
Ld build/device/测试For\ IOS.app/测试For\ IOS normal armv7
(1 failure)
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)
ERROR building one of the platforms: Error: /Volumes/X5/WeX5/model/Native/.workspace/C72C1081BC0000016F284832FE601FFC/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/C72C1081BC0000016F284832FE601FFC/build/platforms/ios/cordova/build-debug.xcconfig,-project,测试For IOS.xcodeproj,ARCHS=armv7 arm64,-target,测试For IOS,-configuration,Debug,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=/Volumes/X5/WeX5/model/Native/.workspace/C72C1081BC0000016F284832FE601FFC/build/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Volumes/X5/WeX5/model/Native/.workspace/C72C1081BC0000016F284832FE601FFC/build/platforms/ios/build/sharedpch
Error: /Volumes/X5/WeX5/model/Native/.workspace/C72C1081BC0000016F284832FE601FFC/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
百度是因为缺少依赖库引起的,请大神们说下如何解决? |
|