I\'ve been trying to figure this out, but there doesn\'t seem to be any light at the end of the tunnel, thus trying it here...hope you can help.
I have an Ionic proj
The command suggested by jcesarmobile didn't work for me, but doing
cordova build ios --buildFlag="-UseModernBuildSystem=0"
(without ionic) succesfully completed the build.
After that I've been able to do ionic cordova build ios without any problems. (even without the buildFlag). I'm not an expert in this, in fact it was a mistake not to include ionic lol. So, although everything seems to work ok i'm not sure if there are any drawbacks in building with only cordova for the first time. Maybe someone can throw some light in the comments