• 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
Does exists something as CURRENT_EXECUTABLE_PATH ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Does exists something as CURRENT_EXECUTABLE_PATH ?


  • Subject: Does exists something as CURRENT_EXECUTABLE_PATH ?
  • From: Ruslan Zasukhin <email@hidden>
  • Date: Sun, 11 Mar 2007 11:46:45 +0200
  • Thread-topic: Does exists something as CURRENT_EXECUTABLE_PATH ?

Hi All,

In the XCODE project I have EXECUTABLE with path
    /Users/rz/Desktop/Brandan/Compass (20 MB Cache).app

In the Target I have pot-build script as following.

Right now I do copy/paste of path of executable manually.
See second line of script.

Does exists some variable like CURRENT_EXECUTABLE_PATH which I can use in
script? I cannot find any in the docs.


---------------------------------------------------------------------
if [ BUILD_STYLE="Debug (Native)" ] ; then

app_frmws="/Users/rz/Desktop/Brandan/Compass (20 MB
              Cache).app/Contents/Frameworks"


for file in "$app_frmws"/V4RB*
do
    v4rb_dylib="$file"
    break
done

echo "REPLACE the "$v4rb_dylib" file on symbol link."

rm "$v4rb_dylib"
ln -s "$BUILT_PRODUCTS_DIR/$PRODUCT_NAME.dylib" "$v4rb_dylib"

Fi
---------------------------------------------------------------------


--
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]


 _______________________________________________
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: Does exists something as CURRENT_EXECUTABLE_PATH ?
      • From: "sharad saxena" <email@hidden>
  • Prev by Date: Re: Linker can't locate file for library.
  • Next by Date: Alignment pragmas?
  • Previous by thread: Re: Linker can't locate file for library.
  • Next by thread: Re: Does exists something as CURRENT_EXECUTABLE_PATH ?
  • Index(es):
    • Date
    • Thread