I got this error because I mistyped the Link to link.

So two rules that Xcode determine a method is an init method:

  1. return instancetype or id
  2. the method name should be a capital letter followed by init.

For example:

1
- (intancetype)initWithImage:(UIImage *)image;