Category Conflict: instance method in category from conflicts with same method from another category

孤者浪人 提交于 2019-12-03 10:24:12

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 warnings because I accidentally imported the implementation file of a category instead of it's header file. So:

wrong: #import 'MyClass+MyCategory.m'

right: #import 'MyClass+MyCategory.h'

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.

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