Xcode 5.1.1 - 错误:在&www; www / index.html'起始页面没找到

时间:2014-05-22 07:42:32

标签: ios cordova xcode5

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

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

1 个答案:

答案 0 :(得分: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

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