iOS Simulator Crashes #568
Replies: 5 comments
-
It just did what you asked for today 😄. Check out this branch, run I can't state, that 6.5.4 was unstable for me. I can't remember cases, in which I had crashes. Were there reproducible steps, to create crashes? I work lots within the iOS simulator on an M1 chip, works great. |
Beta Was this translation helpful? Give feedback.
-
Awesome, thanks @KiwiKilian I haven't migrated to Yarn yet, but I'll see if I can try that out! |
Beta Was this translation helpful? Give feedback.
-
You only have to use I keep this one open to see, if we can sort something out about your simulator issues. Bumping the native version is already part of #531. |
Beta Was this translation helpful? Give feedback.
-
Hi @KiwiKilian, unfortunately it didn't solve my issue with the iOS simulator, but after testing with this, I'm pretty certain that the cause is hardware-related (GPU acceleration, as required by Metal is just not working for me). |
Beta Was this translation helpful? Give feedback.
-
I guess this then more of a concern for MapLibre Native. Did you discuss this on the #maplibre-native Slack channel? If that's a general problem on specific macOS Hardware? |
Beta Was this translation helpful? Give feedback.
-
Motivation
Related to #531
We're currently using the Aug 7th MapLibre Native iOS 6.5.4 release (https://github.com/maplibre/maplibre-native/releases/tag/ios-v6.5.4).
6.9.0 released today (Dec 16th), and it appears that there are several significant fixes and improvements in the 6 releases since 6.5.4.
I've personally encountered several roadblocks with testing my MLRN app on iOS in previous months, including MapView consistently crashing during load and C++ MetalKit draw calls, specifically on the iOS simulator with version 6.5.4. I had to acquire an iPhone to work around this, because the MapView loads fine on actual apple hardware. In the #maplibre-native and #maplibre-ios Slack channels, I previously spoke to others having similar roadblocks with the iOS simulator just not working for MapLibre Native.
I'd like to propose that we do some testing to determine if we can update to 6.8.1 or 6.9.0, and hopefully unlock iOS Simulator as a testing tool, and if we aren't ready for that then at least we can discuss other intermediate steps to get there.
Implementation / Test Setup
Testing
I will be testing with my custom app, which employs vector OSM tiles using the MapView.styleURL property
I'm using the following MLRN components:
Hopefully a couple others can test with the example app, and their custom apps
I think it would be worth developing even very simple tests that verify component mounting and/or visibility after MapView.onDidFinishLoadingMap(), perhaps assisting with Create more E2E Tests #541
Beta Was this translation helpful? Give feedback.
All reactions