I had to setup a xCode project with Cordova. Never worked with Cordova before. And got this error when starting the simulator.
NVM 14.20 NPM 6.14.17 Corodva 11.0 xCode 13.4.1
I installed with sudo npm install -g cordova
Installed the sim sudo npm install -g ios-sim
Generated the project cordova platform add ios
The www folder in the project is empty, where should it come from?
CodePudding user response:
You need to actually create your cordova project
sudo npm install -g cordova
cordova create DIR_NAME PACKAGE_NAME
cordova platform add ios
CodePudding user response:
After creating project you can see the default page in config.xml in folder of your project.
It points to index.html, default page of project.