Cordova Build error: nodeValue undefined
<p>After a couple of days without touching my app, today when I tried to build it I got the following error:</p>

<pre><code>Error thrown while running shell command: "cordova build ios" 
Error: Command failed: /bin/sh -c cordova build ios 
Error: Cannot read property 'nodeValue' of undefined
</code></pre>

<p>If I remove the ios platform and add it again, it will work, but that's not the best solution... I'd like to understand the issue. </p>

<p>Do you have any idea what might have caused this error and what would be the best solution to fix it? </p>

<p>Thanks.</p>