Helpful hint to anyone attempting to compile Swift right now

Revert  to Beta 4 and make sure to use xcode select

sudo xcode-select -s /Applications/

Otherwise you’ll get a whole bunch of issues with AV Foundation.


  • Helpful tip for your helpful tip: you don’t have to pass the full path to xcode-select. You can do sudo xcode-select -s /Applications/

  • Thanks for this! I was going crazy with that compilation error for a bit.