[Bug]: geocoding_darwin 1.0.2 Package.swift trailing commas cause unexpected ',' separator when resolving Swift Package Manager dependencies
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 84/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- ios, swift
- Domain
- build-system, mobile
Research direction
Start with the geocoding_darwin 1.0.2 Package.swift shown in the error, especially lines 21-23, and inspect the package declaration around the trailing commas. Enable Swift Package Manager and run flutter build ios to verify dependency resolution succeeds without the unexpected separator error.
Written by the indexing model from the issue text.
Description
Please check the following before submitting a new issue.
- I have searched the existing issues.
- I have carefully read the documentation and verified I have added the required platform specific configuration.
Please select affected platform(s)
- Android
- iOS
Steps to reproduce
- Add geocoding: ^5.0.0 to a Flutter project.
- Enable SPM: flutter config --enable-swift-package-manager.
- Run flutter build ios (or flutter run).
Expected results
run
Actual results
Building a Flutter iOS app with the experimental Swift Package Manager integration fails at dependency resolution with:
/Users/.../ios/Flutter/ephemeral/Packages/.packages/geocoding_darwin-1.0.2/Package.swift:23:9: error: unexpected ',' separator
21 | .process("PrivacyInfo.xcprivacy"),
22 | ],
23 | )
| `- error: unexpected ',' separator
Code sample
none
Screenshots or video
Screenshots or video demonstration
[Upload media here]
Version
5.0.0
Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.44.8, on macOS 15.3.1 24D70 darwin-arm64, locale zh-Hans-CN) [585ms]
• Flutter version 3.44.8 on channel stable at /Users/../work/Development/Flutter/flutter_3.44.8
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 058e0af2c2 (13 days ago), 2026-07-23 10:56:21 -0700
• Engine revision 0cd610717b
• Dart version 3.12.2
• DevTools version 2.57.0
• Pub download mirror https://pub.flutter-io.cn/
• Flutter download mirror https://storage.flutter-io.cn/
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-native-assets, enable-swift-package-manager,
omit-legacy-version-file, enable-lldb-debugging, enable-uiscene-migration
[!] Android toolchain - develop for Android devices (Android SDK version 36.0.0) [5.8s]
• Android SDK at /Users/fuminghui/Library/Android/sdk
• Emulator version [32.1.12.0](http://32.1.12.0/) (build_id 9751036) (CL:N/A)
• Platform android-36, build-tools 36.0.0
• Java binary at: /Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home/bin/java
This JDK is specified in your Flutter configuration.
To change the current JDK, run: `flutter config --jdk-dir="path/to/jdk"`.
• Java version Java(TM) SE Runtime Environment (build 17.0.14+8-LTS-191)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[✓] Xcode - develop for iOS and macOS (Xcode 16.2) [1,512ms]
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 16C5032a
• CocoaPods version 1.16.2
[✓] Chrome - develop for the web [6ms]
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Connected device (4 available) [12.0s]
• TEST (mobile) • 00008101-001A50303C44001E • ios • iOS 26.2.1 23C71
• iPhone 15 Pro (mobile) • 42C56AEC-00A0-4EA2-8EA8-EDD436DC60CA • ios • com.apple.CoreSimulator.SimRuntime.iOS-17-5 (simulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 15.3.1 24D70 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 151.0.7922.75
- Dominant language
- Dart
- Stars
- 154
- Forks
- 94
- Avg merge
- 1h 21m
- Merged PRs (30d)
- 3
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Baseflow/flutter-geocoding
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Baseflow/flutter-geocoding#337 · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Baseflow/flutter-geocoding#332 ·
Maintainers usually reply within 1 day
-
[Bug]: `Geocoding(locale: ...)` has no effect – locale is not forwarded to `_fromPlatformCreationParams`May be free again @AmrWalidi claimed this 27 days ago, and no pull request is open. Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Baseflow/flutter-geocoding#324 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Baseflow/flutter-geocoding#309 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 49/100
Baseflow/flutter-geocoding#327 ·
Maintainers usually reply within 1 day
All issues in Baseflow/flutter-geocoding
Similar issues
-
BUG: App crashes on iOS when initializing speech-to-text due to missing microphone and speech recognition keys in Info.plistPossibly taken @AyushSrivastava1818 claimed this today. Openbug enhancement
Difficulty 1/5 Under an hour Newbie friendliness 78/100
AOSSIE-Org/Ell-ena#365 · 2 comments ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
spotiflacapp/SpotiFLAC-Mobile#995 ·
-
feature
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
VeryGoodOpenSource/vgv-ai-flutter-plugin#219 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
cucumber/gherkin#766 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Anxcye/anx-reader#1024 ·