Fixed
Status Update
Comments
br...@google.com <br...@google.com> #2
Can you please supply sample code along the lines of https://github.com/domesticmouse/MovingMarkerPosition that replicates this issue?
[Deleted User] <[Deleted User]> #3
br...@google.com <br...@google.com> #4
I notice in your sample code that you aren't providing an API key in AppDelegate.h. Is this intentional?
br...@google.com <br...@google.com> #5
We have failed to replicate this issue on our iOS 8 devices.
Can you please supply a stack trace from this crash?
Can you please supply a stack trace from this crash?
br...@google.com <br...@google.com>
[Deleted User] <[Deleted User]> #7
I've created a small repo that describes this bug: https://github.com/jrmsklar/google-maps-ios-sdk-bug-demo . The files of note are AppDelegate.m and GMSServices+Setup.h/m.
Below is a stack trace when running this on an iPad mini (actual device, not simulator):
2016-02-23 10:55:46.625 GoogleMapsBugDemo[245:11066] +[GMSServices initializeAPIKey]: unrecognized selector sent to class 0x3a1e78
2016-02-23 10:55:46.633 GoogleMapsBugDemo[245:11066] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[GMSServices initializeAPIKey]: unrecognized selector sent to class 0x3a1e78'
*** First throw call stack:
(0x25d8010b 0x25526e17 0x25d85841 0x25d83559 0x25cb3c08 0x153d9 0x29f311fd 0x2a157fe5 0x2a15bebb 0x2a16fb9d 0x2a1593ab 0x27064c7f 0x27064f71 0x25d4368f 0x25d4327d 0x25d415eb 0x25c94bf9 0x25c949e5 0x29f2a5bd 0x29f24ba1 0x15599 0x25943873)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb) bt
* thread #1: tid = 0x2b3a, 0x25a14c84 libsystem_kernel.dylib`__pthread_kill + 8, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
frame #0: 0x25a14c84 libsystem_kernel.dylib`__pthread_kill + 8
frame #1: 0x25aba732 libsystem_pthread.dylib`pthread_kill + 62
frame #2: 0x259ab0ac libsystem_c.dylib`abort + 108
frame #3: 0x25502ae4 libc++abi.dylib`abort_message + 108
frame #4: 0x2551b69e libc++abi.dylib`default_terminate_handler() + 266
frame #5: 0x255270b0 libobjc.A.dylib`_objc_terminate() + 192
frame #6: 0x25518e16 libc++abi.dylib`std::__terminate(void (*)()) + 78
frame #7: 0x255188f8 libc++abi.dylib`__cxa_rethrow + 100
frame #8: 0x25526f5e libobjc.A.dylib`objc_exception_rethrow + 42
frame #9: 0x25c94c7e CoreFoundation`CFRunLoopRunSpecific + 654
frame #10: 0x25c949e4 CoreFoundation`CFRunLoopRunInMode + 108
frame #11: 0x29f2a5bc UIKit`-[UIApplication _run] + 524
frame #12: 0x29f24ba0 UIKit`UIApplicationMain + 144
* frame #13: 0x00015598 GoogleMapsBugDemo`main(argc=1, argv=0x006c8ab4) + 108 at main.m:14
(lldb)
This also occurs when running on an iPhone 5C/5/4S.
Below is a stack trace when running this on an iPad mini (actual device, not simulator):
2016-02-23 10:55:46.625 GoogleMapsBugDemo[245:11066] +[GMSServices initializeAPIKey]: unrecognized selector sent to class 0x3a1e78
2016-02-23 10:55:46.633 GoogleMapsBugDemo[245:11066] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[GMSServices initializeAPIKey]: unrecognized selector sent to class 0x3a1e78'
*** First throw call stack:
(0x25d8010b 0x25526e17 0x25d85841 0x25d83559 0x25cb3c08 0x153d9 0x29f311fd 0x2a157fe5 0x2a15bebb 0x2a16fb9d 0x2a1593ab 0x27064c7f 0x27064f71 0x25d4368f 0x25d4327d 0x25d415eb 0x25c94bf9 0x25c949e5 0x29f2a5bd 0x29f24ba1 0x15599 0x25943873)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb) bt
* thread #1: tid = 0x2b3a, 0x25a14c84 libsystem_kernel.dylib`__pthread_kill + 8, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
frame #0: 0x25a14c84 libsystem_kernel.dylib`__pthread_kill + 8
frame #1: 0x25aba732 libsystem_pthread.dylib`pthread_kill + 62
frame #2: 0x259ab0ac libsystem_c.dylib`abort + 108
frame #3: 0x25502ae4 libc++abi.dylib`abort_message + 108
frame #4: 0x2551b69e libc++abi.dylib`default_terminate_handler() + 266
frame #5: 0x255270b0 libobjc.A.dylib`_objc_terminate() + 192
frame #6: 0x25518e16 libc++abi.dylib`std::__terminate(void (*)()) + 78
frame #7: 0x255188f8 libc++abi.dylib`__cxa_rethrow + 100
frame #8: 0x25526f5e libobjc.A.dylib`objc_exception_rethrow + 42
frame #9: 0x25c94c7e CoreFoundation`CFRunLoopRunSpecific + 654
frame #10: 0x25c949e4 CoreFoundation`CFRunLoopRunInMode + 108
frame #11: 0x29f2a5bc UIKit`-[UIApplication _run] + 524
frame #12: 0x29f24ba0 UIKit`UIApplicationMain + 144
* frame #13: 0x00015598 GoogleMapsBugDemo`main(argc=1, argv=0x006c8ab4) + 108 at main.m:14
(lldb)
This also occurs when running on an iPhone 5C/5/4S.
br...@google.com <br...@google.com> #8
Thanks Josh!
[Deleted User] <[Deleted User]> #10
Great, thanks!
Description
demonstration page if at all possible, or attach code.
1. Install GoogleMaps iOS SDK v1.11.0 via CocoaPods
2. Add Objective-C category for GoogleMaps.frameworks classes (for example GMSCameraPosition+Additions.h)
3. Add a method in GMSCameraPosition+Additions.h
4. Invoke the method
5. Unrecognized selector crash
Operating system version: iOS 8.1.3
Google Maps SDK for iOS version: 1.11.0
Hardware model: iPhone 5
*********************************************************
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.
*********************************************************