• 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: Cross Project Dependencies and Cleaning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cross Project Dependencies and Cleaning


  • Subject: Re: Cross Project Dependencies and Cleaning
  • From: Markus Hitter <email@hidden>
  • Date: Sat, 2 Jul 2005 21:26:41 +0200


Am 01.07.2005 um 18:35 schrieb Mike Jackson:

Project B creates an App that links against Project A.

You can't link a project against another one. You can link a target of project B against some bundle, dylib or framework produced by project A.


So, in project B I did the Project->Add and added the .xcodeproj bundle to the project. Disclosed the triangle to reveal the A.framework target and the made sure the little checkbox was checked for the target in Project B.

This was probably no-sense.

I also did the Get Info on the Target in Project B to add A.framework as a dependency to target B.

This is the correct way and sufficient to hook up a build dependency. All such a dependency does, is to click a virtual "build" button in project A before it starts building project B. Nothing else.


1. It seems like every time I build Project B, Project A is re- linked. Is this right?

Possibly a result of adding a .xcodeproj file to your project.

2. When I clean just the ACTIVE target, NOT the "Clean All" button, all the projects get cleaned.

This is intended. If you neither want the dependent project to be re- linked or cleaned when you clean the upper project, there is no need for a build dependency. Handle both your projects independent, instead.



HTH, Markus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/




_______________________________________________ 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
References: 
 >Cross Project Dependencies and Cleaning (From: Mike Jackson <email@hidden>)

  • Prev by Date: Re: Adding system include paths
  • Next by Date: Header search path with XCode 2.1
  • Previous by thread: Cross Project Dependencies and Cleaning
  • Next by thread: Copy Headers Build Phase is Flattening my directories
  • Index(es):
    • Date
    • Thread