• 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: Frameworks inside applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Frameworks inside applications


  • Subject: Re: Frameworks inside applications
  • From: Pete Yandell <email@hidden>
  • Date: Mon, 25 Feb 2002 13:45:49 +1100

On Sunday, February 24, 2002, at 12:08 PM, Kurt Revis wrote:

Also note that after you copy the frameworks into your app wrapper, prebinding won't work anymore (since the modification date of the frameworks will be later than the date stored in the app's binary). So you need to do something like this to get prebinding to work again:

cd "$INSTALL_DIRECTORY/MyApp.app/Contents/MacOS"
redo_prebinding -e "$PWD" ../Frameworks/MyFramework.framework/Versions/Current/MyFramework
redo_prebinding -e "$PWD" MyApp

Now that's something I wouldn't have picked up on!

This little script as you've provided it is designed to run in the install action, right? $INSTALL_DIRECTORY is where the app is being installed? Is there a reason it should be run at this point rather than in the build phase?

And while we're on the topic, I've never actually used the install phase given there doesn't seem to be a Project Builder command to run it (although pbxbuild will do it of course.) Apart from copying your app into ~/Library/Applications, does the install phase normally do anything particularly special?

Pete Yandell
http://pete.yandell.com/


________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Frameworks inside applications
      • From: Kurt Revis <email@hidden>
    • Re: Frameworks inside applications
      • From: Kurt Revis <email@hidden>
References: 
 >Re: Frameworks inside applications (From: Kurt Revis <email@hidden>)

  • Prev by Date: Drag and drop files
  • Next by Date: Re: Drag and drop files
  • Previous by thread: Re: Frameworks inside applications
  • Next by thread: Re: Frameworks inside applications
  • Index(es):
    • Date
    • Thread