Xcode 10-10.3 问题汇总

Xcode10.3 (10G8) 版本后模拟器消失

Invalid runtime: com.apple.CoreSimulator.SimRuntime.iOS-12-4

  • Kill all simulator processes
$ sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService
  • Set the correct Xcode path
$ sudo xcode-select -s  /Applications/Xcode.app/Contents/Developer
  • If that doesn’t work, reset all simulators
$ xcrun simctl erase all

Xcode10 Version 10.0 (10A255)发布

① libstdc++.6.0.9问题

最典型的就是[libstdc++.6.0.9问题]
这个错误原因是因为Xcode10中去掉了lstdc++.6.0.9.tbd动态库,
1.我们可以去Xcode9中移出该文件.路径为

// 真机测试库地址  
/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

2.笔者提供的下载地址

https://github.com/codesourse/libstdc-

② 编辑报info.plist错误

删除报错 的 info.plist

③ 创建文件无联想

在Xcode菜单栏选择File-- Workspace Setting就会出现如下的界面

可以看出Xcode10是默认选中的最新的New Build System(Default)
我们只有选择原来的 Legacy Build System 就可以了

你可能感兴趣的:(Xcode 10-10.3 问题汇总)