I am developing a package which contains several targets (products). One of them is supposed to support from iOS 10, and another one is a SwiftUI wrapper, which supports from iOS 13.
I want something like this (KingfisherSwiftUI depends on Kingfisher) :
products: [ .library(name: "Kingfisher", targets: ["Kingfisher"], platforms: [.iOS(.v10)]), .library(name: "KingfisherSwiftUI", targets: ["KingfisherSwiftUI"], platforms: [.iOS(.v13)]) ]
But now as I know, we can only specify the platform for the whole package.
Is there a way to specify a different platform per target?
Or is there an alternative way for it?