pointfreeco / swift-perception

Observable tools, backported.
MIT License
575 stars 44 forks source link

Add Support for CocoaPods #40

Closed mlch911 closed 9 months ago

stephencelis commented 9 months ago

Hi @mlch911! Thanks for taking the time to PR. We have decided to not support CocoaPods in our packages, since it adds enough of a maintenance burden with a build tool that we as maintainers do not use. That said, it's possible to maintain CocoaPods specs outside the repo that adds support for a package that does not have a spec defined directly in it. If you decide to maintain such a repo of specs, please feel free to advertise it in a GitHub discussion!

TosinAF commented 9 months ago

Does this build the binary or we still have to include the binary?

mlch911 commented 9 months ago

Does this build the binary or we still have to include the binary?

We can't include the binary of the swift macro into git repo, because it doesn't work on different mac. I just add the build command in the podspec's prepare_command, and ignore the binary from git, it will build on every mac locally.