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 · Aug 4, 2015 · 2110 views
    This topic created in 4020 days ago, the information mentioned may be changed or developed.
    集成微信的过程中遇到了编译不过的问题:
    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 replies    2015-08-05 15:10:13 +08:00
    kepenj
        1
    kepenj  
       Aug 5, 2015
    BAT 开放的SDK出了名的文档屎~
    SeanChense
        2
    SeanChense  
    OP
       Aug 5, 2015
    @kepenj 深有同感
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5531 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 01:36 · PVG 09:36 · LAX 18:36 · JFK 21:36
    ♥ Do have faith in what you're doing.