I am reading the “For the More Curious” section at the end of Chapter 2. Since I am truly among the more curious, I wanted to try out @import. Unfortunately the compiler is complaining it doesn’t know about this.
Betraying my curiousity, I went and started researching @import and how it’s supposed to work. I found that I am supposed to be able to enable it with LLVM 5 build settings (and that it automatically links the frameworks you @import – cool). Unfortunately the two settings that are related, Enable Modules and Link Frameworks Automatically, do not appear for me. This is likely related to the fact that @import isn’t working for me at all…
Which begs the question, why not? Before you ask, I have Version 5.0.2 (5A3005) and Software Update is not giving me the option to get a newer version, so I assume it is the latest non-beta. I also checked the version of LLVM I have:
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Thread model: posix
So, I’m at a loss. What’s needed to get this?