There's nothing usable you can write in Swift that would run on other platforms. Lack of cross platform standard library makes portability only a lip services, "opensource" or not.
https://github.com/open-swift https://github.com/VeniceX https://github.com/Zewo
This is just one example.