Xcode 10上的模拟器变得非常慢 [英] Simulator on Xcode 10 became terribly slow

查看:460
本文介绍了Xcode 10上的模拟器变得非常慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一切都在Xcode 9上运行完美.但是在更新到Xcode 10之后,Simulator开始出现巨大的滞后.超级简单的动画以2 fps的速度运行,而整个Simulator上的动画运行时,整个Mac OS的运行速度都非常慢.有人知道会发生什么以及如何解决吗?任何应用程序或任何标准iOS应用程序都一样慢.

Everything worked perfect on Xcode 9. But after updating to Xcode 10, Simulator started to get huge lags. Super simple animation is working on 2 fps and whole Mac OS is super slow while animation on Simulator is working. Anybody know what happens and how to fix that? Any app or any standard iOS app is the same terrible slow.

说明-我可以使用Command⌘+ T切换不是慢动作,而是在谈论巨大的延迟.当UIView飞行时,它会抖动地出现在另一个位置.动画不流畅缓慢. 2 fps不是慢动作.它是相同的快动作,但速度为2 FPS!

Explanation — it is NOT about slow motion that I can switch with Command⌘ + T. I am talking about huge lags. When UIView is flying it appears in another position jerkily. Not smooth slow animation. 2 fps is not slow motion. It is the same fast motion but in 2 FPS!

推荐答案

下载iOS11.4模拟器并进行尝试.缺点是您无法测试iOS12.但是至少您可以使用Xcode 10并发布该应用程序. 注意:不要着急获得Xcode 9.4.1.或其他版本.它无法解决问题. 诀窍是在您第一次运行Xcode 10之后,它将新的coresimulator框架安装到您的根文件夹中.

download iOS11.4 simulator and try it. The downside is you cannot test iOS12. But at least you can work on Xcode 10 and get the App released. Note: don’t bother to get Xcode 9.4.1. Or other versions. It won’t fix the problem. The trick is after you run Xcode 10 the first time, it installed the new coresimulator framework to your root folder.

这篇关于Xcode 10上的模拟器变得非常慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆