This is a very interesting error message, you may want to look at the order of the method you are calling, and the code that causes the warning message. -(void) aMainMethod{ [self testMethod] //call the method, warning occurs here .... } //here's the method you are calling -(void) testMethod{ NSLog(@"test"); } If your method is at somewhere after the code you call it (if it’s like above), move it