XcodeGen icon indicating copy to clipboard operation
XcodeGen copied to clipboard

Support for module aliases in package specifications

Open cprince-foreflight opened this issue 1 year ago • 3 comments

Swift 5.7 includes support for module aliases. e.g., https://developer.apple.com/documentation/packagedescription/package/dependency/modulealiases and https://developer.apple.com/documentation/packagedescription/target/dependency/product(name:package:modulealiases:)

Any plans to support this in Xcodegen package specifications?

Thanks!

cprince-foreflight avatar Aug 24 '23 17:08 cprince-foreflight

I would like to get this as well 👍

knielsen-foreflight avatar Nov 24 '23 12:11 knielsen-foreflight

Is this possible to configure in Xcode projects yet? From a brief look I landed on this older thread https://forums.swift.org/t/how-to-use-the-new-module-disambiguation-in-xcode-projects/58402/8

yonaskolb avatar Apr 07 '24 12:04 yonaskolb

If Xcode projects don't support it, you'd probably need to have a local Swift package that manages those aliases within Package.swift

yonaskolb avatar Apr 07 '24 12:04 yonaskolb