I have created a Phone Gap based application on iPhone. After the first run, I have dragged my www folder, containing index.html into the project,
It's an incompatibility between PhoneGap and XCode 4. To resolve:
www folder from your curent project's folder (it's
included in there, but not added as a reference);Note: if you choose "Create groups for any added folders", the app will still fail at runtime.