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

Cross Project Dependencies and Cleaning


  • Subject: Cross Project Dependencies and Cleaning
  • From: Mike Jackson <email@hidden>
  • Date: Fri, 1 Jul 2005 12:35:41 -0400

I searched through the archives and only found references to Xcode 1.5 and since I am on Xcode 2.1 I will ask any ways.

Here is my basic setup:

Project A creates a framework (Actually I have about 5 Frameworks that are being created, but lets keep this simple)
Project B creates an App that links against 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. I also did the Get Info on the Target in Project B to add A.framework as a dependency to target B. Now all is well and good for the builds. If I choose the Development build style I get my debug builds placed in where they are supposed to go and the same goes for Deployment. There are two questions at this point.

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

2. When I clean just the ACTIVE target, NOT the "Clean All" button, all the projects get cleaned. This is an instant problem as one of those dependent projects take 90 minutes to build on my machine. Am I just missing something or is this still a bug in Xcode.?

I looked at some of the suggestions in the archives about dumping the idea of Build Styles are create separate Targets for EACH type of build. Is this the "correct" way of getting around this problem?

Thanks for any help.
---
Mike Jackson
mike _at_ bluequartz dot net


_______________________________________________ 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: Cross Project Dependencies and Cleaning
      • From: Markus Hitter <email@hidden>
  • Prev by Date: re: large memory malloc
  • Next by Date: Copy Headers Build Phase is Flattening my directories
  • Previous by thread: Xcode 1.5 and Run Log?
  • Next by thread: Re: Cross Project Dependencies and Cleaning
  • Index(es):
    • Date
    • Thread