Xcode 9.0 / 9.0.1 / 9.2 + iOS 11 simulator:
If you have performance issues with Xcode versions: 9.0 / 9.0.1 / 9.2 iOS 11 Simulator with Spritekit game projects or with OpenGL related projects, this is a known bug:
An error in OpenGLES.framework broke JL LLVM, so all shaders return to interpreted execution. (Twitter)
Decision:
Apple fixed this in the release of Xcode 9.1, but now in 9.2 the simulator is slow again ... :(
This is a temporary solution until Apple fixes it in the next release of Xcode ... This simulator performance issue only exists if you select iOS 11 Simulator. iOS 10 Simulator does not have this error.
1.) Exit Xcode and the simulator
2.) Download libCoreVMClient.dylib from this link . If you don’t have Dropbox, select “No, thanks, continue browsing,” then click “Download.” Extract the zip, inside you will find the beta3 folder with the latest known libCoreVMClient working file. This is taken from Xcode 9 beta 3.
3.) Right-click the Finder icon, select "Go to Folder ...", then paste the following: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS .simruntime / Contents / Resources / RuntimeRoot / System / Library / Frameworks / OpenGLES.framework
4.) Replace the file "libCoreVMClient.dylib" here with the beta you downloaded, just overwrite and paste.
5.) Restart Xcode, now everything should be in order! :)
balazs630 05 Oct '17 at 17:12 2017-10-05 17:12
source share