• 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
Re: XCodBuild Q not answered in docs or FAQ
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XCodBuild Q not answered in docs or FAQ


  • Subject: Re: XCodBuild Q not answered in docs or FAQ
  • From: Joseph Jones <email@hidden>
  • Date: Fri, 31 Oct 2003 19:02:49 -0800

How do I go about adding my current fx projects to my main one? I don't see anything in the menus or anyplace else to add targets or projects from other environments into an existing project.

And please don't tell me I have to re-create all my projects/targets by hand to get this to work. If that is the case, then dependencies are fairly useless for me (and I'd assume a number of other developers that have existing projects).

joe

On Oct 31, 2003, at 11:20 AM, Chaz McGarvey wrote:

Hello:

OK, this one is about aggregation...

I have a project that depends on 4 other frameworks projects that I build. I would really love to be able to build the main project and have it automatically build all the dependent frameworks it needs. Aggregate projects seem like the perfect answer to this, but they appear to only aggregate targets that are in the current project! I see nothing in the docs or the inspector that appears to allow dependent linking to targets outside the project.

Now, obviously I can write a script that will go ahead and do the builds I need, but this seems a bit archaic given the level of tool support on OS X so far. It also presents a challenge to my HIGHLY limited shell scripting abilities :-).

So, can anyone here tell me if it is possible to aggregate projects in XCode, or am I stuck with custom scripts?

It looks to me like what you want to do is set up dependancies. You can add your app and all your frameworks in one project each as a different target. Then you just set which targets depend on the others. When a target is selected that depends on others, it will build the others first. Cleaning dependent targets will also automatically clean the targets it depends on, etc.

To set up dependancies, select the target you want to be dependent and choose 'Get Info' from the 'Project' menu. In the 'General' tab at the bottom is a list (probably empty) that you can add other targets from your project.

Hope that helps,
Chaz McGarvey
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: XCodBuild Q not answered in docs or FAQ
      • From: Chaz McGarvey <email@hidden>
References: 
 >XCodBuild Q not answered in docs or FAQ (From: Joseph Jones <email@hidden>)
 >Re: XCodBuild Q not answered in docs or FAQ (From: Chaz McGarvey <email@hidden>)

  • Prev by Date: NSOpenPanel returns inadequate path for SMB volumes?
  • Next by Date: Re: Writing a freehand paint tool
  • Previous by thread: Re: XCodBuild Q not answered in docs or FAQ
  • Next by thread: Re: XCodBuild Q not answered in docs or FAQ
  • Index(es):
    • Date
    • Thread