V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
SeanChense
V2EX  ›  iDev

希望微信的 SDK 工作人员能更新下文档

  •  
  •   SeanChense · 2015-08-04 21:14:40 +08:00 · 1617 次点击
    这是一个创建于 3400 天前的主题,其中的信息可能已经有所发展或是发生改变。
    集成微信的过程中遇到了编译不过的问题:
    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




    1.Library Search Paths 已指向
    2.文档上说明的库均已加入

    动手搜索了『iOS 集成微信 sdk』看到了 /t/168888 179 天前的帖子,只有最后一个说对了『导入libc++.dylib』
    搜索了『DecodeWithBase64』看到了 http://stackoverflow.com/q/28778965/3683845 提问者自问自答简直血与泪的控诉。I spent probably 30 miserable hours looking for this answer. I hope you find this post in less than 1. enjoy.

    http://ilovetile.com/3452 2015/04/09 的文章

    http://years.im/Home/Article/detail/id/55.html 看到这位博主提到其它 SDK 也有类似情况


    所以,如果你觉得你都对了,但是死活编译不了

    请加入 libc++.dylib
    please add libc++.dylib

    请加入 libc++.dylib
    please add libc++.dylib

    请加入 libc++.dylib
    please add libc++.dylib


    SEO: iOS Xcode 微信 WeChat weixin SDK 编译失败 x86_64
    2 条回复    2015-08-05 15:10:13 +08:00
    kepenj
        1
    kepenj  
       2015-08-05 13:02:08 +08:00
    BAT 开放的SDK出了名的文档屎~
    SeanChense
        2
    SeanChense  
    OP
       2015-08-05 15:10:13 +08:00
    @kepenj 深有同感
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5577 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 09:18 · PVG 17:18 · LAX 01:18 · JFK 04:18
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.