Add Swift support

@mkhoatd Thanks for the PR!

We’ve been working on adding Swift support and have also received help from other users, but we haven’t yet been able to resolve a caching issue.

I’ll update you once we make any progress on this.