flutter_flavorizr
flutter_flavorizr copied to clipboard
Misleading error message: `The following fields were missing: [ios]`
When I tried to run the latest version of Flavorizr with an older config, I got this error:
The following fields were missing: [ios]. Read the docs for further details
Contrary to what the error says, the solution was to REMOVE the ios field from the beginning of the config.
So instead of this:
app:
android:
flavorDimensions: "flavor-type"
ios:
I had to use this:
app:
android:
flavorDimensions: "flavor-type"
Or alternatively, I did get rid of the entire app: section anf Flavorizr still works fine. I like this solution the most.
I think this error message should be improved.
Also, the 2.2.0 changelog of "Android and iOS definitions are no longer required" should contain something like:
"BREAKING: must remove ios if it's unused."
Same error with latest flutter version
Hey @dJani97 can you please take a look here to see if everything works fine now?
Alguma correção para esse erro ?
@brenomenosso there's an open PR for a fix but I'm waiting for feedback
Do you know, if it is okay to delete ios? I mean making it like this:
app:
android:
flavorDimensions: "flavor-type"