Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Mac Programmer Tools > Re: [XCode] add...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 7 Topic 563 of 635
Post > Topic >>

Re: [XCode] adding a task to the build phase

by pere.noel@[EMAIL PROTECTED] (=?ISO-8859-1?Q?Une_b=E9vue?=) Nov 28, 2006 at 04:48 PM

David Phillip Oster <oster@[EMAIL PROTECTED]
> wrote:

> 
> I add a new target called "Package" that depends on the previous target,
> so it only runs when the previous target succeeds. It has only a single
> shell script build phase, that runs a separate text file (so it is easy
> to edit and not part of the .xcodeproj file.)

Ok i see what you mean, then it isn't a new build phase but rather a new
target one (i'm following your above writing within XCode).

That's realy nice i've just added a new project > target > shell script
target.

in the window « Run Script Phase "Package" Info » their is a textfield
right to the first label "Shell", actually it's writen, by default
"/bin/sh" i think i could change that to any shell script including ruby
calling applescript ?

It seems to be so easy to do that i want to insure myself ;-)

> 
> That shell script starts with:

<snip/>

> 
> If you rename the disk represented by the .dmg, you'll also need 
> to use an applescript to reset the volume's background image,
> since the Finder stores the path to the volume's background image
> using an absolute pathname.

fine thanks very much, i appreciate.

yes i know for the background image BUT i've nerver been able to get
size of opened dmg window +/-= size of background image (on the end user
side) even if i do something like :

tell the_window
    set the_bounds to bounds of the_window
    set item 3 of the_bounds to (item 1 of the_bounds) + 545
    set item 4 of the_bounds to (item 2 of the_bounds) + 355
    set its bounds to the_bounds
end tell

545x355 being the size of the background image + borders thickness.

it seems these bounds aren't save even if i detach re-attach de dmg...

do you have solved that tricky point (at least for me) ?

anyway thanks for youur reply it helps me a lot !

-- 
une bévue
 




 7 Posts in Topic:
[XCode] adding a task to the build phase
pere.noel@[EMAIL PROTECTE  2006-11-28 11:48:19 
Re: [XCode] adding a task to the build phase
David Phillip Oster <o  2006-11-28 15:17:03 
Re: [XCode] adding a task to the build phase
pere.noel@[EMAIL PROTECTE  2006-11-28 16:48:45 
Re: [XCode] adding a task to the build phase
David Phillip Oster <o  2006-11-29 06:56:12 
Re: [XCode] adding a task to the build phase
pere.noel@[EMAIL PROTECTE  2006-11-29 14:56:49 
Re: [XCode] adding a task to the build phase
David Phillip Oster <o  2006-11-29 15:10:31 
Re: [XCode] adding a task to the build phase
pere.noel@[EMAIL PROTECTE  2006-11-29 18:32:01 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Oct 12 17:56:06 CDT 2008.