Search code examples
vue.jsionic-frameworkcapacitor

Ionic 6 app keeps building in production mode


I am trying to build my app in development mode and am running this script:

ionic capacitor run ios

But every time it says building in production mode? Am I missing something? Shouldn't it only build production if I use the --prod flag?

enter image description here


Solution

  • I found that I need to use:

    ionic capacitor run ios -- --mode development