【问题标题】:Xcode 5.1.1 - ERROR: Start Page at 'www/index.html' was not foundXcode 5.1.1 - 错误:未找到“www/index.html”处的起始页
【发布时间】:2014-07-11 03:02:44
【问题描述】:

在 Xcode 5.1.1 上,即使添加文件夹后,我也会收到以下错误:

" ERROR: Start Page at 'www/index.html' was not found".

【问题讨论】:

  • 检查文件是否存在index.html
  • @PrathameshSaraf 我检查了。它是“index.html”而不是“Index.html”
  • 可以在浏览器中打开 index.html 吗?
  • 它的网址是什么?
  • @smj2393 www/index.html

标签: ios cordova xcode5


【解决方案1】:

我遇到了类似的问题 - 我在 xcode 5.1.1 上(android 运行良好) - 我做到了:

$ cordova -v
3.4.1-0.1.0

$ cordova run ios
<ios simulator : ERROR: Start Page at 'www/index.html' was not found.>

$ cordova serve ios
Static file server running on port 8001 (i.e. http://localhost:8001)
<in a browser i can do http://localhost:8001/ios/www/index.html>

index.html 文件在那里:

$ tree -L 1 platforms/ios/www/
platforms/ios/www/
├── README.md
├── cordova.js
├── cordova_plugins.js
├── css
├── img
├── index.html
├── js
├── lib
├── plugins
└── templates

好吧,抱歉,这不是一个答案,而是一个详细说明:)

【讨论】:

    猜你喜欢
    • 2022-10-01
    • 1970-01-01
    • 1970-01-01
    • 2015-06-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多