Open apps4everyone opened 2 years ago
Hey, currently the SPM Package.swift has the default static framework setting from SPM.
The question would be how to consume it as dynamic one? Would it be possible to add this in a new Package@swift-5.5.swift with:
.library( name: "DeviceKitDynamic", type: .dynamic, targets: ["DeviceKit"] )
This would allow to integrate DeviceKit also as dynamic framework without having duplicate linking errors when used in several places.
I am open for best advices. Maybe this is not possible or there is another better solution. Thank you Stefan
added a PR https://github.com/devicekit/DeviceKit/pull/313
Hey, currently the SPM Package.swift has the default static framework setting from SPM.
The question would be how to consume it as dynamic one? Would it be possible to add this in a new Package@swift-5.5.swift with:
This would allow to integrate DeviceKit also as dynamic framework without having duplicate linking errors when used in several places.
I am open for best advices. Maybe this is not possible or there is another better solution. Thank you Stefan