There are two situations, that I am aware of, that cause the following errors:
ld: warning: instance method \'resetAudioSystem\' in category from /opentok-i
This look like a linker bug. Maybe the SDK got linked more than once, or -ObjC is missing/present where it should not be. Check linker flags. Try deleting all OpenTok frameworks, make sure its missing in your projects, then re-download it and install again.
I had this error, because I literally pasted my methods' implementation to header file (*.h
). It worked well however; the only symptom - warnings.
Check whether your implementation is in correct (*.m
) file.
I had this warnings because I accidentally imported the implementation file of a category instead of it's header file. So:
wrong: #import 'MyClass+MyCategory.m'
#import 'MyClass+MyCategory.h'