Skip to content

Fix Package.swift parse errors#437

Merged
LowAmmo merged 1 commit into
iziz:masterfrom
mecoFarid:master
Dec 3, 2025
Merged

Fix Package.swift parse errors#437
LowAmmo merged 1 commit into
iziz:masterfrom
mecoFarid:master

Conversation

@mecoFarid

@mecoFarid mecoFarid commented Dec 3, 2025

Copy link
Copy Markdown
Contributor

Issue:
Swift Package Manager fails to resolve dependencies, showing the error below:

Screenshot 2025-12-03 at 15 41 42

Steps to Reproduce:

  • Add the library (latest version 1.3.0) via Swift Package Manager in XCode.
  • Observe the error shown in Issue: section.

Root Cause:
Running xcrun --toolchain swift-5.5 swift package resolve in the root of project revealed multiple parsing issues. The culprit? Illegal trailing commas in Package.swift file that are incompatible with Swift Tools 5.5.

@mecoFarid mecoFarid marked this pull request as ready for review December 3, 2025 12:45
@mecoFarid

Copy link
Copy Markdown
Contributor Author

@LowAmmo Do you mind approving this and releasing new version? 🙏

@LowAmmo

LowAmmo commented Dec 3, 2025

Copy link
Copy Markdown
Collaborator

Guessing this isn't a problem on the newer versions of swift...

But, backwards compatibility is probably better than making future changes slightly easier to review... 🤷

@mecoFarid - Can you please log an Issue correlating to this - for tracking purposes?

(once this is merged, assuming no other odd issues pop up, I'll work on getting a 1.3.1 tagged & released)

@mecoFarid

Copy link
Copy Markdown
Contributor Author

@LowAmmo thanks. Created the issue #438

@LowAmmo LowAmmo linked an issue Dec 3, 2025 that may be closed by this pull request
@LowAmmo LowAmmo merged commit f9e279c into iziz:master Dec 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fails to resolve 'libPhoneNumber-iOS' when adding via SPM

4 participants