Skip to content

App fails to build in Xcode with incorrect parameter type for ParseConnectivityResult #1004

Open
@ikarelin

Description

@ikarelin

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

  • SDK version: parse_server_sdk_flutter-8.0.0
  • Flutter version: Flutter 3.22.3 • channel stable
  • Dart version: Dart SDK version: 3.4.4 (stable)
  • Operating system version: Mac OS Sonoma 14.5 (23F79)

Server

  • Parse Server version: 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugImpaired feature or lacking behavior that is likely assumed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions