繁体   English   中英

Xcode 9模拟器很慢

[英]Xcode 9 Simulator slow

当第一次运行应用程序时,Xcode 9 iOS 11模拟器速度极慢。 有谁经历过同样的经历? 模拟器的慢动画功能已取消选中。

是的,这只是Xcode一个错误

iOS 11 / tvOS 11 / watchOS 4模拟器中的OpenGLES.framework中存在一个错误,导致它们跳过加载LLVM JIT并回退到解释着色器。 这对模拟器有严重的性能影响,因为它完全是软件渲染的OpenGL(包括CoreAnimation,SceneKit等)。

你需要从Xcode 9b3交换OpenGLES.framework

作为临时解决方法,您可以将Beta 3中的libCoreVMClient.dylib复制到Xcode 9 GMxcode 9.0.1

对于iOS,它位于:

Xcode[-beta].app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/OpenGLES.framework/libCoreVMClient.dylib

对于tvOS,它位于:

Xcode[-beta].app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/tvOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/OpenGLES.framework/libCoreVMClient.dylib  

对于watchOS,它位于:

Xcode[-beta].app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/watchOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/OpenGLES.framework/libCoreVMClient.dylib  

请查看以下链接:

Apple开发者论坛

Xcode 9模拟器非常慢

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM