您的当前位置:首页正文

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/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/

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

Multiple commands produce'/Users/user/Library/Developer/Xcode/DerivedData...

  • 方法1

xcode 10 默认是新的编译模式,选择File > Workspace Settings > Build System > Legacy Build System.,改变为之前的编译模式Legacy Build system。

  • 方法2

Open target -> Build phase > Copy Bundle Resource 删除output files 中的脚本,如果存在 info.plist 也一起删除。

delete_output.png