Closed JonathanDowning closed 4 years ago
hi @JonathanDowning . thanks so much for providing this PR. I am going to work on this. Did you find any issue, why closed it?
Hey @zihejia ! I was playing around with my repository and ended up deleting it — would you like me to reopen this PR so you can take a look at it? Happy to do so
This PR adds support for Swift Package Manager, resolves #320
There are two Package.swift files, one compatible with swift 5.3 and resources, another which is compatible with Swift 5.2 without resources, since they're not supported in that version.
I added the 5.2 version since there may be some users who wish to use Mixpanel with Swift Package Manager right now and don't use the features which require resources.
I tried to keep file system changes to a minimum, but some changes were needed to simplify the Package.swift file.
Looking forward to discussing this!