标签:
今天把微信SDK_1.5加入我的程序中(我的开发环境是Xcode6.4),编译时报错:
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)
第一次用,不太懂,在百度上搜了一下,解决方案是:
1)选中TARGETS中的项目名
2)在Build Phases中找到Link Binary With Libraries
3)点击“+”号,添加一个“libc++.dylib”
4)重新编译成功
标签:
原文地址:http://www.cnblogs.com/sugeladi/p/4657123.html