0

I try to delete Derived data so it can reload the new files, but still the same error, can anybody have idea how to add methods to framework? Or i have to decompile the framework and add some methods and compile it again? Any Suggestions?

  • Take a look at this : http://stackoverflow.com/questions/10442653/unrecognized-selector-calling-category-method-in-static-ios-library – Tushar Nov 02 '16 at 10:29
  • Give the the whole error message, it's often giving you hint: Class Object, Method signature, and callback trace. – Larme Nov 02 '16 at 10:36
  • Tushar I have tried this also but didnt work. Larme it is not the problem with the method, but Framework is using old code, so it thinks there is no method like that. so it generates 'NSInvalidArgumentException' unrecognized selector sent to instance –  Nov 02 '16 at 11:23
  • When you say "add methods to framework", how are you trying to do that? A category? – Phillip Mills Nov 02 '16 at 13:11
  • if i add in header file - (void)myMethod; and in implementation file - (void)myMethod { NSLog(@"myMethod Called"); } when i am trying to call [a myMethod]; it gives me an error –  Nov 02 '16 at 13:45

0 Answers0