報錯原因是升級以后iOS10 將libstdc++.6.0.9庫文件刪除飞几,所以只需要下載下來放進去就OK了。
1.下載地址:https://pan.baidu.com/s/10gZrtGtspgpKT7qSY-bBDg
切記兩個位置都要替換:
2.將下載文件放到指定位置
(1)真機運行庫位置
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib
(2)模擬器運行庫位置
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib