Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[Bug]: geocoding_darwin 1.0.2 Package.swift trailing commas cause unexpected ',' separator when resolving Swift Package Manager dependencies

Open Beginner friendly
#311 0 comments 0 reactions 0 assignees View on GitHub

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

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.
Please select affected platform(s)
  • Android
  • iOS
Steps to reproduce
  1. Add geocoding: ^5.0.0 to a Flutter project.
  2. Enable SPM: flutter config --enable-swift-package-manager.
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Baseflow/flutter-geocoding

All issues in Baseflow/flutter-geocoding

Similar issues

More Dart issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.