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

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

问题描述

从 CocoaPods 安装 Google Maps SDK 后出现此错误.

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'

我再次尝试了 pod update 和 pod install 但同样的问题.

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

推荐答案

如果您已经使用应用程序包标识符的 APIkey 仔细检查了google maps ios-sdk"的基本设置 这里 仍然有同样的问题,那么你可能没有启用谷歌地图 API.转到 https://console.developers.google.com 上的应用项目信息中心,然后点击启用 API 和服务".在那里,在 MAPS 部分下选择Google maps sdk for ios"并启用它.

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天全站免登陆