xcode9到xcode10采坑小计.

1.模拟器和真机运行clang报错.

将libstdc++_sim.zip解压,放到目录

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/

将libstdc++.dylib_sim.zip解压,放到目录

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/

 

你可能感兴趣的:(ios,模拟器和真机运行clang报错)