switching flavors shouldn't modify the Podfile.lock.flavors should be supported more directly from flutter cli (see #14648).
#Convert app to ipa command line archive
One (fairly crazy) issue I'm having with the current build system is that changing between flutter build ios -debug and flutter build ios -release actually modifies the Podfile.lock, and requires a fresh pod install, which is overriding a change I need to make in one of our Pods to avoid grpc/grpc#7406Īlso because of this, we have to run flutter build ios -release followed by xcodebuild archive followed by xcodebuild exportArchive to build an ipa. I would also appreciate this since we want to build ipas for distrubution through CI.
#Convert app to ipa command line install
If you're not aware of application loader, you can open it through xcode XCode > Open Developer Tool > Application Loader, but you can also pin it to your task bar to open it without opening xcode (or install it separately, though that generally is very out of date). Admittedly it may be so slow partially cause my mac (not my main machine) is a mac mini and runs like a slug. It's still a bit slow, but at least I don't have to wait forever for flutter to build my app so I can wait another forever for xcode to archive my app.
I think this could be streamlined to just: flutter build ipa -release and then open application loader and deliver my app, (and then still wait for apple to process the app). During beta phase of apps I sometimes have to release new versions every couple days, and it takes forever when I have to test the app by running it on a device, then do flutter build -release, and then open xcode, and do product archive, and then in organizer upload to app store, and finally wait for apple to process my app.