• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to make XCode use a shared build location inside an application package?
[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?


  • Subject: How to make XCode use a shared build location inside an application package?
  • From: João Varela <email@hidden>
  • Date: Sat, 25 Jun 2005 21:32:17 +0100

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: How to make XCode use a shared build location inside an application package?
      • From: Chris Hanson <email@hidden>
  • Prev by Date: Re: Using XCode and en.lproj vs. English.lproj
  • Next by Date: Re: Using XCode and en.lproj vs. English.lproj
  • Previous by thread: Re: XCode 2.0: what happened to long long?
  • Next by thread: Re: How to make XCode use a shared build location inside an application package?
  • Index(es):
    • Date
    • Thread