Skip to content

[Compile]: Value of type 'NWPath' has no member 'isUltraConstrained' #3816

@tempo-riz

Description

@tempo-riz

Operating System

macos 26.0.1

Plugin

connectivity_plus

Version

7.1.1

Flutter SDK

3.41.8

Compilation command

flutter run

Dart Dependencies

Native dependencies


Compilation Error

Failed to build iOS app
Swift Compiler Error (Xcode): Value of type 'NWPath' has no member 'isUltraConstrained'
.../.pub-cache/hosted/pub.dev/connectivity_plus-7.1.1/ios/connectivity_plus/Sources/connectivity_plus/PathMonitorConnectivityProvider.swift:28:39

Could not build the application for the simulator.
Error launching application on iPhone 16 Plus.

Flutter Doctor

[✓] Flutter (Channel stable, 3.41.8, on macOS 26.0.1 25A362 darwin-arm64, locale en-US) [697ms]
    • Flutter version 3.41.8 on channel stable at /Users/thib/.local/share/mise/installs/flutter/3.41.8-stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 02085feb3f (5 days ago), 2026-04-24 13:54:45 -0700
    • Engine revision 59aa584fdf
    • Dart version 3.11.5
    • DevTools version 2.54.2
    • Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios,
      cli-animations, enable-native-assets, omit-legacy-version-file, enable-lldb-debugging, enable-uiscene-migration

[!] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [1,423ms]
    • Android SDK at /Users/thib/Library/Android/sdk
    • Emulator version 36.1.9.0 (build_id 13823996) (CL:N/A)
    • Platform android-36, build-tools 35.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
      This is the JDK bundled with the latest Android Studio installation on this machine.
      To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
    • Java version OpenJDK Runtime Environment (build 21.0.6+-13391695-b895.109)
    ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS (Xcode 16.4) [1,304ms]
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16F6
    • CocoaPods version 1.16.2

[✓] Chrome - develop for the web [4ms]
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Connected device (5 available) [5.9s]
    • sdk gphone64 arm64 (mobile)           • emulator-5554                        • android-arm64  • Android 14 (API 34) (emulator)
    • Thibault’s iPhone (wireless) (mobile) • 00008140-000955583488801C            • ios            • iOS 26.3.1 23D771330a
    • iPhone 16 Plus (mobile)               • 82368D90-AD2C-4D3C-A06D-8612C2779695 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-18-6 (simulator)
    • macOS (desktop)                       • macos                                • darwin-arm64   • macOS 26.0.1 25A362
      darwin-arm64
    • Chrome (web)                          • chrome                               • web-javascript • Google Chrome 147.0.7727.116

[✓] Network resources [649ms]
    • All expected network resources are available.

! Doctor found issues in 1 category.

Checklist before submitting a bug

  • I searched issues in this repository and couldn't find such bug/problem
  • I Google'd a solution and I couldn't find it
  • I searched on StackOverflow for a solution and I couldn't find it
  • I read the README.md file of the plugin
  • I'm using the latest version of the plugin
  • All dependencies are up to date with flutter pub upgrade
  • I did a flutter clean
  • I tried running the example project

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions