Xcode12 問題
objc_msgSend運行時方法報錯,提示No matching function for call to 'objc_msgSend',google 了下,有人反饋是Xcode12的bug。Enable Strict Checking of objc_msgSend Calls 配置設為NO 無效。 所以必須要安裝下之前的版本比如11.3 ,那麼如何在MacBook上安裝多個版本的Xcode呢?可以使用xcversion。
xcversion 安裝多版本Xcode
xcversion
<code>geminstall
xcode-install
xcversionlist
xcversioninstall
11.3
xcversionselect
xcversionuninstall
11.3
/<code>
安裝Xode10 或 11以後 報錯 library not found for -libstdc++.6.0.9
將倉庫裡的文件放在下面目錄即可
<code>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/
/<code>