Compile error of ODataGen files with iOS 4.3

Sep 7, 2011 at 2:50 AM

Any idea of how to fix the following issue:

Error when compiling files generated by ODataGen (OData Client for Objective-C library V1.2) with iOS 4.3:

ld: warning: ignoring file odatalib/lib/iPhoneDeviceLibs/iPhone_Device_4.1/debug/libMSODataLib.a, missing required architecture i386 in file

Undefined symbols for architecture i386:

  "_OBJC_METACLASS_$_ObjectContext", referenced from:

      _OBJC_METACLASS_$_ScheduleStatusContext in ScheduleStatusContext.o

  "_OBJC_CLASS_$_ObjectContext", referenced from:

      _OBJC_CLASS_$_ScheduleStatusContext in ScheduleStatusContext.o


When will the next released version of OData Client for Objective-C library for iOS 4.3 be released?


Dec 24, 2011 at 4:15 PM

I have the same problem.  Were you able to find a solution?

Jan 8, 2012 at 6:11 AM

had the same problem, if you are building in debug mode to the simulator you need to add the simulator lib instead of the device lib