问题描述
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。在上转至您的应用项目信息中心,然后点击启用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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!