IOS微信API異常:unrecognized selector sent to instance 0x17005c9b0'

開發IOS整合微信API的時候,在運行程序的過程當中可能會在註冊你的APPID的時候拋出此異常而致使程序崩潰。html

 

異常描述

[7661:2826851] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSArrayM enqueue:]: unrecognized selector sent to instance 0x17005c9b0'微信

 

開發環境

IOS:10app

Xcode:8ui

 

解決方案

Target->Buid Settings->Linking 下 Other Linker Flags 項添加-all_loadspa

 

有關Other Linker Flags請參考:http://www.cnblogs.com/robinkey/archive/2013/05/27/3101095.htmlcode

相關文章
相關標籤/搜索