Domanda

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'
È stato utile?

Soluzione

Found the answer:

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top