Hi i've been struggling with these errors for a day now.
I'm using the TouchJSON framework(http://code.google.com/p/touchcode/) for the iphone.Everything compiles fine on the iphone simulator but when i try to compile on the device i get link errors.
Undefined symbols:
"___switch8", referenced from:
-[NetworkController constructByteMessage:command:] in NetworkController.o
-[CJSONScanner scanJSONObject:error:] in CJSONScanner.o
"___restore_vfp_d8_d15_regs", referenced from:
+[CJSONDataSerializer initialize] in CJSONDataSerializer.o
"___save_vfp_d8_d15_regs", referenced from:
+[CJSONDataSerializer initialize] in CJSONDataSerializer.o
"___switchu8", referenced from:
-[CJSONScanner scanJSONStringConstant:error:] in CJSONScanner.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
NetworkController is a class of mine which uses the touchJSON methods to parse and generate JSON. I think it's the touchJSON library that's causing most of the linking errors so i tried another framework json framework but it still causes 1 error.
I tried changing from "debug" to "release" but still gives the same errors. I then tried adding -all_load and -ObjC to the linker flags but it still errors. Any help or hints would be appreciated.