> On 2014 Oct 21, at 16:29, Filhol Alain <[email protected]> wrote:
> 
> I have an application which bundle is as follows:
>       MacOS : launcher.sh  <— a launcher for myAppli
>       Resources : myAppli  <— an application that I cannot recompile (code 
> lost)
> 
> How can I tell xCode that the .sh file is to be placed in the MacOS folder of 
> a bundle

• Edit your target.
• Click the “Build Phases” tab.
• Add a “Copy Files Build Phase”.
• Set the “Destination” popup to “Executables”.
• Add your .sh file to the empty list. 

> and then to code sign the resulting bundle ?

It might “just work”.  If it does not, add a “Run Script Build Phase” and 
invoke the codesign tool from the command line.  To learn how to use codesign, 
type ‘man codesign’ into a Terminal window.

* * *

This is probably going to be one of the more trickier things you’ll do this 
week, but I think it can probably be done somehow.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to