How to disable "Multiple methods named ... found with mismatched result, parameter type or attributes" How to disable "Multiple methods named ... found with mismatched result, parameter type or attributes" xcode xcode

How to disable "Multiple methods named ... found with mismatched result, parameter type or attributes"


Looks like problem has been solved in latest version of library, see discussion on this issue https://github.com/TheLevelUp/ZXingObjC/issues/208

If you are not ready to upgrade to latest version, I'd prefer this fix from discussion

  • (id)parsedResultWithType:(ZXParsedResultType)type {return [(ZXParsedResult *)[self alloc] initWithType:type];}

More on such kind of errorsnew in Xcode 6.3/iOS 8.3: using self alloc for convenience constructor causes build error