码迷,mamicode.com
首页 > 微信 > 详细

iOS微信接入错误解决。~

时间:2015-06-04 06:21:45      阅读:1424      评论:0      收藏:0      [点我收藏+]

标签:symbols


爆出如下错误


Undefined symbols for architecture arm64,
Undefined symbols for architecture arm64:
  "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)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)



--------------------------------------------------------------------------------------------------------------------


加上libc++.dylib 既可解决。~

本文出自 “亮爪爪” 博客,请务必保留此出处http://nathaniel.blog.51cto.com/7915447/1658103

iOS微信接入错误解决。~

标签:symbols

原文地址:http://nathaniel.blog.51cto.com/7915447/1658103

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!