macOS中iOS模拟卡顿 ios simulator 高CPU占用解决办法

问题描述

已经忘记从什么时间起,iOS的模拟器只要一开启,我电脑的风扇就开始嚎叫了。我印象中以前开模拟器,风扇还是比较安静的。

开发iOS模拟器后,会有一个Spotlight进程占用了大量的CPU。

网上一搜,不止我一人这么觉得。

https://developer.apple.com/forums/thread/682253

我在这篇文章中找到了解决办法,对我有效。

解决办法

Hi all,

Seems like I was able to resolve the issue by switching off Siri &
Search in Simulator Settings. Also I went through all of the installed
apps and disabled everything there as well.

在这里插入图片描述

具体操作:
Settings=>Siri&Search
关闭所有的开关。
在这里插入图片描述
下面应用里的,所有开关也关掉。
在这里插入图片描述

然后重启iOS模拟器,问题得到解决。Spotlight进程也消失了。

参考

https://developer.apple.com/forums/thread/682253

猜你喜欢

转载自blog.csdn.net/lxyoucan/article/details/121289831