I am currently working on developing an app using PhoneGap. However, I encountered a problem when trying to use the extractzipfile plugin for iOS, resulting in the following error:
Undefined symbols for architecture i386:
"_main", referenced from:
start in crt1.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
After researching the issue, I discovered a solution: "add main.m to the compiler source of the compiler phrase." This fixed the previous error but introduced a new exception:
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Unable to instantiate the UIApplication delegate instance. No class named AppDelegate is loaded.'
My current setup includes PhoneGap 2.5.0 and Xcode 4.6.1, with the iPhone simulator 6.1 being used. Any help or guidance would be greatly appreciated as I am relatively new to this and feeling a bit lost.