CoreData: Failed to load optimized model at path

2019-03-18 15:26发布

I am getting this warning multiple times when i goto a view using google maps.This started as soon as i migrated to swift 2.0 and xcode 7 for my exising project .Im using google maps in my project. See the console log below enter image description here

I have gone through some links but was not helpful https://code.google.com/p/gmaps-api-issues/issues/detail?id=8459

https://forums.developer.apple.com/thread/14157

2条回答
可以哭但决不认输i
2楼-- · 2019-03-18 15:32

In my case I needed doing 1) update cocoa pod, 2) setup again, and 3) update pods.

1) $ gem update cocoapods

2) $ pod setup

3) $ pod update

查看更多
乱世女痞
3楼-- · 2019-03-18 15:42

As indicated in your console log, this is caused by an issue in the Google Maps SDK. The issue has been fixed in the latest Google Maps SDK release, so if you update it, it should work like before.

If you're using CocoaPods, just add pod 'GoogleMaps' in your podfile and run $ pod install.

查看更多
登录 后发表回答