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

[question]: When using Flutter flavor, how can I configure the correct settings on iOS? #851

Closed
FullstackWEB-developer opened this issue Mar 3, 2024 · 3 comments

Comments

@FullstackWEB-developer
Copy link

FullstackWEB-developer commented Mar 3, 2024

I checked many issues but I can't find correct solution.

OneSignal/onesignal-expo-plugin#40
#696

@mberktas
Copy link

mberktas commented May 8, 2024

Hi, @FullstackWEB-developer

I'm in the same situation.
Did you find a solution?

@mohammadhassan1497
Copy link

same here

@FullstackWEB-developer
Copy link
Author

For those experiencing the same problem.

The main issue was that I didn't know much about Xcode settings.
I've been stuck here for a few days.

It was important to read the flavor configuration documentation on iOS carefully.
https://docs.flutter.dev/deployment/flavors
image
The schema setting part was the problem I missed.
All names visible in buildConfiguration must match.
\ios\Runner.xcodeproj\xcshareddata\xcschemes\production.xcscheme
image

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

3 participants