Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error when try to start scanning chromecast device

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'
like image 959
EmilyJ Avatar asked Dec 09 '25 09:12

EmilyJ


1 Answers

Found the answer:

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

like image 171
EmilyJ Avatar answered Dec 11 '25 22:12

EmilyJ