Hello,
I am trying to build my Ionic Angular app using production flag. By running:
$ ionic cap build ios --prod
Then I run it from XCode
and changed the scheme build configuration into Release
, but the result is that my app is still using all variables from environment.ts
not environment.prod.ts
.
How to instruct it to use environment.prod.ts
?
In Android
it works tho. Not sure how to fix this in iOS