ios - Xcode 5.1.1 - 错误 : Start Page at 'www/index.html' was not found

标签 ios cordova xcode5

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

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

最佳答案

我也遇到过类似的问题 - 我使用的是 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

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

关于ios - Xcode 5.1.1 - 错误 : Start Page at 'www/index.html' was not found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23800658/

相关文章:

iphone - UIAnimation 导致按钮 titleLabel 在动画期间消失

c++ - ios firebase::App::Create 上的 firebase C++ sdk 返回 nullptr

javascript - 调用 phonegap.js 将不起作用

iphone - "Tesseract OCR API"是否有可用的 "IOS SDK 7.0"?

ios - 添加自定义字体的问题

ios - XCode 5 象征崩溃日志

c++ - 如何在 Objective-C 中使用初始化列表

iphone - 为什么我的 ASIHTTPRequest 文件显示 ARC 错误?

javascript - 如何将事件绑定(bind)到cordova中的键盘显示

javascript - 在后台运行phonegap ios应用程序中的JavaScript函数。