• 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: Converting Xcode paths to usable paths
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Converting Xcode paths to usable paths


  • Subject: Re: Converting Xcode paths to usable paths
  • From: Greg Guerin <email@hidden>
  • Date: Thu, 10 Dec 2009 10:29:09 -0700

Jens Miltner wrote:

set aPath = "/depot/cmyk/creatortech/desktop/mac/C2Mac/../../../../ xcodebuilds/Creator.build/Debug/Preprocessed-Info.plist"
set RealPath to do shell script "echo \"$(cd $(dirname \"" & aPath & "\") && pwd)/$(basename \"" & aPath & "\")\""


This works, without a shell:

set aPath to "/depot/cmyk/creatortech/desktop/mac/C2Mac/../../../../ xcodebuilds/Creator.build/Debug/Preprocessed-Info.plist"

set RealPath to POSIX path of (POSIX file aPath as alias)

  -- GG

_______________________________________________
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


  • Prev by Date: Re: adding an OS X target to an iPhone project
  • Next by Date: Re: adding an OS X target to an iPhone project
  • Previous by thread: Re: Converting Xcode paths to usable paths
  • Next by thread: Re: How to deal with missing function on Leopard
  • Index(es):
    • Date
    • Thread