• 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
Script problems in Xcode 3.0
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Script problems in Xcode 3.0


  • Subject: Script problems in Xcode 3.0
  • From: Howard Moon <email@hidden>
  • Date: Wed, 14 Nov 2007 13:37:34 -0800

Hi all,

I'm unable to search on the online list site now (I guess it's too busy), so I'm asking here.  Sorry if this has been gone over umpteen times already...

I just installed Leopard and Xcode 3.0, and now I'm unable to build my old Xcode 2.3 projects.  The problem is in a script I have which, among other things, inserts an icon in my audio plug-in bundle.  Here's the line that fails:

echo "read 'icns' (-16455) \"${SRCROOT}/xxxxxxxx.icns\";" | /Developer/Tools/Rez -o ${ICON_RESOURCE};

(I've replaced my app name with xxxxxxxx to protect the innocent.)

I noticed that Rez in that location is an alias to the actual file in /Developer/usr/bin/Rez, so I changed it to this:

echo "read 'icns' (-16455) \"${SRCROOT}/xxxxxxxx.icns\";" | /Developer/usr/bin/Rez -o ${ICON_RESOURCE};

But that's still not working.  I get the following error:

/Developer/usr/bin/Rez - SysError 0 during read.

Anyone know what I'm doing wrong?  Is there a doc somewhere explaining changes that have made my old script stop working?

I had some permissions problems when updating to Leopard, and had to manually tweak the permissions on some files, so maybe that's the problem?  If I look at the permissions for the .icns file, I see "everyone" there twice(!), along with admin and my user name, all with Read&Write permissions, so I don't see the problem there.  Do I need to set "system" permissions (somehow)?  Or...?

Thanks for any advice...

-Howard


 _______________________________________________
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: Making larger Icons for Leopard
  • Next by Date: Re: Making larger Icons for Leopard
  • Previous by thread: Re: Making larger Icons for Leopard
  • Next by thread: Shift+Command+Delete in IB 3.0
  • Index(es):
    • Date
    • Thread