When preparing ios project using Cordova CLI for editing in xcode you receive an error.
[TypeError: Cannot read property 'nodeValue' of undefined]
1. Backup your www folder and cd into platforms folder in your Cordova project and delete ios platform
cd platforms rm -R ios
2. cd back to root of your cordova project and Add ios platform again
You will notice Cordova CLI automatically prepares ios as well. CLI will even install the plugins you previously installed.cd ../ cordova platform add ios
Open xcode and you're back to work.Creating ios project... Preparing ios project Starting installation..