-
Notifications
You must be signed in to change notification settings - Fork 54
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
Facing error after upgrading to 1.1.2 #75
Comments
Thanks for filing the issue. Unfortunately, I am unable to reproduce it. Can you run If it doesn’t, what version of macOS are you running your application on? What is your minimum deployment target? Also, does your app use any other macOS plugins? Have you made any changes to any Swift files in your project? I assume you have modified your |
Hello thank you for quick response. I'm try to run the example app from the repo. So haven't made any modifications to the code Running on: |
I can see that you’re running a much older version of macOS than I am, so at first I suspected you were running into some sort of conditional compilation problem, but after checking the code I don’t think that’s the case. Alright, could you perhaps clone the macos_window_utils repo on your machine and see if the same issue arises when running its example project? flutter_acrylic depends on this package for its macOS functionality, so technically speaking, this is the package that is causing the bug. If you observe the same issue, could you open the self.flutterViewController = flutterViewController ?? self.flutterViewController to self.flutterViewController = flutterViewController ?? FlutterViewController() and see if that resolves the issue? |
Interesting. Does running |
No luck, same issue |
Does running the macos_window_utils_example.app.zip (from Release v1.1.2) cause the same issue, or does it only occur when the app has been compiled on your end? |
That’s weird. I’m happy that this is a compilation issue at least, because I was worried that a seemingly working app might fail on a different machine. Glad that isn’t the case. That said, I’m still puzzled as to how the app can compile differently on your machine than it does on mine. What happens when you run the macos_window_utils example through Xcode (by opening |
For time being, I've downgraded to version 1.1.1 which works fine on my device. Thank you for the help! |
Be sure to version lock macos_window_utils to 1.1.1 by adding |
Receiving this error after upgrading to version 1.1.2
6:63: error: 'self' captured by a closure before all members were initialized
self.flutterViewController = flutterViewController ?? self.flutterViewController
The text was updated successfully, but these errors were encountered: