-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Clarify Flavor docs about how to configure iOS Xcode project #8743
Comments
The only thing I am not sure about is This documentation talks about making changes to podfile. However, it is not clear at all how to make this change with multiple flavors or why it is needed. No online tutorials talk about this either. |
I was able to resolve the issue with this: https://stackoverflow.com/a/73572386 If anyone can document these changes in flavor documentation and explain the issue that would be appreciated. Should generated be in parent runner or child runner? |
Thanks for the report @fras2560
This link says to |
/cc @leighajarett for visibility. Since you are actively working on improving flavors documentation and use cases in Flutter :) |
What about cases where you have a pod file? What order should they be in? Or was the pod file missing something where it should already include the generated file? |
In that screenshot your prod and staging targets are using the
Ideally we would have a screenshot of that in step 3 similar to the one linked: flutter/flutter#82183 (comment) |
@jmagman |
Should have linked it: https://docs.flutter.dev/deployment/flavors#creating-flavors-in-ios. The blue box has the note. |
@jmagman |
Example with I'm going to move this to the website issue tracker since this is a request for improving that documentation. |
Steps to reproduce
Created an app with three different flavors
Add firebase plugins using different pods
Updated the app version and build number
Create IPA or run the app with different flavor
Expected results
Able to run or build the IPA for iOS.
Actual results
Unable to use
also this shows it not being set
Code sample
Code sample
Snippet of Info.plistSnippet Generated.xcconfig
Screenshots or Video
Screenshots / Video demonstration
Logs
Logs
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: