Search code examples
iphoneobjective-cgdataios6

Invalid conversion specifier '2'


i am trying to build my app in iOS 6 and for iphone 5. I am using gdata-objectivec-client-1.10.0 in my app but when i build my app then it does it is giving this error in the GDataDateTime.m file. Can any one please help me in solving this issue.

 timeString = [NSString stringWithFormat:@"T%02ld:%02ld:%0l2d%@",

ERROR is "invalid conversation from specifier 2"

enter image description here

now it is giving this error after swapping the "l" and "2". any help enter image description here


Solution

  • The main problem was, i am using old GData sdk. I just change the compiler to LLVM GCC 4.2 from Apple LLVM 4.1 and it compiles app perfectly.