No Xcode 8 CLT for El Capitan
Jeremy Huddleston Sequoia
jeremyhu at macports.org
Thu Sep 22 01:49:36 PDT 2016
> On Sep 21, 2016, at 12:45, Adam Dershowitz <dersh at alum.mit.edu> wrote:
>
> It does:
>
> $ xcode-select -p
> /Applications/Xcode.app/Contents/Developer
>
>
> For me some updates in Macports, including some builds, seem to work OK, and others, such as cmake, are giving an error:
> https://trac.macports.org/ticket/52258
>
> I’m not sure if I then need to completely switch to Xcode 7? Or if I can just install the command line tools for 10.11 Xcode 7.3.1? If I do that, where do they install, so that I can point xcode-select to the proper path?
If you don't have the CLTools installed, you wouldn't be able to install most of MacPorts. I'm pretty sure you likely have them installed.
Dropping back down to Xcode 7 would mean that Xcode.app would contain the 10.11 SDK and would workaround your issue, but the issue is that the port isn't honoring your SDK (and maybe deployment target) selections (which default to / and host os version respectively).
>
> --Adam
>
>
>
>> On Sep 21, 2016, at 3:40 PM, Jack Howarth <howarth.at.macports at gmail.com> wrote:
>>
>> On Wed, Sep 21, 2016 at 3:15 PM, Adam Dershowitz <dersh at alum.mit.edu> wrote:
>>> That comment does not make it at all clear what those of us who updated to Xcode 8 (but not beta!) but are still on OS X 10.11 are supposed to do.
>>> I have posted a ticket about building cmake that seems to be because it is trying to use 10.12 SDK, but it is not clear how to work around that.
>>> Perhaps the answer is to downgrade to Xcode 7, and stay away from 8? (It is a big download!)
>>> Or, it might be that just the 10.11 command line tools is enough?
>>>
>>
>> If you install Xcode 8 on 10.11, you need to make sure that
>> 'xcode-select -p' reports /Applications/Xcode.app/Contents/Developer
>> so that you are actually using the Xcode 8 compilers. The Command Line
>> Tools installed by Software Update or 'xcode-select --install' on
>> 10.11 will be those from Xcode 7.3.1 and will provide the 10.11 SDK
>> installed in /.
>>
>>> --Adam
>>>
>>>
>>>
>>>> On Sep 21, 2016, at 2:44 PM, Lawrence Velázquez <larryv at macports.org> wrote:
>>>>
>>>> Jack Howarth has noted on IRC that that Apple will not be releasing
>>>> a Command Line Tools package for Xcode 8 on El Capitan [*].
>>>>
>>>> There is no Command Line Tools (OS X 10.11) for Xcode
>>>> 8 package. Xcode 8 contains SDKs that are incompatible
>>>> with earlier toolchains. Developers who want to make use
>>>> of the Xcode 8 SDKs from the command line must choose
>>>> the SDK with xcode-select. Developers on OS X El Capitan
>>>> who have installed versions of the Command Line Tools
>>>> (OS X 10.11) for Xcode 8 Beta should install Command
>>>> Line Tools (OS X 10.11) for Xcode 7.3.1. (28234439)
>>>>
>>>> Do we need to adjust our installation instructions to account for this?
>>>> The consequences of mixing the Xcode 7 CLT with Xcode 8 are not clear to
>>>> me; maybe it's not a problem at all.
>>>>
>>>> [*]: http://adcdownload.apple.com/Developer_Tools/Xcode_8.1_beta/Release_Notes_for_Xcode_8.1_beta.pdf
>>>>
>>>> vq
>>>> _______________________________________________
>>>> macports-dev mailing list
>>>> macports-dev at lists.macosforge.org
>>>> https://lists.macosforge.org/mailman/listinfo/macports-dev
>>>
>>> _______________________________________________
>>> macports-dev mailing list
>>> macports-dev at lists.macosforge.org
>>> https://lists.macosforge.org/mailman/listinfo/macports-dev
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4465 bytes
Desc: not available
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20160922/90c509a0/attachment.p7s>
More information about the macports-dev
mailing list