第三方支付遇到的坑
"_sqlite3_step", referenced from:
_execute_prepared_config_stmt in libWeChatSDK.a(MTAWXOStore.o)
_execute_prepared_events_stmt in libWeChatSDK.a(MTAWXOStore.o)
"_inflate", referenced from:
+[MTAWXOHelper GUnzip:Out:] in libWeChatSDK.a(MTAWXOHelper.o)
"_deflate", referenced from:
+[MTAWXOHelper GZip:Out:] in libWeChatSDK.a(MTAWXOHelper.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)
解决办法:
在Link Binary With Libraries 中依次加入 libsqlite3.dylib ,libz.dylib, libc++.dylib添加后就可以编译通过。