cordova - PhoneGap app crashes with "unrecognized selector" error -
i have basic phonegap project, 100% auto-generated code. app starts, , crashes on second line:
int main(int args, char* argv[]) { nsautoreleasepool* pool = [[nsautoreleasepool alloc] init]; int retval = uiapplicationmain(argc, argv, nil, @"appdelegate"); // exception [pool release]; return retval; } the exception [__nscfstring count] unrecognized selector sent instance. seems expected string, , got nil instead. there configuration setting supposed set?
edit: using xcode 4.2.1.
thanks.
i figured out. fault.
my app needs communicate web service, changed externalhosts setting in .plist file *. problem instead of adding item array, had changed type string. after changing array, started working.
Comments
Post a Comment