Xcode can't find index.html
Steps to reproduce:
- Clone project
- npm install
- ionic cordova platform add ios
- open xcode
- run app
It returns me error that can't find index.html. As a workaround i executed:
- ionic serve
- stop serve
- ionic cordova platform rm ios
- ionic cordova platform add ios
FInally index.html and assets created successfully.
You're not doing an Ionic (web asset) Build. If you want to use Xcode for running your app, you need to run ionic build each time before running your app in Xcode.
Alternatively, ionic cordova run ios will run an Ionic Build for you.
@gtzinos @dwieeb ionic cordova run ios don't fix for me. bash displays "BUILD SUCCEEDED", but a white screen is displayed after splash with error
cannot get [path to] myApp.app/index.html
Thanks
I'm getting the same error, anyone managed how to fix it?