CoreData: Failed to load optimized model at path

匿名 (未验证) 提交于 2019-12-03 02:51:02

问题:

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

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

回答1:

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.



回答2:

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



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!