zino-hofmann / graphql-flutter

A GraphQL client for Flutter, bringing all the features from a modern GraphQL client to one easy to use package.
https://zino-hofmann.github.io/graphql-flutter
MIT License
3.24k stars 612 forks source link

When adding graphql_flutter: ^5.1.2 to pubspec.yaml my iOS app is crashing #1332

Closed imajercsik closed 1 year ago

imajercsik commented 1 year ago

When I add

graphql_flutter: ^5.1.2

to pubspec.yaml, on iOS I get a runtime error:

Installing and launching... (lldb) dyld[4803]: Symbol not found: _kReachabilityChangedNotification Referenced from: /private/var/containers/Bundle/Application/36E78291-1B10-4D62-A93A-5B51A303DB9D/Runner.app/Frameworks/connectivity.framework/connectivity Expected in: /private/var/containers/Bundle/Application/36E78291-1B10-4D62-A93A-5B51A303DB9D/Runner.app/Frameworks/Reachability.framework/Reachability

[✓] Flutter (Channel stable, 3.10.2, on macOS 13.3.1 22E772610a darwin-x64) [✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 14.3) [✓] Chrome - develop for the web [✓] Android Studio (version 2022.2) [✓] VS Code (version 1.63.2) [✓] Connected device (3 available) [✓] Network resources

imajercsik commented 1 year ago

Fixed when upgrading from connectivity: ^3.0.6 to connectivity_plus: ^3.0.0.