开发者

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

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 'myMethodN开发者_C百科ame2:'
...
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?


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜