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

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -