Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(@quasar/app): Enforce correct build mode for Cordova on iOS with…
… latest XCode
- Loading branch information
982f60b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
btw, the flag is not required in cordova-ios-plugin v.5.0.0 (apache/cordova-ios#412). As workaround in my local quasar project I have updated src-cordova/package.json with "cordova-ios": "^5.0.0"
982f60b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mean
cordova-ios
?I tested with v5 and that still requires the build flag. If you open the .xcodeproj file in XCode you can also manually set the build mode, but what I am interested is in everything working out of the box, which is what this commit does.
Also, for some reason, with latest cordova CLI, a newly scaffolded cordova project folder comes with cordova-ios v4.
982f60b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, cordova-ios
it's absolutely ok to use the flag, but as soon as cardova cli updates dependency to cardova-ios it can be not more required. Not sure about difference between legacy build system and new one.
Never mind, I just do not set the build flag, instead I do the following:
1 - update src-cordova/package.json : "cordova-ios": "^5.0.0"
2 - npm install
3 - remove src-cordova/platforms/ios
4 - quasar dev -m cordova -T ios
and get running ios app with new build system
Thanks!