2010-03-11 62 views
3

Xcode Objective-c警告「創建選擇器不存在的方法」當我嘗試使用OCUnit(SenTestingKit)編寫一些單元測試時,我開始在XCode中得到如下警告。與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' 

是我應該擔心的事情,還是我可以通過某種編譯器標誌禁用這些類型的警告?

+0

重複:http://stackoverflow.com/q/20664918/751932 – Speakus 2014-10-07 06:07:50

回答