接入微信SDK64位包报错

今天上传应用,因为要兼容iOS8.3,所以把微信的SDK更新了,一更新就报下面的错误了

"_sqlite3_prepare_v2", referenced from:

      _execute_prepared_config_stmt in libWeChatSDK.a(MTAWXOStore.o)

      _execute_prepared_events_stmt in libWeChatSDK.a(MTAWXOStore.o)

  "_sqlite3_bind_text", referenced from:

      _execute_prepared_config_stmt in libWeChatSDK.a(MTAWXOStore.o)

      _execute_prepared_events_stmt in libWeChatSDK.a(MTAWXOStore.o)

  "_sqlite3_bind_int64", referenced from:

      _execute_prepared_config_stmt in libWeChatSDK.a(MTAWXOStore.o)

      _execute_prepared_events_stmt in libWeChatSDK.a(MTAWXOStore.o)

  "_sqlite3_step", referenced from:

      _execute_prepared_config_stmt in libWeChatSDK.a(MTAWXOStore.o)

      _execute_prepared_events_stmt in libWeChatSDK.a(MTAWXOStore.o)

  "_sqlite3_finalize", referenced from:

      _execute_prepared_config_stmt in libWeChatSDK.a(MTAWXOStore.o)

      _execute_prepared_events_stmt in libWeChatSDK.a(MTAWXOStore.o)

  "_sqlite3_clear_bindings", 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)

  "_inflateEnd", referenced from:

      +[MTAWXOHelper GUnzip:Out:] in libWeChatSDK.a(MTAWXOHelper.o)

  "_deflateInit2_", referenced from:

      +[MTAWXOHelper GZip:Out:] in libWeChatSDK.a(MTAWXOHelper.o)

  "_inflateInit2_", referenced from:

      +[MTAWXOHelper GUnzip: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)

  "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)


解决办法:原来是在替换SDK的时候突然少了两个库在Link Binary With Libraries  中依次加入 libsqlite3.dylib ,libz.dylib, libc++.dylib添加后就可以顺利编译通过。


转自:http://blog.csdn.net/Leeyehong_self/article/details/42972449

你可能感兴趣的:(错误总结,iOS)