Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prod flag not working in xCode 10 #446

Closed
nagthgr8 opened this issue Oct 30, 2018 · 2 comments
Closed

prod flag not working in xCode 10 #446

nagthgr8 opened this issue Oct 30, 2018 · 2 comments

Comments

@nagthgr8
Copy link

The below command line option not working in xCode 10 environment it gives compiler errors

ionic cordova build ios --prod -- --buildFlag="-UseModernBuildSystem=0"

tried different combinations to put --prod flag but it didn't work for xCode 10 the buildFlag='UserModernBuildSystem=0' is needed to get away with build process as explained here #407

my issue is with the amount of time my app is taking while loading more than a minute I am guessing that it must be due to not combining --prod flag in the compiler options, I tired other optimization as recommended this blog https://blog.khophi.co/optimize-ionic-2-app-production/ but the performance issue remains same

please suggest

@dpogue
Copy link
Member

dpogue commented Oct 30, 2018

There is no --prod flag in cordova-ios. It looks like you're using Ionic, so this might be an Ionic-specific option that should be reported to them.

@nagthgr8
Copy link
Author

I just opened this in ionic forum

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants