Fixed
Status Update
Comments
di...@google.com <di...@google.com> #2
Can you provide the stack trace?
ha...@gmail.com <ha...@gmail.com> #3
Comment has been deleted.
pa...@gmail.com <pa...@gmail.com> #4
deleted
di...@google.com <di...@google.com> #5
Just wanted to add the this problem is still present in the GM version of Xcode 9
di...@google.com <di...@google.com>
ha...@gmail.com <ha...@gmail.com> #6
We believe that this issue should be solved in the Maps iOS SDK v2.5 release. If this issue still occurs, please let us know.
[Deleted User] <[Deleted User]> #7
same on iOS 11 beta 9
di...@google.com <di...@google.com> #8
An explanation of the issue is presented in this comment 9 of https://issuetracker.google.com/64053010 :
"Based on previous experience with errors like this it shouldn't cause a crash.
The theory is that the optimized model format changes over time, and when a change happens that is not backwards compatible, newer iOS versions fail to load the optimized model and fallback to an alternative approach (possibly dynamically generating it on the fly). This failure message is then an indication that the coredata files need to be compiled with a newer version of Xcode to avoid triggering this optimized model fallback path.
However, as an SDK which supports bitcode, upgrading the version of Xcode we use to compile the SDK will result in dropping support for any version of Xcode older than the version we compile with. And in this case it probably requires Xcode 9 to be used to silence this failure message, and Xcode 9 is not even released yet.
The release notes for 2.4 mention that we are dropping support for Xcode 7.3.x in our 2.5 release. This is not a plan to upgrade to Xcode 9 though, so it is only an outside possibility that it will help."
"Based on previous experience with errors like this it shouldn't cause a crash.
The theory is that the optimized model format changes over time, and when a change happens that is not backwards compatible, newer iOS versions fail to load the optimized model and fallback to an alternative approach (possibly dynamically generating it on the fly). This failure message is then an indication that the coredata files need to be compiled with a newer version of Xcode to avoid triggering this optimized model fallback path.
However, as an SDK which supports bitcode, upgrading the version of Xcode we use to compile the SDK will result in dropping support for any version of Xcode older than the version we compile with. And in this case it probably requires Xcode 9 to be used to silence this failure message, and Xcode 9 is not even released yet.
The release notes for 2.4 mention that we are dropping support for Xcode 7.3.x in our 2.5 release. This is not a plan to upgrade to Xcode 9 though, so it is only an outside possibility that it will help."
lt...@gmail.com <lt...@gmail.com> #9
Same here, is there any fix? iOS 11(Final!!!) with GoogleMaps 2.4 + Xcode 9
st...@mac.com <st...@mac.com> #10
I am having an extremely weird experience with this as well, if this indeed is what I'm experiencing. In one big change, I upgraded to Swift 4, Xcode 9 and from GoogleMaps 2.1.0 to 2.4.0 (and some other pods).
I have 9 targets in my app, which are basically the same app (just different branding), all based on the exact same source code. ONE of the targets crashes IMMEDIATELY when opening the Map tab in my app. The rest of the targets are completely fine. The difference between this crashing target vs another target is one single UIImage being different, and some URL's, none of which are used in this part of the app, and all targets have the same settings. I.E the problem is not in my app. I don't know how to explain how weird it is that ONE of my targets is crashing, when they are identical. This has to be a bug caused by some generated settings, or caused due to almost random coincidences..
After hours of troubleshooting I have found that the problem was introduced in GoogleMapsAPI 2.3.0, as it does not happen in 2.2.0.
It happens wether or not the debugger is connected, both on simulator and device, but only on iOS 11.
I have tried reinstalling the app, restarting Xcode, deleting derived data, going to GoogleMapsAPI v. 2.2.0 then doing "pod cache clean --all" before updating to 2.4.0, but it is still happening. Only to that same one target, every single time. It happens to all devices I have tried (iPhone 7/+, 8/+, X) as long as it is iOS 11.
The only feedback I get from Xcode is that the output says "(lldb)" in blue, and that it crashes at a line inside CoreFoundation's CFRelease with EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0). This is happening in "Thread 3" with queue: com.google.Maps.ResourceCache (concurrent).
I have attached a screenshot of what I see when it crashes.
I have reverted to 2.2.0 to avoid the crashes. Using this version, I DO receive the Storage.omo-logs, but when using 2.3.0 or above it crashes before giving this log (if still happening). I.E I do not see these logs when experiencing this crash.
By the way, I'm using CocoaPods v. 1.1.1.
Please advise..
I have 9 targets in my app, which are basically the same app (just different branding), all based on the exact same source code. ONE of the targets crashes IMMEDIATELY when opening the Map tab in my app. The rest of the targets are completely fine. The difference between this crashing target vs another target is one single UIImage being different, and some URL's, none of which are used in this part of the app, and all targets have the same settings. I.E the problem is not in my app. I don't know how to explain how weird it is that ONE of my targets is crashing, when they are identical. This has to be a bug caused by some generated settings, or caused due to almost random coincidences..
After hours of troubleshooting I have found that the problem was introduced in GoogleMapsAPI 2.3.0, as it does not happen in 2.2.0.
It happens wether or not the debugger is connected, both on simulator and device, but only on iOS 11.
I have tried reinstalling the app, restarting Xcode, deleting derived data, going to GoogleMapsAPI v. 2.2.0 then doing "pod cache clean --all" before updating to 2.4.0, but it is still happening. Only to that same one target, every single time. It happens to all devices I have tried (iPhone 7/+, 8/+, X) as long as it is iOS 11.
The only feedback I get from Xcode is that the output says "(lldb)" in blue, and that it crashes at a line inside CoreFoundation's CFRelease with EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0). This is happening in "Thread 3" with queue: com.google.Maps.ResourceCache (concurrent).
I have attached a screenshot of what I see when it crashes.
I have reverted to 2.2.0 to avoid the crashes. Using this version, I DO receive the Storage.omo-logs, but when using 2.3.0 or above it crashes before giving this log (if still happening). I.E I do not see these logs when experiencing this crash.
By the way, I'm using CocoaPods v. 1.1.1.
Please advise..
di...@google.com <di...@google.com>
ja...@gmail.com <ja...@gmail.com> #11
Will work if Bitcode is enabled in build settings.
di...@google.com <di...@google.com> #12
We believe that this issue should be solved in the Maps iOS SDK v2.5 release. If this issue still occurs, please let us know.
ra...@gmail.com <ra...@gmail.com> #13
Hi, I still get these logs: iOS 11, Xcode Version 9.0.1 (9A1004)
+ occasional crashes
CoreData: annotation: Failed to load optimized model at path '/Users/Baran/Library/Developer/CoreSimulator/Devices/DCB6FE56-6EA6-4FA7-B230-BCDCF8009443/data/Containers/Bundle/Application/A66457E2-D25D-4C03-A957-0E0DE87A85AA/EASEL.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo'
CoreData: annotation: Failed to load optimized model at path '/Users/Baran/Library/Developer/CoreSimulator/Devices/DCB6FE56-6EA6-4FA7-B230-BCDCF8009443/data/Containers/Bundle/Application/A66457E2-D25D-4C03-A957-0E0DE87A85AA/EASEL.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo'
CoreData: annotation: Failed to load optimized model at path '/Users/Baran/Library/Developer/CoreSimulator/Devices/DCB6FE56-6EA6-4FA7-B230-BCDCF8009443/data/Containers/Bundle/Application/A66457E2-D25D-4C03-A957-0E0DE87A85AA/EASEL.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo'
+ occasional crashes
CoreData: annotation: Failed to load optimized model at path '/Users/Baran/Library/Developer/CoreSimulator/Devices/DCB6FE56-6EA6-4FA7-B230-BCDCF8009443/data/Containers/Bundle/Application/A66457E2-D25D-4C03-A957-0E0DE87A85AA/EASEL.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo'
CoreData: annotation: Failed to load optimized model at path '/Users/Baran/Library/Developer/CoreSimulator/Devices/DCB6FE56-6EA6-4FA7-B230-BCDCF8009443/data/Containers/Bundle/Application/A66457E2-D25D-4C03-A957-0E0DE87A85AA/EASEL.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo'
CoreData: annotation: Failed to load optimized model at path '/Users/Baran/Library/Developer/CoreSimulator/Devices/DCB6FE56-6EA6-4FA7-B230-BCDCF8009443/data/Containers/Bundle/Application/A66457E2-D25D-4C03-A957-0E0DE87A85AA/EASEL.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo'
[Deleted User] <[Deleted User]> #14
With GoogleMapSDK 2.5.0, our app is still experiencing this crash on iPhone 7 iOS11.0.3 when a debugger is attached.
Crash message:
*Thread 1: EXC_BAD_ACCESS (code=2, address=0x1974042a8)
*Failed to load optimized model at path '/var/containers/Bundle/Application/32A7F84D-52AF-4B9E-BCD1-50F2B7D80139/{Our-APP}.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo
Crash message:
*Thread 1: EXC_BAD_ACCESS (code=2, address=0x1974042a8)
*Failed to load optimized model at path '/var/containers/Bundle/Application/32A7F84D-52AF-4B9E-BCD1-50F2B7D80139/{Our-APP}.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo
di...@google.com <di...@google.com> #15
I have marked this issue as fixed as the title was misleading. Apologies for that.
This is indeed still an open issue and will be solved once we decide to compile the SDK on xcode 9 which will mean dropping support of xcode 8 which we do not want to do just yet.
This is indeed still an open issue and will be solved once we decide to compile the SDK on xcode 9 which will mean dropping support of xcode 8 which we do not want to do just yet.
ha...@gmail.com <ha...@gmail.com> #16
When this issue is gonna resolved as m still having issue like this...
CoreData: annotation: Failed to load optimized model at path '/Users/hammadkhan/Library/Developer/CoreSimulator/Devices/6380236D-C912-441F-B518-D0CDFAFC77A9/data/Containers/Bundle/Application/A26BCE1D-BA79-4965-83E1-E1821C594C9D/OneMinute.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo'
If its a separate issue, then I will create a new one. Kindly reply thanks
CoreData: annotation: Failed to load optimized model at path '/Users/hammadkhan/Library/Developer/CoreSimulator/Devices/6380236D-C912-441F-B518-D0CDFAFC77A9/data/Containers/Bundle/Application/A26BCE1D-BA79-4965-83E1-E1821C594C9D/OneMinute.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo'
If its a separate issue, then I will create a new one. Kindly reply thanks
[Deleted User] <[Deleted User]> #17
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/14475690-B5D7-4982-A526-81279616EFD5/XXXX.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo'
I am using GoogleMaps (2.5.0)
And because of that not able to see map on my mapView. But Google logo is showing.
Please check attachment
My issue is solved.
Update:
In my project ProvideApiKey was used twice in AppDelegates removing one resolved issue.
I am using GoogleMaps (2.5.0)
And because of that not able to see map on my mapView. But Google logo is showing.
Please check attachment
My issue is solved.
Update:
In my project ProvideApiKey was used twice in AppDelegates removing one resolved issue.
ha...@gmail.com <ha...@gmail.com> #18
Comment has been deleted.
ha...@gmail.com <ha...@gmail.com> #19
I am also getting same issue when I try to run my code in Xcode 9.1 and iOS 11.0.1.i run the same code in Xcode 8.3.3 its working fine. I am using correct key. i tried by updating GoogleMap 2.5.0 version still I am facing this issue
CoreData: annotation: Failed to load optimized model at path '/Users/sierra12/Library/Developer/CoreSimulator/Devices/C5F31884-235C-4268-85B3-690AA157DF09/data/Containers/Bundle/Application/74D56B51-048E-4FF9-8562-A90566847CB4/XXXXX.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo'
If anyone find the solution please send
Thanks in advance.
CoreData: annotation: Failed to load optimized model at path '/Users/sierra12/Library/Developer/CoreSimulator/Devices/C5F31884-235C-4268-85B3-690AA157DF09/data/Containers/Bundle/Application/74D56B51-048E-4FF9-8562-A90566847CB4/XXXXX.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo'
If anyone find the solution please send
Thanks in advance.
al...@gmail.com <al...@gmail.com> #20
I have the same trouble with googleMap 2.5.0 y iOS 11.1
CoreData: annotation: Failed to load optimized model at path '/Users/nuonuo-jtl/Library/Developer/CoreSimulator/Devices/0478E4AF-8220-47BF-B327-905C769A2F48/data/Containers/Bundle/Application/351EF665-9707-4B2D-911A-572FA06EEE15/ChipiiOS.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo'
My app can't run and can't find why, only have this warning in Log.
Thanks for all
CoreData: annotation: Failed to load optimized model at path '/Users/nuonuo-jtl/Library/Developer/CoreSimulator/Devices/0478E4AF-8220-47BF-B327-905C769A2F48/data/Containers/Bundle/Application/351EF665-9707-4B2D-911A-572FA06EEE15/ChipiiOS.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo'
My app can't run and can't find why, only have this warning in Log.
Thanks for all
ja...@gmail.com <ja...@gmail.com> #21
oreData: annotation: Failed to load optimized model at path '/Users/ios_developer/Library/Developer/CoreSimulator/Devices/91A8C237-3B86-4029-8B84-039D20204D4C/data/Containers/Bundle/Application/754AF853-4566-4A23-93E3-A8A488B5C6D7/mapTest.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
CoreData: annotation: Failed to load optimized model at path '/Users/ios_developer/Library/Developer/CoreSimulator/Devices/91A8C237-3B86-4029-8B84-039D20204D4C/data/Containers/Bundle/Application/754AF853-4566-4A23-93E3-A8A488B5C6D7/mapTest.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
CoreData: annotation: Failed to load optimized model at path '/Users/ios_developer/Library/Developer/CoreSimulator/Devices/91A8C237-3B86-4029-8B84-039D20204D4C/data/Containers/Bundle/Application/754AF853-4566-4A23-93E3-A8A488B5C6D7/mapTest.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
If anyone find the solution please send
Thanks in advance.
CoreData: annotation: Failed to load optimized model at path '/Users/ios_developer/Library/Developer/CoreSimulator/Devices/91A8C237-3B86-4029-8B84-039D20204D4C/data/Containers/Bundle/Application/754AF853-4566-4A23-93E3-A8A488B5C6D7/mapTest.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
CoreData: annotation: Failed to load optimized model at path '/Users/ios_developer/Library/Developer/CoreSimulator/Devices/91A8C237-3B86-4029-8B84-039D20204D4C/data/Containers/Bundle/Application/754AF853-4566-4A23-93E3-A8A488B5C6D7/mapTest.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
If anyone find the solution please send
Thanks in advance.
se...@gmail.com <se...@gmail.com> #22
I have same problem to use GoogleMap (version 2.5)
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/296D5AAB-306D-4953-8543-3B8E811C697B/CityGuideTest.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo'
And I check my key use on AppDelegate like the img1, is it any problem here?
On the mapView it can see annotation and its title ,but not see the map.
See my gmsMapView's code on img2.
If anyone find the solution please send
Thanks all...
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/296D5AAB-306D-4953-8543-3B8E811C697B/CityGuideTest.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo'
And I check my key use on AppDelegate like the img1, is it any problem here?
On the mapView it can see annotation and its title ,but not see the map.
See my gmsMapView's code on img2.
If anyone find the solution please send
Thanks all...
[Deleted User] <[Deleted User]> #23
Same here, I get GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo warning... but no crashes for my app so far...
If anyone finds a solution please share it
Thanks
If anyone finds a solution please share it
Thanks
go...@gmail.com <go...@gmail.com> #24
I'm having a similar issue, but instead of Storage.omo, it's StorageWithTileVersionID.omo. Second, the map fails to load only on iPads, while the rest of my app works fine - and even then only on the first run after installation. After that, it works perfectly fine. It's not that bad of a bug, but I assume people will assume an app is going to fail every time if it fails the first time.
Any solutions would be appreciated, thanks!
Any solutions would be appreciated, thanks!
lt...@gmail.com <lt...@gmail.com> #25
Simulator - iPhone X - iOS 11 - Still doesnt work with 2.5..
self.mapView = [GMSMapView mapWithFrame:self.mapViewContainer.bounds camera:camera];
Debug stops at:
gmscore::renderer::LoadPNGTexture: -> EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0) -> CoreFoundation`CFRelease
update: crashes on device(iPhone 6s,iOS 11) as well
self.mapView = [GMSMapView mapWithFrame:self.mapViewContainer.bounds camera:camera];
Debug stops at:
gmscore::renderer::LoadPNGTexture: -> EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0) -> CoreFoundation`CFRelease
update: crashes on device(iPhone 6s,iOS 11) as well
ke...@gmail.com <ke...@gmail.com> #26
Hi guys,
I still have the message in the console :
CoreData: annotation: Failed to load optimized model at path 'blablabla/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo'
Any solutions?
(Xcode Version 9.2, GoogleMaps 2.5.0)
Thanks a lot !
I still have the message in the console :
CoreData: annotation: Failed to load optimized model at path 'blablabla/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo'
Any solutions?
(Xcode Version 9.2, GoogleMaps 2.5.0)
Thanks a lot !
di...@google.com <di...@google.com> #27
This issue will be solved once we decide to compile the Google Maps iOS SDK on xcode 9 which will mean dropping support of xcode 8 which we do not want to do just yet.
I will update this issue once we have more information concerning this.
I will update this issue once we have more information concerning this.
ra...@gmail.com <ra...@gmail.com> #28
Confirmed again!
This is still happening is iOS 11, Xcode 9.2 Google Sdk 2.5 and leading to crash after several attempts on loading that particualr viewcontroller which has googlemaps in it. Is this a memory issue?
CoreData: annotation: Failed to load optimized model at path 'blablabla/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo'
This is still happening is iOS 11, Xcode 9.2 Google Sdk 2.5 and leading to crash after several attempts on loading that particualr viewcontroller which has googlemaps in it. Is this a memory issue?
CoreData: annotation: Failed to load optimized model at path 'blablabla/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo'
so...@wegile.com <so...@wegile.com> #29
Getting this issue:
Failed to load optimized model at path '/Users/Som/Library/Developer/CoreSimulator/Devices/20AAA4AB-E451-44C1-BB3C-991B3C45E331/data/Containers/Bundle/Application/E868AD8F-6550-4DCB-A0FC-C361343564B5/MapDemo.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo'
Failed to load optimized model at path '/Users/Som/Library/Developer/CoreSimulator/Devices/20AAA4AB-E451-44C1-BB3C-991B3C45E331/data/Containers/Bundle/Application/E868AD8F-6550-4DCB-A0FC-C361343564B5/MapDemo.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo'
[Deleted User] <[Deleted User]> #30
This works completely fine on the simulator but it throws the following error on real device. It only shows the Google symbol on the bottom.
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/CC3208F7-E534-4B12-A42E-8D608C35A30A/TMTMobile.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/CC3208F7-E534-4B12-A42E-8D608C35A30A/TMTMobile.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/CC3208F7-E534-4B12-A42E-8D608C35A30A/TMTMobile.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/CC3208F7-E534-4B12-A42E-8D608C35A30A/TMTMobile.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/CC3208F7-E534-4B12-A42E-8D608C35A30A/TMTMobile.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/CC3208F7-E534-4B12-A42E-8D608C35A30A/TMTMobile.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
ma...@gmail.com <ma...@gmail.com> #31
I am getting the same issue and my app is already on App Store. SDK was running perfectly fine until today, at which point I ran the build on my device and discovered that I was getting this error. Any ideas for anything I can do as a temporary fix until Google fixes this issue?
bl...@gmail.com <bl...@gmail.com> #32
I am getting this error running my app on the simulator.
la...@gmail.com <la...@gmail.com> #33
So how do we see maps using xCode 9.2 until the SDK is compiled for xCode 9?
ci...@gmail.com <ci...@gmail.com> #34
I'm getting the same log in the console on both the simulator and the device.
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/B6A42032-A263-45BD-9957-419F9195CE00/Cloudy.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/B6A42032-A263-45BD-9957-419F9195CE00/Cloudy.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/B6A42032-A263-45BD-9957-419F9195CE00/Cloudy.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/B6A42032-A263-45BD-9957-419F9195CE00/Cloudy.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/B6A42032-A263-45BD-9957-419F9195CE00/Cloudy.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/B6A42032-A263-45BD-9957-419F9195CE00/Cloudy.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
dl...@gmail.com <dl...@gmail.com> #36
Hello, this is more as a timing issue. The problem is that CoreLocation need some time to get your location and Google Maps SDK perform action before you got current location. So if you guys want a fix before this will be FIXED BY anyone like Apple or Google, don't fight who is gone be first :). Get your current location at the start before showing the map. Hope this help!
de...@gmail.com <de...@gmail.com> #37
Unable to get current location on iOS version 11.2.6 xcode 9.2
Throwing following error when trying to get current location on iOS version 11.2.6 but works on versions < 11.
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/91875D23-86CE-4F30-BB12-41A476494C67/App4Cab.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo
Throwing following error when trying to get current location on iOS version 11.2.6 but works on versions < 11.
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/91875D23-86CE-4F30-BB12-41A476494C67/App4Cab.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo
hi...@gmail.com <hi...@gmail.com> #38
Same issue on iOS11.3.
st...@mac.com <st...@mac.com> #39
I'm still having this issue, as posted in #10. I have several targets, which are practically identical apps. ONE of these targets crashes IMMEDIATELY when I try to load the map, and give the .omo-outputs.
The only difference with this app is a few images, and its name. When I think of it, the app that crashes is the only target with a "foreign" letter in its name ( Ø ). However, this letter is never used in code, only as Product Name. "O" is used to replace "Ø" in every other place (like bundle-id etc).
This crash is 100% consistent. It does not crash in GoogleMaps v.2.2.0, but it crashes in 2.3.0, 2.4.0, 2.5.0 and 2.6.0 - every time. Only on this one target.
The only difference with this app is a few images, and its name. When I think of it, the app that crashes is the only target with a "foreign" letter in its name ( Ø ). However, this letter is never used in code, only as Product Name. "O" is used to replace "Ø" in every other place (like bundle-id etc).
This crash is 100% consistent. It does not crash in GoogleMaps v.2.2.0, but it crashes in 2.3.0, 2.4.0, 2.5.0 and 2.6.0 - every time. Only on this one target.
di...@google.com <di...@google.com> #40
Starting iOS SDK version 2.7 the minimum supported xCode version became 9.0. We believe this should solve this issue.
Let us know if you still encounter it with v2.7
Let us know if you still encounter it with v2.7
[Deleted User] <[Deleted User]> #41
In my case, where Google Maps causes *one* of my targets (out of 9 targets) to crash, it still happens with 2.7.0 (2.7.30514.0) in Xcode 9.3(9E145) - as soon as the user navigates to the viewController with the map in it. All other targets are fine.
In all of my 8 working targets, as soon as I enter the Map-screen I get the following output:
CoreData: annotation: Failed to load optimized model at path '/Users/myName/Library/Developer/CoreSimulator/Devices/AFC1606C-171C-4E0D-A54E-2B6736B6B457/data/Containers/Bundle/Application/69A4B9FC-82ED-44EF-9CA1-7A0BB5B43C37/MyTarget.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/Users/myName/Library/Developer/CoreSimulator/Devices/AFC1606C-171C-4E0D-A54E-2B6736B6B457/data/Containers/Bundle/Application/69A4B9FC-82ED-44EF-9CA1-7A0BB5B43C37/MyTarget.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/Users/myName/Library/Developer/CoreSimulator/Devices/AFC1606C-171C-4E0D-A54E-2B6736B6B457/data/Containers/Bundle/Application/69A4B9FC-82ED-44EF-9CA1-7A0BB5B43C37/MyTarget.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/Users/myName/Library/Developer/CoreSimulator/Devices/AFC1606C-171C-4E0D-A54E-2B6736B6B457/data/Containers/Bundle/Application/69A4B9FC-82ED-44EF-9CA1-7A0BB5B43C37/MyTarget.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
2018-05-07 17:05:54.696501+0200 MyApp[90023:18702349] Google Maps SDK for iOS version: 2.7.30514.0
When I do the exact same thing for that 9th target, I get this output:
CoreData: annotation: Failed to load optimized model at path '/Users/myName/Library/Developer/CoreSimulator/Devices/AFC1606C-171C-4E0D-A54E-2B6736B6B457/data/Containers/Bundle/Application/CADF6D51-D408-4F15-B6BC-338BE1602DBA/MyTarget.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/Users/myName/Library/Developer/CoreSimulator/Devices/AFC1606C-171C-4E0D-A54E-2B6736B6B457/data/Containers/Bundle/Application/CADF6D51-D408-4F15-B6BC-338BE1602DBA/MyTarget.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/Users/myName/Library/Developer/CoreSimulator/Devices/AFC1606C-171C-4E0D-A54E-2B6736B6B457/data/Containers/Bundle/Application/CADF6D51-D408-4F15-B6BC-338BE1602DBA/MyTarget.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
(lldb)
That last line is where it crashes (lldb). It doesn't even get to printing out the version of Google Maps SDK.
These outputs are from when running in a Simulator, but they are identical when running on real devices, using any device (except that I get 4x .omo-output on real device, and 3x .omo-output on simulator (on the crashing target), not sure if that's relevant).
All devices and all iOS-version experience this crash 100% consistent on this single crashing target (the one target with an Ø in its name, as explained in previous comment). And none of the other targets have crashed (though they still get the .omo-output)
The single crashing target is identical to many of the other working targets, except from a few different icons and a few different settings. They are flavours of an original app. Many of these targets were created at the same time, with exactly the same setup.
I'm gonna have to use GoogleMaps SDK 2.2.0 (for all my targets) until this is fixed.
In all of my 8 working targets, as soon as I enter the Map-screen I get the following output:
CoreData: annotation: Failed to load optimized model at path '/Users/myName/Library/Developer/CoreSimulator/Devices/AFC1606C-171C-4E0D-A54E-2B6736B6B457/data/Containers/Bundle/Application/69A4B9FC-82ED-44EF-9CA1-7A0BB5B43C37/MyTarget.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/Users/myName/Library/Developer/CoreSimulator/Devices/AFC1606C-171C-4E0D-A54E-2B6736B6B457/data/Containers/Bundle/Application/69A4B9FC-82ED-44EF-9CA1-7A0BB5B43C37/MyTarget.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/Users/myName/Library/Developer/CoreSimulator/Devices/AFC1606C-171C-4E0D-A54E-2B6736B6B457/data/Containers/Bundle/Application/69A4B9FC-82ED-44EF-9CA1-7A0BB5B43C37/MyTarget.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/Users/myName/Library/Developer/CoreSimulator/Devices/AFC1606C-171C-4E0D-A54E-2B6736B6B457/data/Containers/Bundle/Application/69A4B9FC-82ED-44EF-9CA1-7A0BB5B43C37/MyTarget.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
2018-05-07 17:05:54.696501+0200 MyApp[90023:18702349] Google Maps SDK for iOS version: 2.7.30514.0
When I do the exact same thing for that 9th target, I get this output:
CoreData: annotation: Failed to load optimized model at path '/Users/myName/Library/Developer/CoreSimulator/Devices/AFC1606C-171C-4E0D-A54E-2B6736B6B457/data/Containers/Bundle/Application/CADF6D51-D408-4F15-B6BC-338BE1602DBA/MyTarget.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/Users/myName/Library/Developer/CoreSimulator/Devices/AFC1606C-171C-4E0D-A54E-2B6736B6B457/data/Containers/Bundle/Application/CADF6D51-D408-4F15-B6BC-338BE1602DBA/MyTarget.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/Users/myName/Library/Developer/CoreSimulator/Devices/AFC1606C-171C-4E0D-A54E-2B6736B6B457/data/Containers/Bundle/Application/CADF6D51-D408-4F15-B6BC-338BE1602DBA/MyTarget.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
(lldb)
That last line is where it crashes (lldb). It doesn't even get to printing out the version of Google Maps SDK.
These outputs are from when running in a Simulator, but they are identical when running on real devices, using any device (except that I get 4x .omo-output on real device, and 3x .omo-output on simulator (on the crashing target), not sure if that's relevant).
All devices and all iOS-version experience this crash 100% consistent on this single crashing target (the one target with an Ø in its name, as explained in previous comment). And none of the other targets have crashed (though they still get the .omo-output)
The single crashing target is identical to many of the other working targets, except from a few different icons and a few different settings. They are flavours of an original app. Many of these targets were created at the same time, with exactly the same setup.
I'm gonna have to use GoogleMaps SDK 2.2.0 (for all my targets) until this is fixed.
st...@mac.com <st...@mac.com> #42
(sorry about this notification, but) I realise now that I posted the last comment from a different email address, but that last one is also me ^.
For some reason, Google Chrome feels it should change which account is the default account every other day..
For some reason, Google Chrome feels it should change which account is the default account every other day..
di...@google.com <di...@google.com>
da...@gmail.com <da...@gmail.com> #43
Still encountering this in v2.7.30514
ec...@gmail.com <ec...@gmail.com> #44
This solved the problem in my case:
https://stackoverflow.com/questions/31484803/swift-my-google-maps-view-isnt-showing-up
I think this should be documented in Google Maps API for swift (specially in the first steps section).
I think this should be documented in Google Maps API for swift (specially in the first steps section).
ts...@gmail.com <ts...@gmail.com> #45
Tried to set UIView as "GMSMapView" but the app still crashed. I was using GoogleMaps SDK v2.7.0.
in...@ingconti.com <in...@ingconti.com> #46
the same for iOS12 and xcode 10 beta
ts...@gmail.com <ts...@gmail.com> #47
Turned out to me that some UI constraints caused the crash. The UIView used for map view shouldn't contain any other UI widgets in it. At least when I removed all the widgets on my google map view, everything seems to work. Just double check the constraints.
do...@gmail.com <do...@gmail.com> #48
hi
I'm using GoogleMaps 2.7.0 , x-code 9.4Beta but still there is this problem
I'm using GoogleMaps 2.7.0 , x-code 9.4Beta but still there is this problem
io...@gmail.com <io...@gmail.com> #49
Hi developer i am using GoogleMaps 2.7.0 ,x-code Version 9.2 (9C40b) .i am also still getting same error . I'm just loading current location using GMSMapView. Let me know if you know the answer
os...@gmail.com <os...@gmail.com> #50
I am using GoogleMaps 2.7 using Cocoapods. At startup I get the following error message 3 times: "Failed to load optimized model at path '/.....app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo"
This is very consistent. It happens both with Xcode 9.4 and XCode 10.0 beta 4. My application is 95% Swift code. It happens some time after I call "GMSServices.provideAPIKey(GoogleAPIKey)"
I checked all the API / Credential permission and that seems to be good. If I delete the "StorageWithTileProto.omo" file, I don't get any errors, but just deleting a file does not feel like a very satisfactory solution to me.
Could someone shed some light on what is happening here? We are prepping to release a new version with GoogleMaps in it, but I am reluctant to include code with this type of error messages.
This is very consistent. It happens both with Xcode 9.4 and XCode 10.0 beta 4. My application is 95% Swift code. It happens some time after I call "GMSServices.provideAPIKey(GoogleAPIKey)"
I checked all the API / Credential permission and that seems to be good. If I delete the "StorageWithTileProto.omo" file, I don't get any errors, but just deleting a file does not feel like a very satisfactory solution to me.
Could someone shed some light on what is happening here? We are prepping to release a new version with GoogleMaps in it, but I am reluctant to include code with this type of error messages.
ra...@gmail.com <ra...@gmail.com> #51
Not fixed yet ..facing same issue
ro...@gmail.com <ro...@gmail.com> #53
I finally went back to version 2.2, and solved the problem
fr...@gmail.com <fr...@gmail.com> #54
worked for me when dropping back to googlemaps 2.2
st...@mac.com <st...@mac.com> #55
For those of you experiencing a hard crash every single time you attempt to present a mapView - and the output log prints out nothing else than a few .omo-messages, do you also have foreign letters in your app?
My app has an Ø in its name. When removing that Ø, the app works as expected. That's not a solution, though. I created a separate bug for this a while ago, but I don't think anything has happened yet..
My app has an Ø in its name. When removing that Ø, the app works as expected. That's not a solution, though. I created a separate bug for this a while ago, but I don't think anything has happened yet..
bi...@gmail.com <bi...@gmail.com> #56
Still issue persists
th...@gmail.com <th...@gmail.com> #57
How to do fix bugs:
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/AAEA8D46-B543-4A20-B287-9083FD030AE0/OLLO.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/AAEA8D46-B543-4A20-B287-9083FD030AE0/OLLO.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/AAEA8D46-B543-4A20-B287-9083FD030AE0/OLLO.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/AAEA8D46-B543-4A20-B287-9083FD030AE0/OLLO.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/AAEA8D46-B543-4A20-B287-9083FD030AE0/OLLO.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/AAEA8D46-B543-4A20-B287-9083FD030AE0/OLLO.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
ri...@gmail.com <ri...@gmail.com> #58
Same problem here
3 paragraphs of CoreData: annotation: Failed to load optimized model at path
Any solutions to solve this?
Read a lot of posts but none can fix the issue
3 paragraphs of CoreData: annotation: Failed to load optimized model at path
Any solutions to solve this?
Read a lot of posts but none can fix the issue
[Deleted User] <[Deleted User]> #59
Same problem... Map displaying and performing as expected, but console outputs the following:
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/***..***/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/***..***/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/***..***/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
Is this actually a Google Maps iOS SDK bug?
Thanks
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/***..***/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/***..***/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/***..***/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
Is this actually a Google Maps iOS SDK bug?
Thanks
va...@gmail.com <va...@gmail.com> #60
Comment has been deleted.
hu...@weitconsulting.com <hu...@weitconsulting.com> #61
Comment has been deleted.
gr...@gmail.com <gr...@gmail.com> #62
I also have same problem
pe...@quarkuk.com <pe...@quarkuk.com> #63
Same problem, 1 year later.. Google this sucks
Failed to load optimized model at path '/var/containers/Bundle/Application/xxx-xxx-xxx-xxx/1234.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo '
Failed to load optimized model at path '/var/containers/Bundle/Application/xxx-xxx-xxx-xxx/
ms...@gmail.com <ms...@gmail.com> #64
Where are we with this issue? even downgrading to 2.2 didn't help.. api keys and everything else that can possibility be done is tried
di...@google.com <di...@google.com>
bi...@gmail.com <bi...@gmail.com> #65
For me the issue appears when I add an iOS restrict bundle identifier. If I remove the bundle identifier then it works.
Still waiting for this to be resolved.
Still waiting for this to be resolved.
wa...@gmail.com <wa...@gmail.com> #66
Still waiting for this to be resolved.
in...@gmail.com <in...@gmail.com> #67
Still waiting for this to be resolved.
[Deleted User] <[Deleted User]> #68
Still waiting for this to be resolved.
di...@google.com <di...@google.com>
li...@gmail.com <li...@gmail.com> #69
Still waiting for this to be resolved.
ca...@gmail.com <ca...@gmail.com> #70
fit it fix fix
be...@gmail.com <be...@gmail.com> #71
I have the same problem as well.
How do I fix it?
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/9D5B8A20-8DF5-4C89-9FAA-B1525D3E1DEC/Bean2Go.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/9D5B8A20-8DF5-4C89-9FAA-B1525D3E1DEC/Bean2Go.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/9D5B8A20-8DF5-4C89-9FAA-B1525D3E1DEC/Bean2Go.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
How do I fix it?
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/9D5B8A20-8DF5-4C89-9FAA-B1525D3E1DEC/Bean2Go.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/9D5B8A20-8DF5-4C89-9FAA-B1525D3E1DEC/Bean2Go.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/9D5B8A20-8DF5-4C89-9FAA-B1525D3E1DEC/Bean2Go.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
we...@swtchenergy.com <we...@swtchenergy.com> #72
Still facing the same error, StorageWithTileProto.omo'
I'm using GoogleMaps 2.7.0, Xcode 10.2
I'm using GoogleMaps 2.7.0, Xcode 10.2
de...@gmail.com <de...@gmail.com> #73
We're all facing the same error two years after it was reported, any news?
da...@gmail.com <da...@gmail.com> #75
Any updates about this issue? I've started facing this issue on iOS 13 beta 3, using the Xcode 11 beta 3. The app crashes with this error:
CoreData: annotation: Failed to load optimized model at path '.../GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
I've updated the GoogleMaps SDK to v3.2.0 using Cocoapods.
CoreData: annotation: Failed to load optimized model at path '.../GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
I've updated the GoogleMaps SDK to v3.2.0 using Cocoapods.
iv...@gmail.com <iv...@gmail.com> #76
I've updated the SDK to v.3.3.0 with cocoapods. But the issue is still there. iPhone Xs Max ios 13 Xcode 11.0 beta 11. The app crashes cause of google maps. Here is the logs:
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/0BF0A30E-0298-4127-A51B-1FE5223E17E8/********/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
2019-08-20 14:52:10.840941+0300 BitDropGo[2131:908622] [error] fault: One or more models in this application are using transformable properties with transformer names that are either unset, or set to NSKeyedUnarchiveFromDataTransformerName. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead. At some point, Core Data will default to using "NSSecureUnarchiveFromData" when nil is specified, and transformable properties containing classes that do not support NSSecureCoding will become unreadable.
CoreData: fault: One or more models in this application are using transformable properties with transformer names that are either unset, or set to NSKeyedUnarchiveFromDataTransformerName. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead. At some point, Core Data will default to using "NSSecureUnarchiveFromData" when nil is specified, and transformable properties containing classes that do not support NSSecureCoding will become unreadable.
2019-08-20 14:52:10.841854+0300 BitDropGo[2131:908622] [error] CoreData: One or more models in this application are using transformable properties with transformer names that are either unset, or set to NSKeyedUnarchiveFromDataTransformerName. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead. At some point, Core Data will default to using "NSSecureUnarchiveFromData" when nil is specified, and transformable properties containing classes that do not support NSSecureCoding will become unreadable.
CoreData: warning: Property 'value' on Entity 'GMSCacheProperty' is using nil or an insecure NSValueTransformer. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead.
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/0BF0A30E-0298-4127-A51B-1FE5223E17E8/********/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: warning: Property 'value' on Entity 'GMSCacheProperty' is using nil or an insecure NSValueTransformer. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead.
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/0BF0A30E-0298-4127-A51B-1FE5223E17E8/********/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: warning: Property 'value' on Entity 'GMSCacheProperty' is using nil or an insecure NSValueTransformer. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead.
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/0BF0A30E-0298-4127-A51B-1FE5223E17E8/********/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
2019-08-20 14:52:10.840941+0300 BitDropGo[2131:908622] [error] fault: One or more models in this application are using transformable properties with transformer names that are either unset, or set to NSKeyedUnarchiveFromDataTransformerName. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead. At some point, Core Data will default to using "NSSecureUnarchiveFromData" when nil is specified, and transformable properties containing classes that do not support NSSecureCoding will become unreadable.
CoreData: fault: One or more models in this application are using transformable properties with transformer names that are either unset, or set to NSKeyedUnarchiveFromDataTransformerName. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead. At some point, Core Data will default to using "NSSecureUnarchiveFromData" when nil is specified, and transformable properties containing classes that do not support NSSecureCoding will become unreadable.
2019-08-20 14:52:10.841854+0300 BitDropGo[2131:908622] [error] CoreData: One or more models in this application are using transformable properties with transformer names that are either unset, or set to NSKeyedUnarchiveFromDataTransformerName. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead. At some point, Core Data will default to using "NSSecureUnarchiveFromData" when nil is specified, and transformable properties containing classes that do not support NSSecureCoding will become unreadable.
CoreData: warning: Property 'value' on Entity 'GMSCacheProperty' is using nil or an insecure NSValueTransformer. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead.
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/0BF0A30E-0298-4127-A51B-1FE5223E17E8/********/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: warning: Property 'value' on Entity 'GMSCacheProperty' is using nil or an insecure NSValueTransformer. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead.
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/0BF0A30E-0298-4127-A51B-1FE5223E17E8/********/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: warning: Property 'value' on Entity 'GMSCacheProperty' is using nil or an insecure NSValueTransformer. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead.
di...@google.com <di...@google.com> #77
Please provide more information regarding this crash:
In which scenarios does the app crash?
Does it happen every time it is launched? If not, what is the ratio?
Are any specific parameters set for the crash to happen?
Does it happen on both simulator and device?
In which scenarios does the app crash?
Does it happen every time it is launched? If not, what is the ratio?
Are any specific parameters set for the crash to happen?
Does it happen on both simulator and device?
da...@gmail.com <da...@gmail.com> #78
Hi!
The app crashes every time that we try to present a ViewController with a GMSMapView. This crash started to happen in iPadOS (since Beta 1). Currently, we are using the Beta 8 and the crash still persists. Also, we are using the Xcode 11 Beta 7 to build the app. The SDK version is 3.3.0, installed using Cocoapods. Notice that the app is working fine in previous versions of the iOS (tested in iOS 10, 11 and 12). The crash happens in both simulator and device with iPadOS 13.
See below the message from console when the app crashes:
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/******/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
2019-09-04 13:21:08.967242-0300 ****** [error] fault: One or more models in this application are using transformable properties with transformer names that are either unset, or set to NSKeyedUnarchiveFromDataTransformerName. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead. At some point, Core Data will default to using "NSSecureUnarchiveFromData" when nil is specified, and transformable properties containing classes that do not support NSSecureCoding will become unreadable.
CoreData: fault: One or more models in this application are using transformable properties with transformer names that are either unset, or set to NSKeyedUnarchiveFromDataTransformerName. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead. At some point, Core Data will default to using "NSSecureUnarchiveFromData" when nil is specified, and transformable properties containing classes that do not support NSSecureCoding will become unreadable.
2019-09-04 13:21:08.995572-0300 ****** [error] CoreData: One or more models in this application are using transformable properties with transformer names that are either unset, or set to NSKeyedUnarchiveFromDataTransformerName. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead. At some point, Core Data will default to using "NSSecureUnarchiveFromData" when nil is specified, and transformable properties containing classes that do not support NSSecureCoding will become unreadable.
CoreData: warning: Property 'value' on Entity 'GMSCacheProperty' is using nil or an insecure NSValueTransformer. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead.
Crashlytics log:
Crashed: com.apple.main-thread
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000010
+[UIViewAnimationState popAnimationState]
0 UIKitCore 0x19cb02fb4 +[UIViewAnimationState popAnimationState] + 92
1 UIKitCore 0x19cb33104 +[UIView(UIViewAnimationWithBlocks) _setupAnimationWithDuration:delay:view:options:factory:animations:start:animationStateGenerator:completion:] + 648
2 UIKitCore 0x19cb33690 +[UIView(UIViewAnimationWithBlocks) animateWithDuration:delay:options:animations:completion:] + 108
3 UIKitCore 0x19cafe814 __50-[UITransitionView _startTransition:withDuration:]_block_invoke.169 + 76
4 UIKitCore 0x19cb33c54 +[UIView(UIViewAnimationWithBlocks) conditionallyAnimate:withAnimation:layout:completion:] + 88
5 UIKitCore 0x19cafe434 -[UITransitionView _startTransition:withDuration:] + 616
6 UIKitCore 0x19cafded0 -[UITransitionView transition:fromView:toView:removeFromView:] + 2368
7 UIKitCore 0x19c0dbc80 -[UIViewControllerBuiltinTransitionViewAnimator animateTransition:] + 1484
8 UIKitCore 0x19c0e38c0 ___UIViewControllerTransitioningRunCustomTransition_block_invoke_2 + 56
9 UIKitCore 0x19c1eefd8 +[UIInputResponderController _pinInputViewsForInputResponderController:onBehalfOfResponder:duringBlock:] + 104
10 UIKitCore 0x19c0e3850 ___UIViewControllerTransitioningRunCustomTransition_block_invoke.645 + 176
11 UIKitCore 0x19cb316a0 +[UIView(Animation) _setAlongsideAnimations:toRunByEndOfBlock:] + 172
12 UIKitCore 0x19c0e36b8 _UIViewControllerTransitioningRunCustomTransition + 580
13 UIKitCore 0x19bfdc814 __56-[UIPresentationController runTransitionForCurrentState]_block_invoke.452 + 2348
14 UIKitCore 0x19c6c3274 _runAfterCACommitDeferredBlocks + 316
15 UIKitCore 0x19c6b32c4 _cleanUpAfterCAFlushAndRunDeferredBlocks + 232
16 UIKitCore 0x19c6e2a6c _afterCACommitHandler + 76
17 CoreFoundation 0x1986564f8 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
18 CoreFoundation 0x1986513e4 __CFRunLoopDoObservers + 416
19 CoreFoundation 0x1986519b0 __CFRunLoopRun + 1308
20 CoreFoundation 0x19865116c CFRunLoopRunSpecific + 464
21 GraphicsServices 0x1a247b328 GSEventRunModal + 104
22 UIKitCore 0x19c6b9f6c UIApplicationMain + 1936
23 *************** 0x1006b3818 main + 14 (main.m:14)
24 libdyld.dylib 0x1984dc424 start + 4
Thanks!
The app crashes every time that we try to present a ViewController with a GMSMapView. This crash started to happen in iPadOS (since Beta 1). Currently, we are using the Beta 8 and the crash still persists. Also, we are using the Xcode 11 Beta 7 to build the app. The SDK version is 3.3.0, installed using Cocoapods. Notice that the app is working fine in previous versions of the iOS (tested in iOS 10, 11 and 12). The crash happens in both simulator and device with iPadOS 13.
See below the message from console when the app crashes:
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/******/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
2019-09-04 13:21:08.967242-0300 ****** [error] fault: One or more models in this application are using transformable properties with transformer names that are either unset, or set to NSKeyedUnarchiveFromDataTransformerName. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead. At some point, Core Data will default to using "NSSecureUnarchiveFromData" when nil is specified, and transformable properties containing classes that do not support NSSecureCoding will become unreadable.
CoreData: fault: One or more models in this application are using transformable properties with transformer names that are either unset, or set to NSKeyedUnarchiveFromDataTransformerName. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead. At some point, Core Data will default to using "NSSecureUnarchiveFromData" when nil is specified, and transformable properties containing classes that do not support NSSecureCoding will become unreadable.
2019-09-04 13:21:08.995572-0300 ****** [error] CoreData: One or more models in this application are using transformable properties with transformer names that are either unset, or set to NSKeyedUnarchiveFromDataTransformerName. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead. At some point, Core Data will default to using "NSSecureUnarchiveFromData" when nil is specified, and transformable properties containing classes that do not support NSSecureCoding will become unreadable.
CoreData: warning: Property 'value' on Entity 'GMSCacheProperty' is using nil or an insecure NSValueTransformer. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead.
Crashlytics log:
Crashed: com.apple.main-thread
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000010
+[UIViewAnimationState popAnimationState]
0 UIKitCore 0x19cb02fb4 +[UIViewAnimationState popAnimationState] + 92
1 UIKitCore 0x19cb33104 +[UIView(UIViewAnimationWithBlocks) _setupAnimationWithDuration:delay:view:options:factory:animations:start:animationStateGenerator:completion:] + 648
2 UIKitCore 0x19cb33690 +[UIView(UIViewAnimationWithBlocks) animateWithDuration:delay:options:animations:completion:] + 108
3 UIKitCore 0x19cafe814 __50-[UITransitionView _startTransition:withDuration:]_block_invoke.169 + 76
4 UIKitCore 0x19cb33c54 +[UIView(UIViewAnimationWithBlocks) conditionallyAnimate:withAnimation:layout:completion:] + 88
5 UIKitCore 0x19cafe434 -[UITransitionView _startTransition:withDuration:] + 616
6 UIKitCore 0x19cafded0 -[UITransitionView transition:fromView:toView:removeFromView:] + 2368
7 UIKitCore 0x19c0dbc80 -[UIViewControllerBuiltinTransitionViewAnimator animateTransition:] + 1484
8 UIKitCore 0x19c0e38c0 ___UIViewControllerTransitioningRunCustomTransition_block_invoke_2 + 56
9 UIKitCore 0x19c1eefd8 +[UIInputResponderController _pinInputViewsForInputResponderController:onBehalfOfResponder:duringBlock:] + 104
10 UIKitCore 0x19c0e3850 ___UIViewControllerTransitioningRunCustomTransition_block_invoke.645 + 176
11 UIKitCore 0x19cb316a0 +[UIView(Animation) _setAlongsideAnimations:toRunByEndOfBlock:] + 172
12 UIKitCore 0x19c0e36b8 _UIViewControllerTransitioningRunCustomTransition + 580
13 UIKitCore 0x19bfdc814 __56-[UIPresentationController runTransitionForCurrentState]_block_invoke.452 + 2348
14 UIKitCore 0x19c6c3274 _runAfterCACommitDeferredBlocks + 316
15 UIKitCore 0x19c6b32c4 _cleanUpAfterCAFlushAndRunDeferredBlocks + 232
16 UIKitCore 0x19c6e2a6c _afterCACommitHandler + 76
17 CoreFoundation 0x1986564f8 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
18 CoreFoundation 0x1986513e4 __CFRunLoopDoObservers + 416
19 CoreFoundation 0x1986519b0 __CFRunLoopRun + 1308
20 CoreFoundation 0x19865116c CFRunLoopRunSpecific + 464
21 GraphicsServices 0x1a247b328 GSEventRunModal + 104
22 UIKitCore 0x19c6b9f6c UIApplicationMain + 1936
23 *************** 0x1006b3818 main + 14 (main.m:14)
24 libdyld.dylib 0x1984dc424 start + 4
Thanks!
di...@google.com <di...@google.com> #79
We believe this issue should now be solved with the new version of the SDK v3.3. Let us know otherwise.
Regarding the iPadOs issue mentioned in comment#78 could you please open a new issue with the same description to track it?
Regarding the iPadOs issue mentioned in
di...@google.com <di...@google.com> #80
For the Core Data warnings introduced with iOS 13 please track the following issue: https://issuetracker.google.com/141528049
di...@google.com <di...@google.com> #81
One of the crashes reported in this issue was fixed.
The "Failed to load optimized model at path" warning is still an issue, but it should not be causing crashes.
If you see any crashes please report separate issues with the crashlog included.
The "Failed to load optimized model at path" warning is still an issue, but it should not be causing crashes.
If you see any crashes please report separate issues with the crashlog included.
[Deleted User] <[Deleted User]> #82
I am still seeing this too. Please fix.
CoreData: warning: Property 'value' on Entity 'GMSCacheProperty' is using nil or an insecure NSValueTransformer. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead.
CoreData: annotation: Failed to load optimized model at path '/Users/jpuente/Library/Developer/CoreSimulator/Devices/2ADD818E-5011-4427-8ABB-4562072346D8/data/Containers/Bundle/Application/01CAE882-DA11-46E3-9F5A-594F2DA81F93/Microtransit.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: warning: Property 'value' on Entity 'GMSCacheProperty' is using nil or an insecure NSValueTransformer. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead.
CoreData: warning: Property 'value' on Entity 'GMSCacheProperty' is using nil or an insecure NSValueTransformer. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead.
CoreData: annotation: Failed to load optimized model at path '/Users/jpuente/Library/Developer/CoreSimulator/Devices/2ADD818E-5011-4427-8ABB-4562072346D8/data/Containers/Bundle/Application/01CAE882-DA11-46E3-9F5A-594F2DA81F93/Microtransit.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: warning: Property 'value' on Entity 'GMSCacheProperty' is using nil or an insecure NSValueTransformer. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead.
di...@google.com <di...@google.com> #83
This warning should no longer show in v3.7
lo...@gmail.com <lo...@gmail.com> #84
I'm still seeing the warnings with v3.7 on an iPhone 11 simulator / xcode 11.3.1 / macOS 10.14.6.
Description
google sample apps crashes without any error
What should happen instead?
display maps
Link to the Demo application[1] that reproduces the problem:
Steps to reproduce the problem:
1. Clone googleMaps sample apps
2. Provide API key
3. run on iOS 11 device
Operating system version: iOS 11 beta 4
Google Maps SDK for iOS version: 2.4.0
Hardware model: iPhone 6
-------------------------------------------------------------------
[1] You can fork