Search code examples
xcode4cordova

Phonegap-Xcode4-AppDelegate


ok, so I am running this phone gap app in Xcode4. It finally runs fine in an iPad simulator. I was even able to make it work in a real iPad device. Then after couple of times downloading the code from Xcode to iPad, it started giving me this error:

int retVal = UIApplicationMain(argc, argv, nil, @"AppDelegate");

The app just gets stuck there. I am new to this and really need help with this.


Solution

  • You may be having an issue with the linked Phonegap files. Try doing a clean and then a run build.

    Unfortunately, when the app fails on the Main line it doesn't help to debug the error any. Check the console and try hitting the continue button to see if it throws a better error.