Fixed
Status Update
Comments
ol...@thesyntheticfamily.com <ol...@thesyntheticfamily.com> #2
Happens also with placeId ChIJN0mqVwumIIYRU1ak8SgguxM
mr...@google.com <mr...@google.com>
mr...@google.com <mr...@google.com>
mr...@google.com <mr...@google.com> #3
This was fixed in the Google Places API 2.3.1 release.
Description
# It is OK to share your API Project ID, but _not_ API keys.
Issue report
----------------
What steps will reproduce the problem?
1. GMSPlacesClient.shared().lookUpPhotos(forPlaceID: "ChIJD2kGh5kIAWARIBMrcGyjvrg")
2. Exception occurs
*** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSCFString rangeOfString:options:range:locale:]: Range {9223372036854775807, 9223372036854775896} out of bounds; string length 87'
*** First throw call stack:
(
0 CoreFoundation 0x0000000107a03d4b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x000000010ba5b21e objc_exception_throw + 48
2 CoreFoundation 0x0000000107a6d2b5 +[NSException raise:format:] + 197
3 Foundation 0x000000010b51fb7e -[NSString rangeOfString:options:range:locale:] + 201
4 Foundation 0x000000010b523f07 -[NSString rangeOfString:options:range:] + 29
5 bbmap 0x00000001064733c9 GMSConvertHTMLtoAttributedString + 195
6 bbmap 0x000000010644256a __71-[GMSPlacesServerClient lookUpPhotosForPlaceID:requestSource:callback:]_block_invoke + 510
7 bbmap 0x0000000106446294 __79-[GMSPlatformKeyInsertingPlacesServerClient keyCachingCompletionBlockForBlock:]_block_invoke + 201
8 bbmap 0x0000000106454ac2 __140-[GMSx_GTLRService handleParsedObjectForFetcher:executingQuery:ticket:error:parsedObject:hasSentParsingStartNotification:completionHandler:]_block_invoke + 206
9 libdispatch.dylib 0x000000010cb3d978 _dispatch_call_block_and_release + 12
10 libdispatch.dylib 0x000000010cb670cd _dispatch_client_callout + 8
11 libdispatch.dylib 0x000000010cb479eb _dispatch_main_queue_callback_4CF + 733
12 CoreFoundation 0x00000001079c7e49 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
13 CoreFoundation 0x000000010798d37d __CFRunLoopRun + 2205
14 CoreFoundation 0x000000010798c884 CFRunLoopRunSpecific + 420
15 GraphicsServices 0x000000010f735a6f GSEventRunModal + 161
16 UIKit 0x0000000109cd4c68 UIApplicationMain + 159
17 bbmap 0x00000001060889ff main + 111
18 libdyld.dylib 0x000000010cbb368d start + 1
19 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Operating system version:
iOS 10.2
Google Maps SDK for iOS version:
Using Google (3.0.3)
Using GoogleMaps (2.2.0)
Using GooglePlaces (2.2.0)
Hardware model:
iPhone 7