Fixed
Status Update
Comments
br...@google.com <br...@google.com> #2
Our engineering team had a go at reproducing this condition and couldn't. Could you please build us a reproduction case along the lines of https://github.com/domesticmouse/MovingMarkerPosition ?
br...@google.com <br...@google.com>
br...@google.com <br...@google.com> #3
Fixed in version 1.10.0. Thanks for the report!
Description
demonstration page if at all possible, or attach code.
1. Use cocoapods to add Google Maps iOS SDK to your project using pod 'Google-Maps-iOS-SDK', '~> 1.9.2'
2. Follow the rest of Google's instructions to add a Map to your App
3. Switch to another App
4. Come back to your App, it will crash when it try to comes to foreground.
Message logged:
*** Terminating app due to uncaught exception 'GMSBackgroundAppException', reason: 'Background execution would crash in this scenario'
*** First throw call stack:
(0x23175fef 0x31427c8b 0x23175f35 0x5886b9 0x5885d1 0x5890e1 0x57c73b 0x57c69b 0x120393 0x1776ed 0x26a1152b 0x26a39cff 0x26a3932b 0x26a392ad 0x26a2e16b 0x29d30a65 0x29d3fec9 0x2313bfd5 0x2313b299 0x23139a37 0x23086201 0x23086013 0x2a965201 0x2682aa59 0x166e39 0x319b3aaf)
libc++abi.dylib: terminating with uncaught exception of type NSException
It doesn't matter if you add the GMSMapView via storyboard or manually using addSubview when your ViewController shows. I even removed the delegate, the GMSMapView, made it nil (in the right order) when leaving the ViewController and it didn't helped, the problem seems to lie within GMSServices when the App resumes (applicationWillEnterForeground).
Operating system version: 8.3 (12F70)
Google Maps SDK for iOS version: 1.9.2
Hardware model: iPhone 5, iPhone 6, iPhone 6 Plus
*********************************************************
For developers viewing this issue: please click the 'star' icon to be
notified of future changes, and to let us know how many of you are
interested in seeing it resolved.
*********************************************************