Location of Auxiliary Tools in Bundles

  • On 22/02/2008, at 7:41 AM, Nick Zitzmann wrote:

    > Just place it in either the Contents/MacOS or Contents/Resources
    > folder in your bundle & use NSBundle to get its path. It's pretty
    > simple, actually...

    With the advent of code-signing, auxiliary tools should not be placed
    in Contents/Resources. If it's a simple tool, it should be placed in
    Contents/MacOS. If it is itself a bundle, it should be placed in the
    Contents folder.

    - Chris
  • Just a note on this, remember to untick the main app target in Xcode
    when adding other foundations tools like this or they will
    automatically be added into the resources folder when your package is
    built.

    Untick the target when adding the file and then create a copy files
    build phase to the "Executables" folder seems to be the right way to
    do it.

    Now to see if the tool actually works from there :D

    On 2/21/08, Chris Suter <chris...> wrote:
    >
    > On 22/02/2008, at 7:41 AM, Nick Zitzmann wrote:
    >
    >> Just place it in either the Contents/MacOS or Contents/Resources
    >> folder in your bundle & use NSBundle to get its path. It's pretty
    >> simple, actually...
    >
    > With the advent of code-signing, auxiliary tools should not be placed
    > in Contents/Resources. If it's a simple tool, it should be placed in
    > Contents/MacOS. If it is itself a bundle, it should be placed in the
    > Contents folder.
    >
    >
    > - Chris
    >
    >
    >

    --
    e-mail: <dave.verwer...>
    web: http://shinydevelopment.com

    Shiny Development Ltd. is registered in England, Registration Number:
    05805802. Registered Office: 4 Claridge Court, Lower Kings Road,
    Berkhamsted, Herts., HP4 2AF.
previous month february 2008 next month
MTWTFSS
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29    
Go to today