1. 程式人生 > >Xcode 10 找不到 library not found for -lstdc++.6.0.9

Xcode 10 找不到 library not found for -lstdc++.6.0.9

解決方案 :

  • 真機
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/
  • 模擬器
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/

1:首先開啟連結下載libstdc++.6.0.9.tbd;

      連結:https://pan.baidu.com/s/17M_Gbg4AuWzhxzF2QGIduQ  密碼:yc0m

2:進入到上述目錄下,把libstdc++.6.0.9.tbd複製進去;

3:恭喜你,編譯成功