使用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'
答案 0 :(得分:10)
找到答案:
在Build Settings下,添加" -ObjC"到"其他连接标志"部分。