Re: Is this a bad idea or is this supported?
Re: Is this a bad idea or is this supported?
- Subject: Re: Is this a bad idea or is this supported?
- From: Joar Wingfors <email@hidden>
- Date: Fri, 02 Nov 2012 19:41:36 -0700
Xcode's native build system would not look outside of Xcode.app for tools. That would only happen if you add something to your project that explicitly calls out to stuff that's installed into "/". So that's completely under your control.
I remembered something else though - Xcode depends on the MobileDevice.framework for communicating with iOS devices. This framework is shared between Xcode, iTunes and other applications that has this requirement. Newer versions of Xcode typically would install a newer version of this framework. Xcode makes this check on launch, and prompts you to upgrade if needed. I'm not exactly sure, but I'm guessing that older versions of Xcode would generally speaking work fine with newer versions of the framework.
Besides the MobileDevice.framework, the Command Line Tools package is the only thing that's ever installed outside of Xcode.app.
Joar
On 2 nov 2012, at 19:18, Alex Zavatone <email@hidden> wrote:
> On Nov 2, 2012, at 10:16 PM, Joar Wingfors wrote:
>
>> On 2 nov 2012, at 15:59, Alex Zavatone <email@hidden> wrote:
>>
>>> But it is good to know that the installs are rather compartmentalized and allow this. Thanks.
>>
>> This is true for Xcode, and Xcode's native build system. Keep in mind though that this is not generally true for UNIX build systems. If you depend on a non-native build system it's likely that it will expect to find UNIX development tools installed into "/". This is why we provide the separate Command Line Tools package. For reasons that should be obvious there can be only one such package installed at one time.
>>
>> Finally, if you depend on a non-native build system but are in a position to modify it, you can avoid the dependency on having tools installed in "/" by indirecting via xcrun. Read the man pages for xcrun and xcode-select for more info.
>>
>> Joar
>
> And that was my exact concern. What externals, if any (command line tools, perhaps), might be installed in a location that would be shared by all installations.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden