Xcode Objective-c warnings "Creating a nonexistent method selector" using OCUnit (SenTestingKit)

In Xcode, I started getting warnings while trying to write some unit tests using 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 this something I should worry about, or can I somehow disable these types of warnings with some compiler flag?

+3
source share
1 answer

You might want to know if your problem helps you: http://www.mail-archive.com/ cocoa-dev@lists.apple.com /msg09557.html

0
source

Source: https://habr.com/ru/post/1736509/


All Articles