[Bug]: geocoding_darwin 1.0.2 Package.swift trailing commas cause unexpected ',' separator when resolving Swift Package Manager dependencies
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
- 153
- Forks
- 92
- PR merge metrics
- No merged PRs in 30d
Contributor 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#309 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
Baseflow/flutter-geocoding#287 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Baseflow/flutter-geocoding#286 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Baseflow/flutter-geocoding#257 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Baseflow/flutter-geocoding#247 · 1 comment · 1 reaction ·
All issues in Baseflow/flutter-geocoding
Similar issues
-
status: needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
a2ui-project/a2ui#2782 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
MaikuB/flutter_local_notifications#2832 · 1 comment ·
-
bug triage
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
fluttercommunity/plus_plugins#3979 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
flutter-webrtc/flutter-webrtc#2206 ·
-
from.page-issue
Difficulty 1/5 Under an hour Newbie friendliness 85/100