kean / Pulse

Network logger for Apple platforms

Home Page:https://pulselogger.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

provide precompiled binary spm package

ilendemli opened this issue · comments

Hey!

As the title states, it would be awesome if you could provide a spm package using the precompiled xcframeworks.
The reason being to improve compilation time of projects using pulse. You can check out my solution here: https://github.com/ilendemli/pulse-spm. A GitHub action would bundle a binary swift package out of the release from this repo.

Hey, that's an interesting idea. I already ship pre-compiled frameworks with every release, but, of course, they aren't available via SPM. Do you know if there are any alternative ways of doing it and preferably keeping it in the same repo?

It might be possible to have it in the same repo but it is more beneficial to have a separate repo. Keeping it in the same repo would require for the end user to fetch the whole repo with code that is not used. Having a separate repo is better imo and it would automatically update itself using GitHub actions.

EDIT: I would firstly suggest for you to upload Pulse.xcframework and PulseUI.xcframework as separated zip files here (separating iOS and all-platform archives if necessary). Then you could create an GitHub action to push a Package.swift pointing to the xcframework zip archives in this repo to another repo.