2010-03-11 6 views
3

J'ai commencé à recevoir des avertissements comme ceci dans XCode lorsque j'essayais d'écrire des tests unitaires avec OCUnit (SenTestingKit).Xcode Avertissements Objective-c "créer un sélecteur pour une méthode inexistante" avec 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' 

Est-ce quelque chose dont je devrais me soucier, ou puis-je désactiver ces types d'avertissements par un indicateur de compilation?

+0

double: http://stackoverflow.com/q/20664918/751932 – Speakus

Répondre

Questions connexes