Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to make XCode use a shared build location inside an application package?



Hello All

As I said in an earlier mail I am moving all my projects from CW to XCode and now I am stuck. I have a project that has two helper applications that reside inside the main application package.

MyApplication.app
    /Contents
        /Frameworks
            MyPrivateFramework.framework
        /MacOS
            MyApplicationExecutable
            HelperTool1.app
            HelperTool2.app
        /Resources

The problem is that my helper tools must reside inside the proper location so that they can access to MyPrivateFramework.framework in the Frameworks folder inside the main application package. I tried to change the project's default build location as indicated in XCode 2.1 documentation but the thing is I cannot do this for two reasons:

1) I cannot get past MyApplication.app because the navigation services window used does not allow to go inside packages

2) The build location cannot be customized so that XCode does not add a Debug or Release subdirectory in the build location, which will create an unwanted parent directory for the helper tool (at least, AFAIK).

I tried to solve this problem by using a New Build Phase to copy the built product to the right location, but then I cannot debug it in the right location as the project still points out to where it expects the built product.

I would like to know if someone has had this problem and if so how did you solve it? If it is not possible to solve this easily I will file a bug.

TIA

Joao
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.