When I use my globally installed Cordova 7.1.0 toolset and do an iOS remote build (to simulator or to Local Device), I almost immediately get the error message:
Latest way to compile for iOS using Cordova and Visual Studio 2017 (15.5)
In Mac OS:
Install Xcode 9.*
Install Node.JS 6.*. (https://nodejs.org/dist/latest-v6.x/) - Newer NPM version doesn't work for now.
Install Xcode components via terminal: xcode-select -–install
Install "remotebuild" Microsoft tool for remote compile from Visual Studio (Windows): sudo npm install -g remotebuild
Install COCOA Pods (needed by newer Cordova 7.1.0): sudo gem install cocoapods
Setup COCOA Pods for your first use just running command (about 680 MB to download): pod setup
- Set permissions:
sudo chown -R $USER:$GROUP ~/.npm
sudo chown -R $USER:$GROUP ~/.config
In Windows:
Install newer Visual Studio 2017 (15.5)...
Install Node.JS 6.*. (https://nodejs.org/dist/latest-v6.x/) - Newer NPM version doesn't work for now.
Install Global Cordova version (compatible with newer platforms and iOS versions): npm install -g cordova
From
To
Setup Visual Studio (Tools > Options > Tools For Apache Cordova) with the config generated by remotebuild (running in Mac OS). Screen example: Remote Agent Output
Build. You can locate your *.ipa file in bin\iOS\Debug folder.