I have a working OpenEars 2.0.3 app. I want to add RapidEars and have followed instructions, EXCEPT for the -ObjC linker flag. It compiles and links fine.
When I run, I get:
2015-05-04 … Bleeper[…] -[OEPocketsphinxController startRealtimeListeningWithLanguageModelAtPath:dictionaryAtPath:acousticModelAtPath:]: unrecognized selector sent to instance 0x1740b2660
2015-05-04 … Bleeper[…] *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘-[OEPocketsphinxController startRealtimeListeningWithLanguageModelAtPath:dictionaryAtPath:acousticModelAtPath:]: unrecognized selector sent to instance 0x1740b2660’
If I add -ObjC, it runs fine.
So, can someone explain to me why this matters? I suspect that this means that something else is wrong in my build settings.
Thanks,
Rikk