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.

Join the Discussion

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>