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

Variable was never used (?) #66

Closed
Ahmadre opened this issue Apr 18, 2020 · 4 comments
Closed

Variable was never used (?) #66

Ahmadre opened this issue Apr 18, 2020 · 4 comments

Comments

@Ahmadre
Copy link

Ahmadre commented Apr 18, 2020

I am getting this warning during the ios build-phase:

[01:19:29]: ▸ ⚠️  /Users/**/**/**/**/ios/Runner/AppDelegate.swift:10:9: initialization of variable 'flutter_native_splash' was never used; consider replacing with assignment to '_' or removing it
[01:19:29]:var flutter_native_splash = 1

Why is this variable there? Do we need it?

Thanks for this package 📦

@frasza
Copy link

frasza commented Apr 22, 2020

Same problem here. Any solution?

@deandreamatias
Copy link

This is a warning, not a error.
The message is clear

initialization of variable 'flutter_native_splash' was never used; consider replacing with assignment to '_' or removing it
Maybe have some error when generating this code to iOS. We need wait for a creator feedback

@Ahmadre
Copy link
Author

Ahmadre commented May 25, 2020

This is a warning, not a error.
The message is clear

initialization of variable 'flutter_native_splash' was never used; consider replacing with assignment to '_' or removing it
Maybe have some error when generating this code to iOS. We need wait for a creator feedback

Yeah sure, but doesn't clearify the purpose question.

This is an issue to make the maintainer aware of this. Just a hint to help others.

@jonbhanson
Copy link
Owner

This has been fixed in the latest update.

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

4 participants