Where to Go From Here?
The sky is the limit for what you can do in the build phases with Swift. You can download resources used by the project from a remote server, you can validate more things in your project directly from Xcode or you can automate configuration changes or even upload the compiled binary yourself. You can literally program your own CI/CD if you want to. :]
To learn more about the command-line tool you were using to compile the Swift files, check Swift’s GitHub docs.
Also, you should refer to Apple’s Reference for all the Environment variables.
We hope you enjoyed this tutorial. If you have any questions or comments, please join the forum discussion below!