• 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: loading a bundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: loading a bundle


  • Subject: Re: loading a bundle
  • From: "Wesley Smith" <email@hidden>
  • Date: Sun, 21 Jan 2007 23:02:21 -0800

I ended up making a custom build script that takes the binary in
/Contents/MacOS and moves it to the products directory and then nukes
the folder structure.  I'm doing this because Lua, the scripting
language I'm writing modules for, does things this way to provide a
uniformish structure across windows, OSX, and Linux.  I ended up
making a bundle target with this script at the end of the build
process:

cd $BUILT_PRODUCTS_DIR/$PRODUCT_NAME.$WRAPPER_EXTENSION/Contents/MacOS
mv $PRODUCT_NAME ../../../
cd ../../../
rm -r $PRODUCT_NAME.$WRAPPER_EXTENSION
mv $PRODUCT_NAME $PRODUCT_NAME.so

wes
_______________________________________________
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


References: 
 >loading a bundle (From: "Wesley Smith" <email@hidden>)
 >Re: loading a bundle (From: j o a r <email@hidden>)

  • Prev by Date: Re: loading a bundle
  • Next by Date: Re: dyld
  • Previous by thread: Re: loading a bundle
  • Next by thread: App launched in Xcode can't gain key and order front
  • Index(es):
    • Date
    • Thread