swift-klib-plugin icon indicating copy to clipboard operation
swift-klib-plugin copied to clipboard

Add support for setting swift tools version

Open ttypic opened this issue 2 years ago • 2 comments

It will be nice to extract swift tools version to swiftklib extension config.

For now it always hardcoded to 5.5

ttypic avatar Apr 20 '23 21:04 ttypic

Assuming reason would be this opens up features enabled as part of newer swift versions?

I wonder if my comments here are relevant: https://github.com/ttypic/swift-klib-plugin/issues/10#issuecomment-1899538877

As if the requirement for using the plugin depended on defining the Package.swift it would mean the owner defines the swift tools version ?

markst avatar Jan 19 '24 02:01 markst

Not sure how relevant but it is also possible to compile Swift packages to Android:

.target(name: "Android", condition: .when(platforms: [.android]))

Hope you don't mind me posting this here too: https://github.com/scade-platform/swift-android-examples

markst avatar Jan 19 '24 02:01 markst