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

swift complier error (swift 5.0 support) #160

Closed
fattiger00 opened this issue Sep 22, 2019 · 3 comments · Fixed by #162
Closed

swift complier error (swift 5.0 support) #160

fattiger00 opened this issue Sep 22, 2019 · 3 comments · Fixed by #162

Comments

@fattiger00
Copy link
Contributor

My project today extension widget was written by swift 5, so I had to support swift 5 . when I run the project, I got bunches of the compiler error.

@love-bk
Copy link

love-bk commented Sep 23, 2019

I also have this problem.
error:
image

@fattiger00
Copy link
Contributor Author

I also have this problem.
error:
image

I had sent a pull request #162 . or you can do it manually.

1.open the project with Xcode
2.click menu Edit -> Convert -> To Current Swift Syntax…
3.select flutter_inappbrowser to and click next.
4.it will had errors. replace self.tmpWindow?.windowLevel = UIWindowLevel(baseWindowLevel!+ 1)
toself.tmpWindow?.windowLevel = UIWindow.Level(baseWindowLevel!.rawValue + 1)

then working fine

Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants