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

今天升级了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即可。

你可能感兴趣的:(XCode14 libobjc.A.dylib is being read from process memory.)