• 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: Depending on other projects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Depending on other projects


  • Subject: Re: Depending on other projects
  • From: Greg Hurrell <email@hidden>
  • Date: Fri, 12 Dec 2003 02:05:15 +0100

El 10/12/2003, a las 16:26, Fraser Speirs escribis:

Rob Minnis pointed me off-list to a part of the release notes which explain how to do what we want. To summarise (and I've just done it for my project):

1. Add the other frameworks' project files to your project
2. Inspect the target which depends on the frameworks
3. In the General tab, click ( + ) under Direct Dependencies and you should see a sheet with a list of all the targets in your project and all the projects it contains.
4. Add the depended-on targets.


Note that the release notes say "This feature works best when all linked projects share a central build directory".

Yes, this works for me. But as Frank Midgley said:

The only problem with it is that the dependent projects don't currently inherit the build style of the top level target. You have to open each of the projects and manually set them.

One way of avoiding this problem is to add use the command line (xcodebuild) to do the building of the frameworks, because from there you can specify the buildstyle.


In other words, have a Shell Script Build phase which issues one xcodebuild command when the Development build style is active, and another when the Deployment build style is active...

Downside to this is you lose your nice drag-and-drop/GUI interface, and you also lose the automated management of the dependency tree (ie. the framework is re-built every single time, even if there were no changes).

I am certainly hoping that Apple fixes this little issue soon, because opening the other projects and manually setting the build style is a bit of a hassle...

Cheers
Greg
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Depending on other projects
      • From: Scott Tooker <email@hidden>
References: 
 >Re: Depending on other projects (From: Diego Rey <email@hidden>)
 >Re: Depending on other projects (From: Sam Carr <email@hidden>)
 >Re: Depending on other projects (From: Fraser Speirs <email@hidden>)

  • Prev by Date: Re: Xcode CVS over SSH w/ no keys
  • Next by Date: Re: Xcode Yawn
  • Previous by thread: Re: Depending on other projects
  • Next by thread: Re: Depending on other projects
  • Index(es):
    • Date
    • Thread