• 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: Simplify screen saver build
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simplify screen saver build


  • Subject: Re: Simplify screen saver build
  • From: Scott Ruda <email@hidden>
  • Date: Sat, 8 Nov 2003 01:38:25 -0800

On Nov 7, 2003, at 5:46 PM, Kevin Kachikian <email@hidden> wrote:

HI.  Does anyone know how I might be able to take the screen.saver file
my code generates and automatically place it in the /Library/Screen
Savers folder?  I tried telling XCode to place it there via the get
info browse button but it still sticks it in my work folder even though
it shows the destination as /Library/Screen Savers.  This is probably
an XCode bug.

If this is so, might there be some other way of writing a simple script
which XCode will execute after a build to just move the file manually?

I added a Shell Script Build Phase as the last item in the Build Phases of the Target and set it to this:


Shell: /bin/sh
cp -R ${BUILD_DIR}/mysaver.saver ~/Library/Screen\ Savers

Works for me.
Scott
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: dependencies
  • Next by Date: Source Tree Preference
  • Previous by thread: Re: Simplify screen saver build
  • Next by thread: Sub-projects in Xcode?
  • Index(es):
    • Date
    • Thread