You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CapacitorGoogleMaps/Map.swift:134: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value #135
After ionic build and npx cap sync commands, i run the app via Xcode 26 on simulator iPad Air 13-inch (M3) iOS 18.5 and got this error in Xcode debug console:
CapacitorGoogleMaps/Map.swift:134: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value
and the following into the render() method of the Map.swift class :
let minZoom = self.config.minZoom.map { Float($0) } ?? self.mapViewController.GMapView.minZoom
Thread 1: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value
Expected Behavior
the map should render normally as usual like on other devices and simulators.
Code Reproduction
Other Technical Details
I don't have this issue on iphone 16 pro max, iphone 17 pro max simulators and iphone 11 pro max device
Additional Context
i have upgraded my Xcode recently to Xcode 26 but i had the same issue before
Hey @OS-pedrogustavobilro I am still getting this error on 7.2.0, it doesn't work on simulator, physical iOS devices (iPhone 17pm, iphone 12,) and iOS devices on browserstack.
@gerymeli@sq-tupai@bilalsaeed I'm not able to reproduce the crash, are you able to create/share a reproduction sample app (Github repo link) to reproduce the crash please?
Activity
OS-pedrogustavobilro commentedon Oct 3, 2025
Hey @gerymeli thanks for opening the issue. Could you try with the latest version, 7.2.0. I believe that error is fixed in 7.2.0.
Thank you!
sq-tupai commentedon Oct 28, 2025
In my app still crashes if set
forceCreate: true, remove it solves the crash.bilalsaeed commentedon Nov 10, 2025
Hey @OS-pedrogustavobilro I am still getting this error on 7.2.0, it doesn't work on simulator, physical iOS devices (iPhone 17pm, iphone 12,) and iOS devices on browserstack.
OS-pedrogustavobilro commentedon Jan 2, 2026
@gerymeli @sq-tupai @bilalsaeed I'm not able to reproduce the crash, are you able to create/share a reproduction sample app (Github repo link) to reproduce the crash please?