-
-
Notifications
You must be signed in to change notification settings - Fork 198
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
App fails to build in Xcode with incorrect parameter type for ParseConnectivityResult
#1004
Comments
Thanks for opening this issue!
|
[ +94 ms] Failed to build iOS app [ +3 ms] Could not build the application for the simulator. [ +99 ms] ensureAnalyticsSent: 98ms |
ParseConnectivityResult
Do you have any code to share that is causing this? |
It's not in the code, the code cannot compile. It's in the plugin code: [ +96 ms] Failed to build iOS app |
So you are only adding the Parse SDK to a new project without any code and then this error occurs during compile time? |
No, empty Flutter project works fine with just parse_server_sdk_flutter installed. |
Seems the also project build normally with connectivity_plus version 5.0.2, but not with the latest 6.0.4 version |
New Issue Checklist
Issue Description
Cannot build flutter application with parse server plugin
Steps to reproduce
Run application build in IntelliJ IDEA
Actual Outcome
Running Xcode build...
Xcode build done. 34.8s
Failed to build iOS app
Error (Xcode): ../../.pub-cache/hosted/pub.dev/parse_server_sdk_flutter-8.0.0/lib/parse_server_sdk_flutter.dart:126:53: Error: The argument type
'ParseConnectivityResult Function(ConnectivityResult)' can't be assigned to the parameter type 'ParseConnectivityResult Function(List)'.
Encountered error while building for device.
Expected Outcome
Normal build and run application
Environment
Parse Flutter SDK
parse_server_sdk_flutter-8.0.0
Flutter 3.22.3 • channel stable
Dart SDK version: 3.4.4 (stable)
Mac OS Sonoma 14.5 (23F79)
Server
6.5.4
Logs
Running Xcode build...
Xcode build done. 31.4s
Failed to build iOS app
Error (Xcode): ../../.pub-cache/hosted/pub.dev/parse_server_sdk_flutter-8.0.0/lib/parse_server_sdk_flutter.dart:126:53: Error: The argument type 'ParseConnectivityResult Function(ConnectivityResult)' can't be assigned to the parameter type 'ParseConnectivityResult Function(List)'.
Could not build the application for the simulator.
Error launching application on iPhone 15 Pro Max.
The text was updated successfully, but these errors were encountered: