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/Xcode-beta.app/Contents/Developer

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

2 Comments

  • 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/Xcode-beta.app.

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