-
Notifications
You must be signed in to change notification settings - Fork 277
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Required Reading
- Confirmed
Plugin Version
5.0.0
Flutter Doctor
[✓] Flutter (Channel stable, 3.38.7, on macOS 26.2 25C56 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 36.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 26.2)
[✓] Chrome - develop for the web
[✓] Connected device (3 available)
[✓] Network resources
• No issues found!Mobile operating-system(s)
- iOS
- Android
Device Manufacturer(s) and Model(s)
iPhone 17 Pro
Device operating-systems(s)
ios 26.2
What happened?
The following error on build...
xcodebuild: error: Could not resolve package dependencies:
Expected ',' separator
Static member 'package' cannot be used on instance of type 'Package.Dependency'
Static member 'package' cannot be used on instance of type 'Package.Dependency'
app/ios/Flutter/ephemeral/Packages/.packages/flutter_background_geolocation/Package.swift:25:69: error: expected ',' separator
23 | .target(
24 | name: "flutter_background_geolocation",
25 | dependencies: ["TSLocationManager", "TSBackgroundFetch" "CocoaLumberjack"],
| `- error: expected ',' separator
26 | cSettings: [
27 | .headerSearchPath("include/flutter_background_geolocation")
app/ios/Flutter/ephemeral/Packages/.packages/flutter_background_geolocation/Package.swift:18:10: error: static member 'package' cannot be used on instance of type
'Package.Dependency'
16 | ],
17 | dependencies: [
18 | .package(url: "https://github.com/CocoaLumberjack/CocoaLumberjack.git", from: "3.8.5")
| `- error: static member 'package' cannot be used on instance of type 'Package.Dependency'
19 | .package(url: "https://github.com/transistorsoft/native-background-geolocation", from: "4.0.0")
20 | .package(url: "https://github.com/transistorsoft/transistor-background-fetch", from: "4.0.5")
app/ios/Flutter/ephemeral/Packages/.packages/flutter_background_geolocation/Package.swift:19:10: error: static member 'package' cannot be used on instance of type
'Package.Dependency'
17 | dependencies: [
18 | .package(url: "https://github.com/CocoaLumberjack/CocoaLumberjack.git", from: "3.8.5")
19 | .package(url: "https://github.com/transistorsoft/native-background-geolocation", from: "4.0.0")
| `- error: static member 'package' cannot be used on instance of type 'Package.Dependency'
20 | .package(url: "https://github.com/transistorsoft/transistor-background-fetch", from: "4.0.5")
21 | ],
Plugin Code and/or Config
n/aRelevant log output
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working