Closed escakot closed 3 years ago
Hi @escakot,
Great suggestion, we'd love to see a PR for this. We'd just need to verify that it should work across the various supported installation methods. Hopefully this sort of change should only reduce the complexity of including the SDK within applications.
Thanks, @gwhelanLD
Thanks again for your PR! I'm closing this issue now that it's been included in the 5.4.2 release.
Thanks, @gwhelanLD
Is your feature request related to a problem? Please describe. Importing the LD SDK through SwiftPM will import dev/test dependencies which is not ideal.
Describe the solution you'd like Updating to Swift Tools 5.2 and minor changes to
Package.swift
will resolve this. I've tested it on my own fork. Let me know if you would like to me to make a PR.Describe alternatives you've considered N/A
Additional context We're currently using Carthage to install the LD sdk. We're planning to switch over to SwiftPM soon.