Difference between “ionic cordova build ios” and “ionic cordova build ios --prod”?

What is the difference between “ionic cordova build ios” and “ionic cordova build ios --prod”? My Firebase Facebook Native authentication works on first but not the latter. Meanwhile the --prod flag seems to be irrelevant on Android.

--prod triggers a production build of Ionic, which is then put into the Cordova container you chose (android or ios in your example).

1 Like