Google maps for iOS crashing

爷,独闯天下 提交于 2019-12-25 04:12:05

问题


Hi l am having a problem implementing google maps for iOS I have put all the relevant frameworks and added the -ObjC under Project NOt target and I am getting this error:

CoreData: warning: Unable to load class named 'GMSCacheProperty' for entity 'GMSCacheProperty'.  Class not found, using default NSManagedObject instead.
2015-02-09 22:48:01.326 AlertPoint[8038:957015] CoreData: warning: Unable to load class named 'GMSCachedObject' for entity 'GMSCachedObject'.  Class not found, using default NSManagedObject instead.
2015-02-09 22:48:01.730 AlertPoint[8038:957014] +[NSData gtm_dataByInflatingData:]: unrecognized selector sent to class 0x197f9d480

I have set the key and matched it to the bundle identifier as required and followed all the step, its been 3 days and No Luck. Please help.

That's how my iOS simulator looks:


回答1:


You should add the @objc add to your NSManagedObject-class which you save in the CoreData:

@objc(GMSCacheProperty)
class GMSCacheProperty { 

}


来源:https://stackoverflow.com/questions/28421203/google-maps-for-ios-crashing

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