ios-maps-sdk icon indicating copy to clipboard operation
ios-maps-sdk copied to clipboard

App crash in simulator iOS 17.4 but iOS older versions working fine

Open MahmoudFares6700 opened this issue 1 year ago • 11 comments

Environment details

Google Maps iOS Maps version '8.3.1' or '8.4.0'

I tried the example from here, and it also crashes in the thread. https://developers.google.com/codelabs/maps-platform/maps-platform-ios-swiftui#2 Screenshot 2024-04-26 at 4 02 45 PM

MahmoudFares6700 avatar Apr 26 '24 13:04 MahmoudFares6700

If you would like to upvote the priority of this issue, please comment below or react on the original post above with :+1: so we can see what is popular when we triage.

@MahmoudFares6700 Thank you for opening this issue. 🙏 Please check out these other resources that might help you get to a resolution in the meantime:

This is an automated message, feel free to ignore.

wangela avatar Apr 26 '24 13:04 wangela

Experiencing the same. Only for the first fresh install launch after. The second launch do not crash. And only after iOS 17.4. Any news on this? @MahmoudFares6700 Did you find any workaround?

borsosbe avatar May 08 '24 11:05 borsosbe

My beta testers are getting the crash 100% all the time, as a workaround I build the project with Xcode 15.2.

chokokatana avatar May 22 '24 10:05 chokokatana

Same here, the exact same behaviour that @borsosbe is describing

stephanpavlovic avatar May 23 '24 09:05 stephanpavlovic

My beta testers are getting the crash 100% all the time, as a workaround I build the project with Xcode 15.2.

Yes, we are having the same issue. I tried to use xcode v15.3 and v15.2, but my emulator still crashes with the same error that is mentioned in this issue. How to you make this workaround? Do you use a specific version of google-maps? I was on version 7.5

ngmiduc avatar May 23 '24 10:05 ngmiduc

Yes, we are having the same issue. I tried to use xcode v15.3 and v15.2, but my emulator still crashes with the same error that is mentioned in this issue. How to you make this workaround? Do you use a specific version of google-maps? I was on version 7.5

For the record I haven't been able to get crashes in simulators using pod 'GoogleMaps', '8.3.1', maybe there are more build settings that affect this.

I build releases from the command line with scripts, so when the problems started with 15.3, I installed 15.2 side by side and in Xcode preferences modified the command line tools to use 15.2. Note that when Xcode was updated to 15.4, it silently overwrote this setting, so betatesters got crashes again until I discovered and set the command line tools back to 15.2.

chokokatana avatar May 23 '24 14:05 chokokatana

Yes, we are having the same issue. I tried to use xcode v15.3 and v15.2, but my emulator still crashes with the same error that is mentioned in this issue. How to you make this workaround? Do you use a specific version of google-maps? I was on version 7.5

For the record I haven't been able to get crashes in simulators using pod 'GoogleMaps', '8.3.1', maybe there are more build settings that affect this.

I build releases from the command line with scripts, so when the problems started with 15.3, I installed 15.2 side by side and in Xcode preferences modified the command line tools to use 15.2. Note that when Xcode was updated to 15.4, it silently overwrote this setting, so betatesters got crashes again until I discovered and set the command line tools back to 15.2.

OK.

Well I have tried again and I haven't issues with xcode 15.4.

When I installed the google maps sdk version >8 than the app didn't crash anymore, even with xcode 15.4.

EDIT: I did some further debugging and I could run the app in the emulator again with

  • xcode 15.4
  • google map SDK version 7 with rosetta emulation.

ngmiduc avatar May 26 '24 17:05 ngmiduc

Has anyone tested with the version Google Maps version SDK 9.0.0 yet ?

PierreLETEXIER avatar May 30 '24 15:05 PierreLETEXIER

Happening here as well with 9.0.0

Xcode 15.4.0 Simulator is iOS 17.5

dhritzkiv avatar Jun 04 '24 05:06 dhritzkiv

Has anyone found a workaround?

focafull avatar Jul 03 '24 23:07 focafull

Having the same issue. The weird is that it only affects the emulator and some iOS users - not everyone.

Trader3213 avatar Jul 04 '24 06:07 Trader3213

Is anyone still experiencing this afer upgrading to Maps SDK for iOS v9? On the issue tracker, only Street View is reported as crashing simulator in v9.0.0.

If you are experiencing crashes, please report on the Maps SDK for iOS issue tracker so it gets the proper attention.

wangela avatar Nov 19 '24 03:11 wangela