Error when try to start scanning chromecast device

淺唱寂寞╮ 提交于 2019-12-24 00:49:09

问题


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

Any suggestions?

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:


Found the answer:

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



来源:https://stackoverflow.com/questions/22693171/error-when-try-to-start-scanning-chromecast-device

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