I have a very strange problem with Cordova in macOS High Sierra. The problem is when I try to build the app I get the following error message:
app:spawn: Running “cordova build --release ios” +1ms
"Unexpected token I in JSON at position 0"
app:spawn: Command “cordova” failed with exit code: 1 +9ms
Is there any reason for this? When I build the Android version (in another computer) the build process works without problems.
I already have XCode installed and I have accepted de license agreement.