Xcode Objective-c warnings "creating selector for nonexistent method" with OCUnit (SenTestingKit)
- by niblha
I started getting getting warnings like the following in XCode when trying to write some unit tests with OCUnit (SenTestingKit).
warning: creating selector for nonexistent method 'myMethodName1:'
warning: creating selector for nonexistent method 'myMethodName2:'
...
warning: creating selector for nonexistent method 'release'
warning: creating selector for nonexistent method 'retain'
warning: creating selector for nonexistent method 'alloc'
warning: creating selector for nonexistent method 'init'
Is it something I should worry about, or can I somehow disable these types of warnings by some compiler flag?