Platform: iOS
Mapbox SDK version: master@dfc5d51ae150b92ce2645d34383f04361d784bc3 Xcode Version 9.0 beta 6 (9M214v)
Map pans smoothly
Map is extremely slugish
Thanks for the report @JesseCrocker.
Noting that I've been working with Xcode 9 b6 a lot and have not noticed extreme slowness of the operation of the Mapbox map view in the simulator. We will watch for this issue though.
This is evidently an endemic issue for the Xcode 9 simulator 鈥斅燤aps.app is, I daresay, even worse. 馃槵
Im seeing this issue in the sample app, and in my own applications.
Possibly relevant info: Im using a retina iMac, but the simulator is running on a second screen that is not retina.
@JesseCrocker I do see this. I think I had tested in the simulator in an earlier beta and I've just been using a device recently and did not notice the regression.
As @friedbunny noted, this appears to be an issue with betas of Xcode 9 after beta 3. This thread has more details including a workaround that I've not tried (and may not actually help much according to the comments).
A radar has been filed and it would be helpful to file additional radars with Apple and duplicate the ones noted here: https://github.com/lionheart/openradar-mirror/issues/18093.
Let's leave this issue open for tracking purposes and hope that this gets fixed before the GM release of Xcode!
cc @bsudekum
Also noticing this, as well as macOS demo app as well. It's just very sluggish zooming and panning. Far from smooth. I'm using latest of Xcode 8. Maps.app is smooth as butter for comparison.
I can confirm that SpriteKit also is very slow. Runs in 2.1 fps instead of about 40 fps. Totally useless. Then I downloaded a simulator running iOS 10.3.1. And to my big surprise it runs ok! So the problem is not Xcode 9, the problem is the iOS 11 simulators.
Noting that the Xcode 9 GM did not fix this issue.
That's not Mapbox issue - even MapKit is soo laggy in iOS 11 simulator.
Maybe, but separate issue. Even compiled and archived macOS have this performance problem whereas Maps.app does not.
FWIW the first public release of Xcode 9 did not resolve the issue. Here's the radar: https://openradar.appspot.com/radar?id=6138518606708736
Apple's own Maps app in iOS 11 simulator DOES exhibit this issue.
I am having the same issue with the official XCode 9 + iOS 11 Simulator.
This is officially confirmed to be an issue with Xcode 9.0 and its iOS 11 simulator 鈥斅爄t affects any OpenGL-using application.
Various hacky workarounds exist, such as this one suggested by the same Xcode team member:
This is entirely unsupported but you can copy libCoreVMClient.dylib from beta 3 into the GM and it will restore performance.
The workaround from Apple forum works for me.
Replace the following file with beta 3 or before version:
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
I must say this isn't map related. My SpriteKit app went from relatively slow compared to real device to < 1 FPS.
Replace the following file with beta 3 or before version:
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
Could anyone please upload the file libCoreVMClient.dylib from Beta 3 here so I can download and fix the issue with my Xcode 9?
I couldn't seem to find anywhere to download Xcode 9 beta 3 to acquire the file.
Not sure if this is beta 2 or 3, but works for me. Here is the attached file.
_redacted_
@asetiyadi Awesome. Thanks, mate! It worked for me.
It鈥檚 definitely frustrating that this bug continues to exist, but please do not redistribute Apple software here.
This issue has run its course and the cause has been identified as beyond the scope of this project. Let鈥檚 cross our fingers and hope for an official fix in Xcode 9.1.
From the Xcode 9.1 release notes:
- Fixes an issue in Simulator that impacted the performance of OpenGL ES and maps
Most helpful comment
Apple's own Maps app in iOS 11 simulator DOES exhibit this issue.