Summary
This chapter illustrated the Swift compiler, command-line tools, and the process of compilation of the Swift source code. Knowing the available tools and mastering them is very important because it makes you much more productive. Xcode has many tools, and we showed you how to find and use them.
For analyzing and optimizing Swift code, it's very useful to know and understand the compilation process. In this chapter, we took you through an entire journey of the Swift compiler, starting from the source code and ending with the executable file. We also showed you how to get the result for a specific complication step, such as getting the SIL or IR code representation.