Xcode Objective-c warnings "creating selector for nonexistent method" with OCUnit (SenTestingKit)

Posted by niblha on Stack Overflow See other posts from Stack Overflow or by niblha
Published on 2010-03-11T15:55:40Z Indexed on 2010/04/23 22:33 UTC
Read the original article Hit count: 449

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?

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about xcode