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

error: 'nil' literal cannot be force unwrapped #8

Open
huy-lv opened this issue Oct 4, 2020 · 2 comments
Open

error: 'nil' literal cannot be force unwrapped #8

huy-lv opened this issue Oct 4, 2020 · 2 comments

Comments

@huy-lv
Copy link

huy-lv commented Oct 4, 2020

I'm using xcode 12, simulator ios 14, flutter 1.22.0

@DaveHineman
Copy link

I have the same issue. Recent Xcode updates wouldn't allow code to build unless I raised "minimum OS version" to 9.0 and then the build fails with this 'nil' literal error.

@DaveHineman
Copy link

After playing with it some more, I removed 'nil!' from the return statement. Now it just says 'return' and it works just fine for me. App builds and works, no issues.

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

2 participants