Open cerupcat opened 3 years ago
+1 to this please
Hello! Any updates on this issue? Amplitude SDK already supports SPM as an option so this would make it a lot easier, current solution is to manually add classes into the project which is not really good.
Is SPM support coming or should I find another job to have to add this?
Here's a minimal Segment / Amplitude integration: https://gist.github.com/garriguv/e5f7bac75813877dc7809d5f0116fe5d
This does not support all features, but is enough for a small app. It's not a ton of work to implement the rest if you need it.
I think that pointing SPM to the XCFramework would be ideal to avoid repeated compilations. https://github.com/segment-integrations/analytics-ios-integration-amplitude/issues/100
I opened a pull request that adds SPM Support It only needs 1 new file (Package.swift) and a minor change to a header file.
Many SDKs are moving to Swift Package Manager support in addition to cocoapods.
It would be nice to get this repo via SPM as well.