• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to make a path relative to the current Xcode application?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to make a path relative to the current Xcode application?


  • Subject: Re: How to make a path relative to the current Xcode application?
  • From: Joar Wingfors <email@hidden>
  • Date: Fri, 26 Oct 2012 21:25:16 -0700

Sorry, in your case it's probably better to have your script peek at the environment in which it is run - Xcode puts a lot of interesting stuff there, such as:

	DEVELOPER_TOOLS_DIR

Joar

On 26 okt 2012, at 21:21, Joar Wingfors <email@hidden> wrote:

> Look in the man pages for xcode-select and xcrun.
>
> Joar
>
> On 26 okt 2012, at 11:58, Stephen Kay <email@hidden> wrote:
>
>> I'm working with Leopard at the moment, I have both Xcode 2.5 and 3.0
>> installed, according to the included directions.
>>
>> Xcode 3.0 is inside the /Developer folder.
>> Xcode 2.5 was installed by default into /XCode2.5.
>>
>> In some of my Run Scripts, I have a path such as:
>>
>> /Developer/Tools/ResMerger <blah-blah>
>>
>> How can I make this path relative to whichever version of Xcode is currently
>> being run?
>>
>> Thanks,
>> - Stephen
>>
>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>> Stephen Kay
>> Karma-Lab :: developers of KARMA
>> http://www.karma-lab.com
>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>
>>
>>
>> _______________________________________________
>> 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
>
>
> _______________________________________________
> 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


 _______________________________________________
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

  • Follow-Ups:
    • Re: How to make a path relative to the current Xcode application?
      • From: Stephen Kay <email@hidden>
References: 
 >How to make a path relative to the current Xcode application? (From: Stephen Kay <email@hidden>)
 >Re: How to make a path relative to the current Xcode application? (From: Joar Wingfors <email@hidden>)

  • Prev by Date: Re: How to make a path relative to the current Xcode application?
  • Next by Date: ARC refactor misses IBOutlets?
  • Previous by thread: Re: How to make a path relative to the current Xcode application?
  • Next by thread: Re: How to make a path relative to the current Xcode application?
  • Index(es):
    • Date
    • Thread