PhoneGap application: “ERROR: Start Page at `www/index.html` was not found”

前端 未结 9 2262
萌比男神i
萌比男神i 2020-12-12 22:37

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,

9条回答
  •  鱼传尺愫
    2020-12-12 22:55

    It's an incompatibility between PhoneGap and XCode 4. To resolve:

    • right click on your project and choose "Add files to [project name]...";
    • choose the www folder from your curent project's folder (it's included in there, but not added as a reference);
    • when you select the folder, make sure you choose "Copy items into destination group's folder" as well as "Create folder references for any added folders".

    Note: if you choose "Create groups for any added folders", the app will still fail at runtime.

提交回复
热议问题