cancel
Showing results for 
Search instead for 
Did you mean: 

Class Method "setApplication" not found in xCode

Former Member
0 Kudos

Hi All,

I am trying to connect to Sup 2.1.3 server from my xCode.I have followed all the instructions,Added all the Libs and files (iOS folder),Header and Library Paths and project is compiling successfuly.

But i am getting a warning in SUP101AppDelegate that causes a run time Crash.

On  [SUP101SUP101DB setApplication:app]; it says Class Method "setApplication" not found.

I have browsed both SUP101SUP101DB.h and SUPAbstractDB.h but there is no declaration of "setApplication" anywhere.

I am getting this error

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[SUP101_SUP101DB setApplication:]: unrecognized selector sent to class 0x47f94c'

I have followed all the instruction but i am stuck.May be there is an option i have over looked. Can any one please guide me so i can solve this issue.

Thanks in Advance

Azeem


Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Azeem,

setApplication method exist in SUP101SUP101DB.m file.Make sure you have proper generated code and all the required libs.

Regards,

Abhishek Wajge

Answers (1)

Answers (1)

sujith_prathap
Advisor
Advisor
0 Kudos

Hi Azeem,

               Could you please set Other Linker Flags values to -ObjC and -all_load and see if your project compiles.

Best Regards,

Sujith