尝试开始扫描chromecast设备时出错

时间:2014-03-27 16:08:54

标签: ios chromecast google-cast

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

有什么建议吗?

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'

1 个答案:

答案 0 :(得分:10)

找到答案:

在Build Settings下,添加" -ObjC"到"其他连接标志"部分。