尝试开始扫描chromecast设备时出错 [英] Error when try to start scanning chromecast device

查看:47
本文介绍了尝试开始扫描chromecast设备时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用iOS:尝试调用 GCKDeviceScanner 实例的 startScan 方法时遇到此错误。

Working with iOS: I got this error when trying to call startScan method of a GCKDeviceScanner instance.

有什么建议吗?

2014-03-27 11:03:17.814 XXX4Cast[3542:60b] -[__NSCFTimer gck_setTolerance:]: unrecognized selector sent to instance 0x8dc8260
2014-03-27 11:03:17.818 XXX4Cast[3542:60b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFTimer gck_setTolerance:]: unrecognized selector sent to instance 0x8dc8260'


推荐答案

找到答案:

在构建设置下,将 -ObjC添加到其他链接器标志部分。

Under Build Settings, add "-ObjC" to the "Other Linker Flags" section.

这篇关于尝试开始扫描chromecast设备时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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