I have a Swift script "main.swift" that I created by adding
#!/usr/bin/env xcrun swift
to the start. Moreover, I chmod+x'd it to make it executable.
Within that script I would like to use a Swift class "A" defined in an other file "A.swift" contained in the same parent folder of "main.swift".
Simply using "A" within "main.swift" does not work.
Any ideas on how to achieve this?