Xcode14 libobjc.A.dylib is being read from process memory.

1,012 阅读1分钟

今天升级了Xcode14后发现真机测试的时候会打印如下错误,并加载几分钟后才能把程序运行起来。

warning: libobjc.A.dylib is being read from process memory. This indicates that LLDB could not find the on-disk shared cache for this device. This will likely reduce debugging performance.

这是由于升级了Xcode14后符号表不一致导致的。

解决办法:

在Finder中前往下面的文件夹

~/Library/Developer/Xcode/iOS DeviceSupport`

找到你当前运行的真机系统对应的文件夹,删掉,然后重新拔插手机,等待Xcode重新fetch symbol即可。