1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Compiling XCode 2.4

Discussion in 'Mac Programming' started by satyam90, Mar 13, 2008.

  1. macrumors regular


    I am using XCode 2.4.1 with Cocoa and Obj C.
    When I am comiling my code, why isn't making "Plugins" directory under "build/MyApp.app/Contents"
    What I have to change in build procedure?
  2. macrumors 6502a


    If you already have files for "Plugins" you can add them to the project and add a new "Copy Files" Build Phase to the target you are building. Add a new build phase using the Build menu in Xcode.

    Then drag and drop the plugin files in the project file list on the left side of the window to the "Copy Files" build phase.

    To set which folder the files are copied to you select the "Copy Files" build phase in the target list and type Command-I (Get Info). In the "Destination" popup menu you can select which sub-folder the files will be copied to.

    See this image for more details.

    Attached Files:

Share This Page