You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One thing I've noticed with using the generator is that you must provide the --distribution-version as the version number, and cannot use the code name as an alternative:
$ swift run swift-sdk-generator make-linux-sdk --distribution-version noble[1/1] Planning buildBuilding for debugging...[1/1] Write swift-version--149EBBC1E6AAC1E9.txtBuild of product 'swift-sdk-generator' complete! (13.26s)Error: Linux distribution `ubuntu` with version `noble` is not supported by this generator.
However, Swift SDKs are output using the code names by default:
$ swift sdk list6.1-RELEASE_ubuntu_jammy_aarch646.1.2-RELEASE_ubuntu_jammy_aarch64
This causes a problem for scripts, since now you need to have the distribution version number as well as the codename in the script:
Although it is possible to pass the SDK name when running the generator, it seems like it would still be nicer to have this as an option to be able to pass the version code name to the generator.