i am using ASIHTTP class.I am using non-arc code structure.And also using libASILib.a instead of implementation file.
I am getting error:Undefined symbols for architecture i386:
"_OBJC_CLASS_$_ASIFormDataRequest", referenced from:
I am able to run in device but not able to run in simulator.Please help me.Thanking you in advance...
Asked
Active
Viewed 31 times
0

h999
- 395
- 1
- 5
- 21
-
Are you tied [this](http://stackoverflow.com/questions/5786285/error-in-asiformdatarequest-objc-class-asiformdatarequest-referenced-from) solutions? – CAMOBAP Apr 22 '13 at 13:35
-
@CAMOBAP : hey i am using libASILib.a instead of .m files. – h999 Apr 22 '13 at 13:38
-
the library hasn't been built for i386. You need to build the .a file as a fat binary that includes object files for i386 and armv – Max MacLeod Apr 22 '13 at 13:40
-
@MaxMacLeod : so should i replace it by .m files? – h999 Apr 22 '13 at 13:42
-
ideally, ditch AsiHttp. It's old and it's no longer supported. Move to AFNetworking. – Max MacLeod Apr 22 '13 at 14:52
-
oh, and read http://stackoverflow.com/questions/4839981/symbols-not-found-for-architecture-i386 – Max MacLeod Apr 22 '13 at 14:53