WeChatSDK 导入出问题

2017-09-25  本文已影响78人  panda_熊猫

Undefined symbols for architecture x86_64:

"_OBJC_CLASS_$_CTTelephonyNetworkInfo", referenced from:

objc-class-ref in libWeChatSDK.a(MTAHelper.o)

ld: symbol(s) not found for architecture x86_64

clang: error:linker command failed with exit code 1 (use -v to see invocation)

以上问题需要导入::CoreTelephony.framework

Undefined symbols for architecture x86_64:

"operator delete[](void*)", referenced from:

+[WeChatApiUtil EncodeBase64:] in libWeChatSDK.a(WeChatApiUtil.o)

+[WeChatApiUtil NsDataEncodeBase64:] in libWeChatSDK.a(WeChatApiUtil.o)

+[WeChatApiUtil DecodeWithBase64:] in libWeChatSDK.a(WeChatApiUtil.o)

+[WeChatApiUtil DecodeBase64:] in libWeChatSDK.a(WeChatApiUtil.o)

"operator new[](unsigned long)", referenced from:

+[WeChatApiUtil EncodeBase64:] in libWeChatSDK.a(WeChatApiUtil.o)

+[WeChatApiUtil NsDataEncodeBase64:] in libWeChatSDK.a(WeChatApiUtil.o)

+[WeChatApiUtil DecodeWithBase64:] in libWeChatSDK.a(WeChatApiUtil.o)

+[WeChatApiUtil DecodeBase64:] in libWeChatSDK.a(WeChatApiUtil.o)

ld: symbol(s) not found for architecture x86_64

clang: error:linker command failed with exit code 1 (use -v to see invocation)

这个需要导入  libc++.tbd        (xcode里面)

上一篇 下一篇

猜你喜欢

热点阅读