yonaskolb / XcodeGen

A Swift command line tool for generating your Xcode project
MIT License
6.88k stars 809 forks source link

Support for module aliases in package specifications #1391

Open cprince-foreflight opened 10 months ago

cprince-foreflight commented 10 months ago

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!

knielsen-foreflight commented 7 months ago

I would like to get this as well 👍

yonaskolb commented 3 months ago

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 commented 3 months ago

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