[swift-dev] Building Swift 2.2.1 on macOS High Sierra (10.13)

leanne leanne63.dev at gmail.com
Sun Nov 19 19:11:26 CST 2017


Ah, and one more comment: even after installing Xcode 7.3.1 and its Tools,
my attempt to build Swift 2,2,1 failed. I had renamed Xcode 7.3.1, then
used `xcode-select --switch` to switch to its correct path. However, I
noticed in the build log that the new path wasn't being used.

Apparently, the script doesn't use `xcrun` to select the correct version of
the Tools - it has the path hard-coded to Xcode.app/... As a result, to
make it work, I had to rename my current Xcode to somethig else, then
rename my copy of Xcode 7.3.1 back to Xcode.app.

On Sun, Nov 19, 2017 at 6:54 PM, leanne via swift-dev <swift-dev at swift.org>
wrote:

> Yep, that worked, Slava. I installed Xcode 7.3.1 and its Command Line
> Tools, and Swift 2.2.1 built successfully. Thanks!
>
> On Sun, Nov 19, 2017 at 5:17 PM, Slava Pestov <spestov at apple.com> wrote:
>
>>
>>
>> On Nov 19, 2017, at 6:12 PM, leanne <leanne63.dev at gmail.com> wrote:
>>
>> If I get where you're going, though, Slava, does building Swift 2.2.1
>> require an older version of the Xcode Command Line Tools, then??? Is that
>> why I might need an older Xcode?
>>
>>
>> That’s my theory, yeah.
>>
>> Slava
>>
>
>
> _______________________________________________
> swift-dev mailing list
> swift-dev at swift.org
> https://lists.swift.org/mailman/listinfo/swift-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20171119/14a1f7ae/attachment.html>


More information about the swift-dev mailing list