mirror of
https://github.com/jmcnamara/libxlsxwriter.git
synced 2026-05-15 14:15:54 -06:00
[GH-ISSUE #369] Add SPM Support #292
Labels
No labels
awaiting user feedback
bug
cmake
cmake
docs
feature request
in progress
long term
medium term
medium term
pull-request
question
question
ready to close
short term
under investigation
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/libxlsxwriter#292
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mariohahn on GitHub (Apr 25, 2022).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/369
Originally assigned to: @jmcnamara on GitHub.
In addition to Cocopods it would be great to also support Swift Package Manager.
Thx for the lib. 🎸
https://github.com/jmcnamara/libxlsxwriter/issues/325
@jmcnamara commented on GitHub (Apr 25, 2022):
There is already a Swift package for libxlsxwriter: https://swiftpackageregistry.com/damuellen/xlsxwriter.swift
@jmcnamara commented on GitHub (Apr 28, 2022):
@mariohahn Is the linked package sufficient. Can this request be closed?
@jmcnamara commented on GitHub (Apr 29, 2022):
Closing.
@willm132 commented on GitHub (May 12, 2022):
This does not work or compile so that is not sufficient
@jmcnamara commented on GitHub (May 12, 2022):
@willm132 You need to take that up with the Swift Package maintainer. There isn't anything I can do about it.
@orchetect commented on GitHub (May 28, 2024):
Just FYI: the release tags for the repo are not compatible with SPM. Which greatly limits the ability to use the library as a Swift package. SPM looks for SemVer tags (ie: "1.1.7"), so it won't understand "RELEASE_1.1.7"
This is causing showstopping issues in an open-source project I'm working on. The only current solution is to fork the repo and re-tag which is not really sustainable.
If the library is used as a dependency in an app then it may be possible to just use main branch or a specific tag. But It cannot be used as a dependency within another Swift package because Xcode will not compile, citing an unstable dependency.
The easiest resolution would be to tag the repo as SemVer instead of "RELEASE_x.x.x". If that's not viable, then tagging the repo twice would work fine, one tag as SemVer and the other as "RELEASE_x.x.x".
@jmcnamara commented on GitHub (May 29, 2024):
Does it have to be "1.1.7" or can it be "v1.1.7".
@orchetect commented on GitHub (May 29, 2024):
Ideally "1.1.7", but "v1.1.7" is also recognized.