Setup for your "MAC"
Install / Update to Mojave
Install ALL Updates
Install Xcode (Latest if possible, if 10 doesn't install try the App Store version):
https://developer.apple.com/xcode/
Install NodeJS:
https://nodejs.org/en/download/
in a Terminal, execute these commands:
npm install -g cordova
gem install cocoapods
pod setup
You will build with this:
cordova run --debug --buildFlag='-UseModernBuildSystem=0'
iOS (iPhone / iPad) cannot be plugged up during build...