新浪微博分享出现libc++abi.dylib: terminating with uncaught exception of type NSException微博微信SDK运行编译报错

SDK出现libc++abi.dylib: terminating with uncaught exception of type NSException  的问题: 解决方法

结合

# 监测bug(上线前可能需要处理掉)

pod 'AvoidCrash'  pod 'Bugly'

快速定位问题页面

步骤1:工程文件中选择Build Setting,在"Other Linker Flags"中加入"-ObjC"   ,问题就解决了,注意大小写
步骤2:使用字面量字典,如果元素中有nil值时,程序会崩溃,报异常。

原文地址:https://www.cnblogs.com/edensyd/p/9935208.html