-
-
Notifications
You must be signed in to change notification settings - Fork 983
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
[Compile]: Swift Compiler Error (Xcode): Instance member 'connectivityProvider' cannot be used on type 'ConnectivityPlusPlugin' #3355
Comments
FYI, When tried building with |
Is per chance your app project still in obj-c and not swift? https://github.com/fluttercommunity/plus_plugins/pull/3173/files#r1713480016 |
Mmmhh I cannot reproduce it either with an ios objc project, I did the following:
Compilation worked:
Same result when creating a swift project. Can you do the same and see if it builds for you? |
I got similar issue with
However, this problem does not occur in This is
And the project also has a swift code section like this:
|
Do you see this error in debug builds or only release builds? The only change in 6.1.0 is that it deleted the objc plugin definition, which is not clear for me if it was still necessary: https://github.com/fluttercommunity/plus_plugins/pull/3173/files Is your project somehow an old codebase? |
@miquelbeltran Thank you for your quick reply. |
Operating System
macOS Sonoma version 14.6.1
Plugin
connectivity_plus
Version
6.1.0
Flutter SDK
3.24.3
Compilation command
fvm flutter run
Dart Dependencies
No response
Native dependencies
No response
Compilation Error
Flutter Doctor
Checklist before submitting a bug
flutter pub upgrade
flutter clean
The text was updated successfully, but these errors were encountered: