Fixed
Status Update
Comments
at...@gmail.com <at...@gmail.com> #2
Ditto. I suspect it's causing `placePicker.pickPlaceWithCallback` to fail, while `GMSPlacesClient().currentPlaceWithCallback` works just fine.
br...@google.com <br...@google.com> #3
Can you guys supply a sample along the lines of https://github.com/domesticmouse/swift-google-map so I can reproduce the problems you are seeing?
at...@gmail.com <at...@gmail.com> #4
Looks like placePicker issue is unrelated: works if invoked from an IBAction instead of viewDidLoad.
SOLVED: The error only occurs in the iOS 9 simulator (Using iPhone 6, didn't test other devices). Switching to 8.4 either through the scheme or "Hardware > Device > iOS 8.4" causes the error to go away.
I reproduced this both in my project, and in a fork of SwiftMaps that makes the same placePicker call. Also, I verified linker flags, linked libraries and use_framework! (with a fresh install) had no effect on either project.
Forked placePicker SwiftMap project:https://github.com/CrabDude/swift-google-map
Associated commit:https://github.com/CrabDude/swift-google-map/commit/24dd5fa7b39900333faeebe43fa441584e8899dd
Thanks for your follow-up.
SOLVED: The error only occurs in the iOS 9 simulator (Using iPhone 6, didn't test other devices). Switching to 8.4 either through the scheme or "Hardware > Device > iOS 8.4" causes the error to go away.
I reproduced this both in my project, and in a fork of SwiftMaps that makes the same placePicker call. Also, I verified linker flags, linked libraries and use_framework! (with a fresh install) had no effect on either project.
Forked placePicker SwiftMap project:
Associated commit:
Thanks for your follow-up.
ve...@gmail.com <ve...@gmail.com> #5
I am still having this issue in the console which shows multiple times. Running on device, iOS 9, latest beta. Using latest Xcode 7 beta as well.
"CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/[APP NAME AND PATH]/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'"
"CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/[APP NAME AND PATH]/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'"
br...@google.com <br...@google.com>
qu...@gmail.com <qu...@gmail.com> #6
I have the same issue.
gl...@moblee.net <gl...@moblee.net> #7
Same here. :(
zu...@gmail.com <zu...@gmail.com> #8
Same here
fo...@gmail.com <fo...@gmail.com> #9
same for me
al...@gmail.com <al...@gmail.com> #10
Same here
du...@gmail.com <du...@gmail.com> #11
same here
[Deleted User] <[Deleted User]> #12
Same here.. Can we have a word on this?
[Deleted User] <[Deleted User]> #13
Happening even in XCode 7 GM..
br...@google.com <br...@google.com> #14
Quick question for the crew: Is anyone seeing any negative impacts apart from the log messages?
gl...@moblee.net <gl...@moblee.net> #15
I'm not, it's just annoying my console.
st...@gmail.com <st...@gmail.com> #16
Here's the full relevant debug console output that I'm seeing:
2015-09-13 16:52:14.841 TPE[912:251276] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/7E611E26-0A0A-443B-8B53-2679EA58CC10/TPE.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
2015-09-13 16:52:14.867 TPE[912:251276] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/7E611E26-0A0A-443B-8B53-2679EA58CC10/TPE.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
2015-09-13 16:52:14.887 TPE[912:251276] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/7E611E26-0A0A-443B-8B53-2679EA58CC10/TPE.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
2015-09-13 16:52:14.901 TPE[912:251276] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/7E611E26-0A0A-443B-8B53-2679EA58CC10/TPE.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
objc[912]: Class _NSZombie_GMSImageTile is implemented in both ?? and ??. One of the two will be used. Which one is undefined.
objc[912]: Class _NSZombie_GMSImageTile is implemented in both ?? and ??. One of the two will be used. Which one is undefined.
OS/Device: iOS 9 GM on iPhone 6
Environment: Xcode 7 GM, iOS 9 SDK
Using current version of 'GoogleMaps' pod
2015-09-13 16:52:14.841 TPE[912:251276] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/7E611E26-0A0A-443B-8B53-2679EA58CC10/TPE.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
2015-09-13 16:52:14.867 TPE[912:251276] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/7E611E26-0A0A-443B-8B53-2679EA58CC10/TPE.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
2015-09-13 16:52:14.887 TPE[912:251276] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/7E611E26-0A0A-443B-8B53-2679EA58CC10/TPE.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
2015-09-13 16:52:14.901 TPE[912:251276] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/7E611E26-0A0A-443B-8B53-2679EA58CC10/TPE.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
objc[912]: Class _NSZombie_GMSImageTile is implemented in both ?? and ??. One of the two will be used. Which one is undefined.
objc[912]: Class _NSZombie_GMSImageTile is implemented in both ?? and ??. One of the two will be used. Which one is undefined.
OS/Device: iOS 9 GM on iPhone 6
Environment: Xcode 7 GM, iOS 9 SDK
Using current version of 'GoogleMaps' pod
br...@google.com <br...@google.com> #17
Comment has been deleted.
st...@gmail.com <st...@gmail.com> #18
Hi Brett - the "??" is as it was produced in the debugger. Those lines don't seem to be appearing any longer - not sure that anything relevant has changed in the project (I updated a couple of pod versions in things not obviously related in any way to Google Maps). I wonder if that particular problem might have been fixed when I did "Clean Build Folder" and rebuilt.
br...@google.com <br...@google.com> #19
Stephen, ok, thanks for the clarification. The other log lines look akin to the one listed in #1, so I'm happy this is as was. Thanks!
ma...@gmail.com <ma...@gmail.com> #20
@brettmor... Yes, I'm experiencing negative impacts.
I'm using the GMSPlacesClient method autocompleteQuery(_:bounds:filter:callback), and it's returning no predictions. (It used to work fine, before I attempted to upgrade to Xcode 7 GM.)
My setup:
Xcode 7 GM
simulator: iPhone 6 / iOS 9.0 (13A340)
iOS deployment target: 8.1
current version of 'GoogleMaps' pod
Thanks!
I'm using the GMSPlacesClient method autocompleteQuery(_:bounds:filter:callback), and it's returning no predictions. (It used to work fine, before I attempted to upgrade to Xcode 7 GM.)
My setup:
Xcode 7 GM
simulator: iPhone 6 / iOS 9.0 (13A340)
iOS deployment target: 8.1
current version of 'GoogleMaps' pod
Thanks!
br...@google.com <br...@google.com> #21
Mark, that sounds like a different bug. Can you raise a new issue so I can track it properly?
ma...@butterflyproduction.com <ma...@butterflyproduction.com> #23
I'm getting the same message repeatedly. I'm running on iPhone 6 Plus and the released iOS 9.
I upgraded the app so was wondering if there was anything to do with old cached data from previous GoogleMaps that could interfere with the newer SDK.
2015-09-17 10:47:09.698 xpendx[788:118041] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/DA9B9847-F5CE-476E-8742-13E360BA7EE6/xpendx.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo '
2015-09-17 10:47:09.724 xpendx[788:118041] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/DA9B9847-F5CE-476E-8742-13E360BA7EE6/xpendx.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo '
2015-09-17 10:47:09.747 xpendx[788:118041] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/DA9B9847-F5CE-476E-8742-13E360BA7EE6/xpendx.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo '
2015-09-17 10:47:09.766 xpendx[788:118041] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/DA9B9847-F5CE-476E-8742-13E360BA7EE6/xpendx.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo '
I upgraded the app so was wondering if there was anything to do with old cached data from previous GoogleMaps that could interfere with the newer SDK.
2015-09-17 10:47:09.698 xpendx[788:118041] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/DA9B9847-F5CE-476E-8742-13E360BA7EE6/
2015-09-17 10:47:09.724 xpendx[788:118041] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/DA9B9847-F5CE-476E-8742-13E360BA7EE6/
2015-09-17 10:47:09.747 xpendx[788:118041] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/DA9B9847-F5CE-476E-8742-13E360BA7EE6/
2015-09-17 10:47:09.766 xpendx[788:118041] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/DA9B9847-F5CE-476E-8742-13E360BA7EE6/
ne...@gmail.com <ne...@gmail.com> #24
I am also getting the error. Using Xcode 7, iPad Air 2 (iOS 9):
2015-09-21 15:22:01.406 <MY-APP-NAME>[756:559942] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/<GUID-STYLE-STRING>/<MY-APP-NAME>.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
2015-09-21 15:22:01.415 <MY-APP-NAME>[756:559942] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/<GUID-STYLE-STRING>/<MY-APP-NAME>.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
2015-09-21 15:22:01.420 <MY-APP-NAME>[756:559942] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/<GUID-STYLE-STRING>/<MY-APP-NAME>.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
2015-09-21 15:22:01.433 <MY-APP-NAME>[756:559942] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/<GUID-STYLE-STRING>/<MY-APP-NAME>.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
2015-09-21 15:22:01.406 <MY-APP-NAME>[756:559942] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/<GUID-STYLE-STRING>/<MY-APP-NAME>.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
2015-09-21 15:22:01.415 <MY-APP-NAME>[756:559942] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/<GUID-STYLE-STRING>/<MY-APP-NAME>.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
2015-09-21 15:22:01.420 <MY-APP-NAME>[756:559942] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/<GUID-STYLE-STRING>/<MY-APP-NAME>.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
2015-09-21 15:22:01.433 <MY-APP-NAME>[756:559942] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/<GUID-STYLE-STRING>/<MY-APP-NAME>.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
ne...@gmail.com <ne...@gmail.com> #25
I would like to note that I got the error after adding my own Core Data model to the project. Cannot be sure of correlation or causation though.
ka...@gmail.com <ka...@gmail.com> #26
Same problem here :
```
2015-09-22 15:34:19.549 flimee[1171:310473] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/6460A8DD-0A0B-4120-AD90-B82093A68DBF/flimee.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo '
2015-09-22 15:34:19.624 flimee[1171:310473] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/6460A8DD-0A0B-4120-AD90-B82093A68DBF/flimee.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo '
2015-09-22 15:34:19.687 flimee[1171:310473] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/6460A8DD-0A0B-4120-AD90-B82093A68DBF/flimee.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo '
2015-09-22 15:34:19.758 flimee[1171:310473] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/6460A8DD-0A0B-4120-AD90-B82093A68DBF/flimee.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo '
```
```
2015-09-22 15:34:19.549 flimee[1171:310473] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/6460A8DD-0A0B-4120-AD90-B82093A68DBF/
2015-09-22 15:34:19.624 flimee[1171:310473] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/6460A8DD-0A0B-4120-AD90-B82093A68DBF/
2015-09-22 15:34:19.687 flimee[1171:310473] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/6460A8DD-0A0B-4120-AD90-B82093A68DBF/
2015-09-22 15:34:19.758 flimee[1171:310473] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/6460A8DD-0A0B-4120-AD90-B82093A68DBF/
```
li...@gmail.com <li...@gmail.com> #27
Same here:
2015-09-22 15:04:53.092 APPNAME[9033:566327] CoreData: Failed to load optimized model at path '/Users/***/Library/Developer/CoreSimulator/Devices/05C0B936-0F3C-4871-8FF2-3F6A3384BF17/data/Containers/Bundle/Application/91C419E1-F8DF-4D62-BC61-8E376AD4609A/APPNAME.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
2015-09-22 15:04:53.097 APPNAME[9033:566327] CoreData: Failed to load optimized model at path '/Users/APPNAME/Library/Developer/CoreSimulator/Devices/05C0B936-0F3C-4871-8FF2-3F6A3384BF17/data/Containers/Bundle/Application/91C419E1-F8DF-4D62-BC61-8E376AD4609A/APPNAME.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
2015-09-22 15:04:53.100 APPNAME[9033:566327] CoreData: Failed to load optimized model at path '/Users/shanelian/Library/Developer/CoreSimulator/Devices/05C0B936-0F3C-4871-8FF2-3F6A3384BF17/data/Containers/Bundle/Application/91C419E1-F8DF-4D62-BC61-8E376AD4609A/APPNAME.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
2015-09-22 15:04:53.103 APPNAME[9033:566327] CoreData: Failed to load optimized model at path '/Users/shanelian/Library/Developer/CoreSimulator/Devices/05C0B936-0F3C-4871-8FF2-3F6A3384BF17/data/Containers/Bundle/Application/91C419E1-F8DF-4D62-BC61-8E376AD4609A/APPNAME.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
2015-09-22 15:04:53.092 APPNAME[9033:566327] CoreData: Failed to load optimized model at path '/Users/***/Library/Developer/CoreSimulator/Devices/05C0B936-0F3C-4871-8FF2-3F6A3384BF17/data/Containers/Bundle/Application/91C419E1-F8DF-4D62-BC61-8E376AD4609A/APPNAME.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
2015-09-22 15:04:53.097 APPNAME[9033:566327] CoreData: Failed to load optimized model at path '/Users/APPNAME/Library/Developer/CoreSimulator/Devices/05C0B936-0F3C-4871-8FF2-3F6A3384BF17/data/Containers/Bundle/Application/91C419E1-F8DF-4D62-BC61-8E376AD4609A/APPNAME.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
2015-09-22 15:04:53.100 APPNAME[9033:566327] CoreData: Failed to load optimized model at path '/Users/shanelian/Library/Developer/CoreSimulator/Devices/05C0B936-0F3C-4871-8FF2-3F6A3384BF17/data/Containers/Bundle/Application/91C419E1-F8DF-4D62-BC61-8E376AD4609A/APPNAME.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
2015-09-22 15:04:53.103 APPNAME[9033:566327] CoreData: Failed to load optimized model at path '/Users/shanelian/Library/Developer/CoreSimulator/Devices/05C0B936-0F3C-4871-8FF2-3F6A3384BF17/data/Containers/Bundle/Application/91C419E1-F8DF-4D62-BC61-8E376AD4609A/APPNAME.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
st...@gmail.com <st...@gmail.com> #28
Same error on iPhone6, iOS9, Xcode7. No observable bad effects other than me being annoyed. Tested versions 1.9.2 and above of GoogleMaps via CocoaPods, all show the same problem.
[Deleted User] <[Deleted User]> #29
Issue still persists on latest SDK 1.10.3
ck...@gmail.com <ck...@gmail.com> #30
Same in Xcode7.0(7A220), Swift, SDK1.10.3, and 1.10.2.
it always happens in new project.
But I found the solution.
It is solved when I append -ObjC to Other Linker Flags
(Your Project -> Build Settings -> Linking -> Other Linker Flags).
The Linker Flags is empty by default in Swift Project.
I hope this helps someone else.
it always happens in new project.
But I found the solution.
It is solved when I append -ObjC to Other Linker Flags
(Your Project -> Build Settings -> Linking -> Other Linker Flags).
The Linker Flags is empty by default in Swift Project.
I hope this helps someone else.
cr...@gmail.com <cr...@gmail.com> #31
Interesting solution. I had set that linker flag when first developing my app in xcode 6.x. I wonder if during the migration it resets that to the default. Will try that proposed solution when I get home today.
st...@gmail.com <st...@gmail.com> #32
Re: #32. I have -ObjC set in Other Linker Flags (and it was preserved during migration from Xcode 6 to 7). The problem still exists for me. In my case, the warnings trigger when GMSMapView is instantiated (i.e., before viewDidLoad() in the controller)
ne...@gmail.com <ne...@gmail.com> #33
Re: #32: I have "-ObjC" in my Other Linker flags (IIRC need that to even use GMaps) and I still have the error.
[Deleted User] <[Deleted User]> #34
I updated the pod now I am on 1.10.3 but I get this errors in my console
2015-09-23 23:26:28.882 Hello[65989:582414] CoreData: Failed to load optimized model at path '/Users/aadi007/Library/Developer/CoreSimulator/Devices/721B0BB4-7DA4-484A-8704-4754AA04C05F/data/Containers/Bundle/Application/3058BC10-C768-4720-9C9E-877D0F736D25/Hellor.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
2015-09-23 23:26:28.950 Hello[65989:582414] CoreData: Failed to load optimized model at path '/Users/aadi007/Library/Developer/CoreSimulator/Devices/721B0BB4-7DA4-484A-8704-4754AA04C05F/data/Containers/Bundle/Application/3058BC10-C768-4720-9C9E-877D0F736D25/Hello.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
2015-09-23 23:26:28.990 Hello[65989:582414] CoreData: Failed to load optimized model at path '/Users/aadi007/Library/Developer/CoreSimulator/Devices/721B0BB4-7DA4-484A-8704-4754AA04C05F/data/Containers/Bundle/Application/3058BC10-C768-4720-9C9E-
877D0F736D25/Hello.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
2015-09-23 23:26:29.042 Hello[65989:582414] CoreData: Failed to load optimized model at path '/Users/aadi007/Library/Developer/CoreSimulator/Devices/721B0BB4-7DA4-484A-8704-4754AA04C05F/data/Containers/Bundle/Application/3058BC10-C768-4720-9C9E-877D0F736D25/Hello.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
Please can anyone suggest me a quick fix to it ?
2015-09-23 23:26:28.882 Hello[65989:582414] CoreData: Failed to load optimized model at path '/Users/aadi007/Library/Developer/CoreSimulator/Devices/721B0BB4-7DA4-484A-8704-4754AA04C05F/data/Containers/Bundle/Application/3058BC10-C768-4720-9C9E-877D0F736D25/Hellor.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
2015-09-23 23:26:28.950 Hello[65989:582414] CoreData: Failed to load optimized model at path '/Users/aadi007/Library/Developer/CoreSimulator/Devices/721B0BB4-7DA4-484A-8704-4754AA04C05F/data/Containers/Bundle/Application/3058BC10-C768-4720-9C9E-877D0F736D25/Hello.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
2015-09-23 23:26:28.990 Hello[65989:582414] CoreData: Failed to load optimized model at path '/Users/aadi007/Library/Developer/CoreSimulator/Devices/721B0BB4-7DA4-484A-8704-4754AA04C05F/data/Containers/Bundle/Application/3058BC10-C768-4720-9C9E-
877D0F736D25/Hello.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
2015-09-23 23:26:29.042 Hello[65989:582414] CoreData: Failed to load optimized model at path '/Users/aadi007/Library/Developer/CoreSimulator/Devices/721B0BB4-7DA4-484A-8704-4754AA04C05F/data/Containers/Bundle/Application/3058BC10-C768-4720-9C9E-877D0F736D25/Hello.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
Please can anyone suggest me a quick fix to it ?
pr...@gmail.com <pr...@gmail.com> #35
Did anyone find solution for this ?? Even I'm getting this annoying prints in console when it executes
mapView = GMSMapView(frame: CGRectMake(0, 0, self.view.bounds.width, self.view.bounds.height))
and control going to :
func locationManager(manager: CLLocationManager, didFailWithError error: NSError)
I dont know why its unable to update the locations.
mapView = GMSMapView(frame: CGRectMake(0, 0, self.view.bounds.width, self.view.bounds.height))
and control going to :
func locationManager(manager: CLLocationManager, didFailWithError error: NSError)
I dont know why its unable to update the locations.
ap...@gmail.com <ap...@gmail.com> #36
Are you guys using a pod-file for this? I had this issue with another SDK. Removing the pod for that SDK and then adding the source etc. directly from the repo made the problem go away.
tw...@gmail.com <tw...@gmail.com> #37
I am having the same issue with 1.10.3 loaded with a pod file. I did note that the info.plist file in GMSCoreResources still listed the bundle version as 1.10.2.
2015-09-25 11:05:56.059 GPSDashboard[4730:2093148] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/BA42827D-FF14-46D1-8928-5D98721FB649/GPSDashboard.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
2015-09-25 11:05:56.103 GPSDashboard[4730:2093148] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/BA42827D-FF14-46D1-8928-5D98721FB649/GPSDashboard.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
2015-09-25 11:05:56.128 GPSDashboard[4730:2093148] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/BA42827D-FF14-46D1-8928-5D98721FB649/GPSDashboard.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
2015-09-25 11:05:56.151 GPSDashboard[4730:2093148] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/BA42827D-FF14-46D1-8928-5D98721FB649/GPSDashboard.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
2015-09-25 11:05:56.059 GPSDashboard[4730:2093148] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/BA42827D-FF14-46D1-8928-5D98721FB649/GPSDashboard.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
2015-09-25 11:05:56.103 GPSDashboard[4730:2093148] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/BA42827D-FF14-46D1-8928-5D98721FB649/GPSDashboard.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
2015-09-25 11:05:56.128 GPSDashboard[4730:2093148] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/BA42827D-FF14-46D1-8928-5D98721FB649/GPSDashboard.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
2015-09-25 11:05:56.151 GPSDashboard[4730:2093148] CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/BA42827D-FF14-46D1-8928-5D98721FB649/GPSDashboard.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
nc...@gmail.com <nc...@gmail.com> #38
I have the same issue, and YES I'm using cocoapods.
pi...@gmail.com <pi...@gmail.com> #39
[Comment deleted]
pi...@gmail.com <pi...@gmail.com> #40
Same ussue with version 1.10.3 install with cocoapods, in a swift project
nc...@gmail.com <nc...@gmail.com> #41
For me its only present on simulator, not on real device.
pr...@gmail.com <pr...@gmail.com> #42
I'm still facing the same issue both in simulator and as well as device. if anyone find the solution please share. One more thing, other than this console message my app does work fine, so if I submit my updated app now, will the apple accept it even though its logging message?
st...@gmail.com <st...@gmail.com> #43
In reply to the request from Brett in #3, request for a test case, I put together this repo:
https://github.com/stevengharris/storageomoerror
It just adds 4 lines of code to a virgin Xcode 7 Swift project using Google Maps via CocoaPods to reproduce the problem (at least for me) on an iPhone6 running iOS 9.0.1.
It just adds 4 lines of code to a virgin Xcode 7 Swift project using Google Maps via CocoaPods to reproduce the problem (at least for me) on an iPhone6 running iOS 9.0.1.
ke...@gmail.com <ke...@gmail.com> #44
#32 fixed it for me.
ch...@gmail.com <ch...@gmail.com> #45
#32 fixed it for me too
er...@gmail.com <er...@gmail.com> #46
#32 fixed it for me too
jo...@gmail.com <jo...@gmail.com> #47
Did not fix for me, still getting warnings in console, and no map in the view.
br...@google.com <br...@google.com> #48
John, can you supply a sample along the lines of https://github.com/domesticmouse/MovingMarkerPosition that demonstrates the issue you are seeing? My suspicion is that your key is wrong, as this is the usual reason for not getting map tiles.
Steven, just confirming that your app works as intended, apart from the Storage.omo log lines?
Steven, just confirming that your app works as intended, apart from the Storage.omo log lines?
st...@gmail.com <st...@gmail.com> #49
Yes, my "real" app under development works just fine as does the little storageomoerror one I put together. Thanks for looking into it!
st...@gmail.com <st...@gmail.com> #50
FWIW, I set up a local non-Cocoapods install of https://github.com/stevengharris/storageomoerror by downloading https://www.gstatic.com/cpdc/c07346004d29ff49-GoogleMaps-1.10.3.tar.gz and doing it "old style". The same error shows up, so this would seem to exonerate Cocoapods. I thought maybe it was some funkiness with copying of pod resources, but apparently not.
st...@gmail.com <st...@gmail.com> #51
Also, this now reproduces on El Capitan, in simulator and device running iOS9.
ga...@gmail.com <ga...@gmail.com> #52
Pruthvi ... getting the same error as well.
Spun up a second project to test if it was app related or not. Seems as soon as I add a GMSMapView to my storyboard the problem is replicated (simulated environment).
Brett ... any status on this one? Do you need any additional information? Were you able to replicate?
Spun up a second project to test if it was app related or not. Seems as soon as I add a GMSMapView to my storyboard the problem is replicated (simulated environment).
Brett ... any status on this one? Do you need any additional information? Were you able to replicate?
br...@google.com <br...@google.com> #53
Garrett,
We have replicated the issue and are looking into how to solve it. Thanks!
We have replicated the issue and are looking into how to solve it. Thanks!
[Deleted User] <[Deleted User]> #54
[Comment deleted]
[Deleted User] <[Deleted User]> #55
PLEASE!!! This has been a big issue for weeks how come this hasn't been fixed yet?
ss...@gmail.com <ss...@gmail.com> #56
Still waiting for solution :'(
vo...@gmail.com <vo...@gmail.com> #57
Same shit :(
to...@gmail.com <to...@gmail.com> #58
Same here: XCode 7.0.1, GoogleMaps (1.10.3)
CoreData: Failed to load optimized model at path '..../data/Containers/Bundle/Application/..../BundleID/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
CoreData: Failed to load optimized model at path '..../data/Containers/Bundle/Application/..../BundleID/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
CoreData: Failed to load optimized model at path '..../data/Containers/Bundle/Application/..../BundleID/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
CoreData: Failed to load optimized model at path '..../data/Containers/Bundle/Application/..../BundleID/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
CoreData: Failed to load optimized model at path '..../data/Containers/Bundle/Application/..../BundleID/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
CoreData: Failed to load optimized model at path '..../data/Containers/Bundle/Application/..../BundleID/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
CoreData: Failed to load optimized model at path '..../data/Containers/Bundle/Application/..../BundleID/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
CoreData: Failed to load optimized model at path '..../data/Containers/Bundle/Application/..../BundleID/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
ke...@abvio.com <ke...@abvio.com> #59
I hate to ask stupid questions but are the warnings innocuous? Can we just ignore them? Does the API function well despite the warnings? I'd like to submit my iOS 9 app and this latest release with these CoreData warnings is the only release that passes the "Xcode 7 archive checks". Perhaps my usage of the API is different from others but despite the CoreData warnings the map views seem to work fine for me.
st...@gmail.com <st...@gmail.com> #60
Hi Kevin,
I have my 2 apps approved by Apple and in AppStore for 2 weeks now even with those warnings. All works just alright.
I have my 2 apps approved by Apple and in AppStore for 2 weeks now even with those warnings. All works just alright.
ch...@gmail.com <ch...@gmail.com> #61
Stan, maybe you can tell the rest of us how you were able to get around the issue? I have the same issue and when I run my application through TestFlight on my iPhone 6 Plus with iOS9, it just crashes my app.
st...@gmail.com <st...@gmail.com> #62
@Chuck, which version do you use? My lucky version is Google Maps SDK for iOS version: 1.10.19729.0. I have those warnings:
CoreData: Failed to load optimized model at path '/Users/stanislavdvoychenko/Library/Developer/CoreSimulator/Devices/C201D166-94DC-4272-9ADE-7A2AFC6F3D13/data/Containers/Bundle/Application/35B508AC-4EC8-4D8E-B400-918A1E9C7846/speedometer.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo '
Bitcode disabled.
Everything works on Testflight (that's around 100 testers with 8.0 to 9.1) and in the AppStore.
Lets find the key difference.
CoreData: Failed to load optimized model at path '/Users/stanislavdvoychenko/Library/Developer/CoreSimulator/Devices/C201D166-94DC-4272-9ADE-7A2AFC6F3D13/data/Containers/Bundle/Application/35B508AC-4EC8-4D8E-B400-918A1E9C7846/
Bitcode disabled.
Everything works on Testflight (that's around 100 testers with 8.0 to 9.1) and in the AppStore.
Lets find the key difference.
ho...@gmail.com <ho...@gmail.com> #63
Mine also crashes as soon as I access Google maps.
ch...@gmail.com <ch...@gmail.com> #64
@stan, I'll check when I get home but thanks for that information!
wi...@gmail.com <wi...@gmail.com> #65
My app seems to work okay with this condition but my debugging (variable inspection etc.) no longer works. Further, (lldb) PO attempts result in the following output.
...
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "/Users/billsimac/STARDev/STAR/Pods/GoogleMaps/Frameworks/GoogleMaps.framework/Headers/GoogleMaps.h"
^
/Users/billsimac/STARDev/STAR/Pods/GoogleMaps/Frameworks/GoogleMaps.framework/Headers/GoogleMaps.h:31:9: error: include of non-modular header inside framework module 'GoogleMaps'
#import <GoogleMaps/GMSMarker.h>
^
too many errors emitted, stopping nowcould not build Objective-C module 'GoogleMaps'
Debug info from this module will be unavailable in the debugger.
error: Error in auto-import:
failed to get module 'STAR' from AST context
(lldb) po self
error: Error in auto-import:
failed to get module 'STAR' from AST context
(lldb)
...
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "/Users/billsimac/STARDev/STAR/Pods/GoogleMaps/Frameworks/GoogleMaps.framework/Headers/GoogleMaps.h"
^
/Users/billsimac/STARDev/STAR/Pods/GoogleMaps/Frameworks/GoogleMaps.framework/Headers/GoogleMaps.h:31:9: error: include of non-modular header inside framework module 'GoogleMaps'
#import <GoogleMaps/GMSMarker.h>
^
too many errors emitted, stopping nowcould not build Objective-C module 'GoogleMaps'
Debug info from this module will be unavailable in the debugger.
error: Error in auto-import:
failed to get module 'STAR' from AST context
(lldb) po self
error: Error in auto-import:
failed to get module 'STAR' from AST context
(lldb)
ch...@gmail.com <ch...@gmail.com> #66
@stan, sorry just now getting back to this...how do i find out which version I am using? I upgraded to the Google cocoapod, and I'm fairly new to those so I'm not sure how to figure out which version it is.
ch...@gmail.com <ch...@gmail.com> #67
@stan, I figured out which version I was running (1.10.3) of the cocoapod. I also found out that it wasn't this piece crashing, but rather something else that changed with the latest and greatest swift2.
I had to change up my code a little bit in the way I was handling the retrieval of my locations via dataTaskWithURL. I do still receive the warnings, but am able to run it on my iOS9 without it crashing. Thanks for the information Stan, as I believe it is what led me in the right direction!
I had to change up my code a little bit in the way I was handling the retrieval of my locations via dataTaskWithURL. I do still receive the warnings, but am able to run it on my iOS9 without it crashing. Thanks for the information Stan, as I believe it is what led me in the right direction!
fr...@gmail.com <fr...@gmail.com> #69
@brett the debugger is still not working :(
br...@google.com <br...@google.com> #70
mb...@gmail.com <mb...@gmail.com> #71
I found a solution for this. I rewrote the whole schema, and when I run the code I got rid of those warnings from core data.
I suggest please take back-up before you try this.
Hope it helps you.
I suggest please take back-up before you try this.
Hope it helps you.
mi...@gmail.com <mi...@gmail.com> #72
[Comment deleted]
ab...@gmail.com <ab...@gmail.com> #73
I am also getting the same error while running the app but can't find a solution.
2015-11-24 11:07:59.048 taskmapnew[1555:33862] Google Maps SDK for iOS version: 1.9.14591.0
2015-11-24 11:07:59.048 taskmapnew[1555:33862] New version of Google Maps SDK for iOS available: 1.10.21020.0
I have attached my project also
2015-11-24 11:07:59.048 taskmapnew[1555:33862] Google Maps SDK for iOS version: 1.9.14591.0
2015-11-24 11:07:59.048 taskmapnew[1555:33862] New version of Google Maps SDK for iOS available: 1.10.21020.0
I have attached my project also
mb...@gmail.com <mb...@gmail.com> #74
I am also getting the same error while running the app but can't find a solution.
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/F6321F6D-F1A2-47E7-BB16-42E66C978D20/Limo.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/F6321F6D-F1A2-47E7-BB16-42E66C978D20/Limo.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/F6321F6D-F1A2-47E7-BB16-42E66C978D20/Limo.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/F6321F6D-F1A2-47E7-BB16-42E66C978D20/Limo.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/F6321F6D-F1A2-47E7-BB16-42E66C978D20/Limo.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/F6321F6D-F1A2-47E7-BB16-42E66C978D20/Limo.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
[Deleted User] <[Deleted User]> #75
I am also getting the same error and map content is not loading in the app.
[Deleted User] <[Deleted User]> #76
Also getting this!!!
CoreData: annotation: Failed to load optimized model at path '/Users/jpuente/Library/Developer/CoreSimulator/Devices/2ADD818E-5011-4427-8ABB-4562072346D8/data/Containers/Bundle/Application/3FFAAC11-466F-46DE-9542-EF56C6158AFA/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/3FFAAC11-466F-46DE-9542-EF56C6158AFA/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: annotation: Failed to load optimized model at path '/Users/jpuente/Library/Developer/CoreSimulator/Devices/2ADD818E-5011-4427-8ABB-4562072346D8/data/Containers/Bundle/Application/3FFAAC11-466F-46DE-9542-EF56C6158AFA/Microtransit.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation: Failed to load optimized model at path '/Users/jpuente/Library/Developer/CoreSimulator/Devices/2ADD818E-5011-4427-8ABB-4562072346D8/data/Containers/Bundle/Application/3FFAAC11-466F-46DE-9542-EF56C6158AFA/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/3FFAAC11-466F-46DE-9542-EF56C6158AFA/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: annotation: Failed to load optimized model at path '/Users/jpuente/Library/Developer/CoreSimulator/Devices/2ADD818E-5011-4427-8ABB-4562072346D8/data/Containers/Bundle/Application/3FFAAC11-466F-46DE-9542-EF56C6158AFA/Microtransit.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
Description
Xcode 7
iOS 9 Beta (on a real device)
I run my application and I get this error (several times) on the console:
CoreData: Failed to load optimized model at path '/var/mobile/Containers/Bundle/Application/7ADC7211-3797-4EEB-A4D0-A04F5692D9C0/Driver.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
Any clue what is making this?
Thank you
Regards