I have a phonegap project on Android. It looks good, but when I go to the phonegap site, I have some problems with the ios version.
Therefore, I am trying to use xcode using the xcode simulator, but I have the following error:
2013-04-03 21:29:27.261 Assas[2339:c07] Multi-tasking -> Device: YES, App: YES 2013-04-03 21:29:28.455 Assas[2339:c07] [LOG] true 2013-04-03 21:29:28.940 Assas[2339:c07] -[__NSCFArray dataUsingEncoding:allowLossyConversion:]: unrecognized selector sent to instance 0x8939150 2013-04-03 21:29:28.942 Assas[2339:c07] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFArray dataUsingEncoding:allowLossyConversion:]: unrecognized selector sent to instance 0x8939150' *** First throw call stack: (0x14c012 0x25a2e7e 0x1d74bd 0x13bbbc 0x13b94e 0x163b0 0x16243 0x5bbdb 0x5b32c 0x5aedd 0x5b075 0x5af93 0x25b66b0 0x1125765 0xcff3f 0xcf96f 0xf2734 0xf1f44 0xf1e1b 0x33d37e3 0x33d3668 0x387ffc 0x214c 0x20a5) libc++abi.dylib: terminate called throwing an exception
I take the contents of my www folder in my Android project, I just change config.xml and jsfile cord
I am using phonegap 2.4.0 for both projects
edit:
error in other sources /main.m
#import <UIKit/UIKit.h> int main(int argc, char* argv[]) { @autoreleasepool { int retVal = UIApplicationMain(argc, argv, nil, @"AppDelegate"); return retVal; } }
in line 6
thanks
source share