Update swift cli detection (#968)
Update swift cli detection (#968)

* add some debug code

* add github workflow

* test if PATH looks like it was modified by xcodebuild

* update comment for rpath, remove testing
krzysztofzablocki/Sourcery,krzysztofzablocki/Sourcery,krzysztofzablocki/Sourcery,krzysztofzablocki/Sourcery