新浪微博SDK抛出异常-[__NSDictionaryM weibosdk_WBSDKJSONString]: unrecognized selector sent to instance 0x7fb

来源:互联网 发布:网页游戏挂机软件 编辑:程序博客网 时间:2024/05/01 13:02

使用xcode6.1创建的项目, 添加新浪SDK,运行[WeiboSDK registerApp:kAppKey];这一步崩溃,抛出以下

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSDictionaryM weibosdk_WBSDKJSONString]: unrecognized selector sent to instance 0x7fb7315a89e0'


解决方法:

在 Build Settings 中的 Other Linker Flags 修改为 -all_load

0 0
原创粉丝点击