无法加载优化模型 - GoogleMaps SDK IOS [英] Failed to load optimized model - GoogleMaps SDK IOS

查看:491
本文介绍了无法加载优化模型 - GoogleMaps SDK IOS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  CoreData:annotation:无法在模型中加载优化模型路径'/Users/nabeel/Library/Developer/CoreSimulator/Devices/96078737-8063-4BC1-97DB-7FECEC6835D9/data/Containers/Bundle/Application/972CD686-82DD-4357-9CDD-65A735D82190/My-APP-Beta.app /GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo'

CoreData:注释:未能加载优化模型在路径'/ Users / nabeel / Library / Developer / CoreSimulator / Devices / 96078737-8063-4BC1-97DB-7FECEC6835D9 / data / Containers / Bundle / Application / 972CD686-82DD-4357-9CDD-65A735D82190 / My-APP-Beta .app / GoogleMaps.bundle / GMSCacheStorage.momd / StorageWithTileVersionID.omo'
CoreData:注解:无法在路径'/ Users / nabeel / Library / Developer / CoreSimulator / Devices / 96078737-8063-4BC1- 97dB的-7FECEC6835D9 /数据/容器/捆绑/应用/ 972CD686-82DD-4357-9CDD-65A735D82190 / My-APP-Beta.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo'



我已经尝试过pod更新和pod安装,但同样的问题。如果您已经使用应用程序包标识符的APIkey对google maps ios-sdk的基本设置进行了仔细检查此处并仍然存在相同的问题,那么您可能尚未启用Google地图API。在 https://console.developers.google.com 上转至您的应用项目信息中心,然后点击启用APIS和服务。在那里,在MAPS部分下选择Google地图sdk for ios并启用它。

I am getting this error after installing Google Maps SDK from CocoaPods.

CoreData: annotation:  Failed to load optimized model at path '/Users/nabeel/Library/Developer/CoreSimulator/Devices/96078737-8063-4BC1-97DB-7FECEC6835D9/data/Containers/Bundle/Application/972CD686-82DD-4357-9CDD-65A735D82190/My-APP-Beta.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo'

CoreData: annotation: Failed to load optimized model at path '/Users/nabeel/Library/Developer/CoreSimulator/Devices/96078737-8063-4BC1-97DB-7FECEC6835D9/data/Containers/Bundle/Application/972CD686-82DD-4357-9CDD-65A735D82190/My-APP-Beta.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo' CoreData: annotation: Failed to load optimized model at path '/Users/nabeel/Library/Developer/CoreSimulator/Devices/96078737-8063-4BC1-97DB-7FECEC6835D9/data/Containers/Bundle/Application/972CD686-82DD-4357-9CDD-65A735D82190/My-APP-Beta.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo'

I have tried pod update and pod install again but same issue.

解决方案

If you have already double-checked the basic setup for the "google maps ios-sdk" with an APIkey for your app's bundle identifier here and still have the same problem then probably you have not enabled the google maps API. Go to your app-project's dashboard on https://console.developers.google.com and click the "ENABLE APIS AND SERVICES". There, under the MAPS section select "the Google maps sdk for ios" and enable it.

这篇关于无法加载优化模型 - GoogleMaps SDK IOS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆