Thanks George. OK, I’m getting close, I think!
Xcode has installed various bits but I now get this in the terminal:
Using cordova-fetch for cordova-ios@^5.0.0
Failed to fetch platform cordova-ios@^5.0.0
Probably this is either a connection problem, or platform spec is incorrect.
Check your connection and platform name/version/URL.
Error: npm: Command failed with exit code 243 Error output:
npm ERR! path /Users/jon/.npm/_cacache/index-v5/6c/ec
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall mkdir
npm ERR! Error: EACCES: permission denied, mkdir '/Users/jon/.npm/_cacache/index-v5/6c/ec'
npm ERR! { [Error: EACCES: permission denied, mkdir '/Users/jon/.npm/_cacache/index-v5/6c/ec']
npm ERR! cause:
npm ERR! { Error: EACCES: permission denied, mkdir '/Users/jon/.npm/_cacache/index-v5/6c/ec'
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'mkdir',
npm ERR! path: '/Users/jon/.npm/_cacache/index-v5/6c/ec' },
npm ERR! isOperational: true,
npm ERR! stack:
npm ERR! 'Error: EACCES: permission denied, mkdir \'/Users/jon/.npm/_cacache/index-v5/6c/ec\'',
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'mkdir',
npm ERR! path: '/Users/jon/.npm/_cacache/index-v5/6c/ec' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/jon/.npm/_logs/2019-06-15T13_55_39_561Z-debug.log
Error adding ios to your Cordova Site!