- 打開(kāi)
libstdc--xcode10 c++
文件夾概荷,打開(kāi)install.sh
- 以第一個(gè)路徑為例子
-
/Users/xxx/Downloads/Xcode10.0libstdc-master/libstdc--xcode10 c++
為文件夾所在路徑 - 如果此文件夾在下載文件夾中 則可以用你的用戶名替換
xxx
- 直接拖拽文件夾到
install.sh
中獲取路徑
-
sudo cp /Users/xxx/Downloads/Xcode10.0libstdc-master/libstdc--xcode10 c++/1/* /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/
- 在終端執(zhí)行
install.sh
即可添加所有l(wèi)ibstdc的庫(kù)文件