升级了Xcode,但我不用它,而是用的vscode remote SSH(windows -> macos M1) + cmake,结果vscode里调试报错。
直接手动运行/usr/bin/clang --version都报错。
知情人士告知升级完Xcode后要运行它一次。
为啥升级完后不自动运行一次初始化。还得手动运行Xcode,或者手动运行xcodebuild -runFirstLaunch。
2022-09-29 16:24:18.021 xcodebuild[1641:13393] [MT] DVTPlugInLoading: Failed to load code for plug-in com.apple.dt.IDESimulatorAvailability (/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin), error = Error Domain=NSCocoaErrorDomain Code=3588 "dlopen(/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, 0x0109): Symbol not found: (_OBJC_CLASS_$_SimDiskImage)
--
FROM 221.220.168.*