[Swift-devel] OS X Yosemite

Daniel S. Katz dsk at uchicago.edu
Wed Oct 29 19:10:58 CDT 2014


Sounds like something to make sure goes in the documentation.

Dan


> On Oct 29, 2014, at 7:50 PM, David Kelly <davidkelly at uchicago.edu> wrote:
> 
> Hello,
> 
> This weekend I upgraded to OS X Yosemite. Today I was trying to run Swift on my laptop and got:
> $ swift -version
> 
> xcrun: error: active developer path ("/Library/Developer/CommandLineTools") does not exist, use `xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools (or see `man xcode-select`)
> 
> Took me a second to figure out what was going on there. There is now a /usr/bin/swift command related to Apple's new Swift programming language. The fix is just to adjust PATH so Swift's installation directory is added before /usr/bin. Finder also recognizes and tries to open any files with a .swift extension in the mac code editor.
> 
> Not a huge issue, but perhaps a potential source of confusion for new users.
> 
> _______________________________________________
> Swift-devel mailing list
> Swift-devel at ci.uchicago.edu
> https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel

-- 
Daniel S. Katz
University of Chicago
(773) 834-7186 (voice)
(773) 834-6818 (fax)
d.katz at ieee.org <mailto:d.katz at ieee.org> or dsk at uchicago.edu <mailto:dsk at ci.uchicago.edu>
http://www.ci.uchicago.edu/~dsk/ <http://www.ci.uchicago.edu/~dsk/>




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20141029/3fbc08f1/attachment.html>


More information about the Swift-devel mailing list