Google地图集成iOS 1.9.0问题 [英] Google Map Integration iOS 1.9.0 issue

查看:107
本文介绍了Google地图集成iOS 1.9.0问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请提供以下错误的解决方案,谷歌地图iOS集成,我面临从最近两天,但没有得到任何解决方案。

Please provide solution on below error for google map iOS integration, Which i am facing from last two days but not getting any solution on this.

查找以下日志

2014-11-27 11:38:09.230 MapPin [2279:41725] CoreData:警告:无法为实体'GMSCachedTile'加载类'GMSCachedTile' 。找不到类,而是使用默认的NSManagedObject。
2014-11-27 11:38:09.231 MapPin [2279:41730] CoreData:警告:无法加载实体GMSCachedObject的名为GMSCachedObject的类。找不到类,而是使用默认的NSManagedObject。
2014-11-27 11:38:09.233 MapPin [2279:41725] - [NSManagedObject tileCoords]:无法识别的选择器发送到实例0x7a174ac0
2014-11-27 11:38:09.235 MapPin [2279: 41725] *终止应用程序由于未捕获的异常'NSInvalidArgumentException',原因:' - [NSManagedObject tileCoords]:无法识别的选择发送到实例0x7a174ac0'
*
第一掷调用堆栈:

0的CoreFoundation 0x03466946 exceptionPreprocess + 182
1 libobjc.A.dylib 0x030efa97 objc_exception_throw + 44
2的CoreFoundation 0x0346e5c5 - [NSObject的(NSObject的)doesNotRecognizeSelector:] + 277
3的CoreFoundation 0x033b73e7 ___转发_
+ 1047
4的CoreFoundation 0x033b6fae _CF_forwarding_prep_0 + 14
5 MapPin 0x0011e892 __47- [GMSTileDataCache startWithCompletionHandler:] _ block_invoke57 + 761
6 MapPin 0x00123bc4 - [GMSTileDataCache fetchTilesImmediateWithPredicate:sortDescriptor :completionHandler:] + 389
7 MapPin 0x0011e44c __47- [GMSTileDataCache startWithCompletionHandler:] _ block_invoke + 474
8 libdispatch.dylib 0x0391e30a _dispatch_call_block_and_release + 15
9 libdispatch.dylib 0x0393ee2f _dispatch_client_callout + 14
10 libdispatch.dylib 0x03924afc _dispatch_queue_drain + 1475
11 libdispatch.dylib 0x039243c3 _dispatch_queue_invoke + 212
12 libdispatch.dylib 0x03927067 _dispatch_root_queue_drain + 466
13 libdispatch.dylib 0x0392884a _dispatch_worker_thread3 + 115
14 libsystem_pthread.dylib 0x03c9a296 _pthread_wqthread + 724
15 libsystem_pthread.dylib 0x03c97eea start_wqthread + 30

++的libc abi.dylib:类型NSException的未捕获的异常终止

2014-11-27 11:38:09.230 MapPin[2279:41725] CoreData: warning: Unable to load class named 'GMSCachedTile' for entity 'GMSCachedTile'. Class not found, using default NSManagedObject instead. 2014-11-27 11:38:09.231 MapPin[2279:41730] CoreData: warning: Unable to load class named 'GMSCachedObject' for entity 'GMSCachedObject'. Class not found, using default NSManagedObject instead. 2014-11-27 11:38:09.233 MapPin[2279:41725] -[NSManagedObject tileCoords]: unrecognized selector sent to instance 0x7a174ac0 2014-11-27 11:38:09.235 MapPin[2279:41725] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSManagedObject tileCoords]: unrecognized selector sent to instance 0x7a174ac0' * First throw call stack: ( 0 CoreFoundation 0x03466946 exceptionPreprocess + 182 1 libobjc.A.dylib 0x030efa97 objc_exception_throw + 44 2 CoreFoundation 0x0346e5c5 -[NSObject(NSObject) doesNotRecognizeSelector:] + 277 3 CoreFoundation 0x033b73e7 ___forwarding_ + 1047 4 CoreFoundation 0x033b6fae _CF_forwarding_prep_0 + 14 5 MapPin 0x0011e892 __47-[GMSTileDataCache startWithCompletionHandler:]_block_invoke57 + 761 6 MapPin 0x00123bc4 -[GMSTileDataCache fetchTilesImmediateWithPredicate:sortDescriptor:completionHandler:] + 389 7 MapPin 0x0011e44c __47-[GMSTileDataCache startWithCompletionHandler:]_block_invoke + 474 8 libdispatch.dylib 0x0391e30a _dispatch_call_block_and_release + 15 9 libdispatch.dylib 0x0393ee2f _dispatch_client_callout + 14 10 libdispatch.dylib 0x03924afc _dispatch_queue_drain + 1475 11 libdispatch.dylib 0x039243c3 _dispatch_queue_invoke + 212 12 libdispatch.dylib 0x03927067 _dispatch_root_queue_drain + 466 13 libdispatch.dylib 0x0392884a _dispatch_worker_thread3 + 115 14 libsystem_pthread.dylib 0x03c9a296 _pthread_wqthread + 724 15 libsystem_pthread.dylib 0x03c97eea start_wqthread + 30 ) libc++abi.dylib: terminating with uncaught exception of type NSException

推荐答案

如果您正在阅读本教程( http://www.raywenderlich.com/81103/introduction-google-maps-ios-sdk-swift ),但试图在您现有的项目中实现这一点,您可能跳过了将-ObjC添加到项目的构建设置下的其他链接器标记的步骤。

If you're following this tutorial (http://www.raywenderlich.com/81103/introduction-google-maps-ios-sdk-swift) but trying to implement this in your existing project, you probably skipped over the step to add -ObjC to the Other Linker Flags under the Build Settings for the Project.

这篇关于Google地图集成iOS 1.9.0问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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