• 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: Mon, 15 Dec 2003 00:10:33 +0100

Actually, Scott, I didn't investigate things thoroughly enough before firing off my message... What Frank said about build style inheritance sounded right, but on further investigation I have verified that the build style is correctly inherited, at least with a simple set of test projects here (a basic application project which embeds a basic framework project).

Best wishes,
Greg

El 13/12/2003, a las 1:57, Scott Tooker escribis:

I'm curious about what sorts of settings you are placing in the build
style in the separate projects that cause this problem (in most cases
the Development and Deployment build styles look identical across a
number of projects.

Scott

On Dec 11, 2003, at 5:05 PM, Greg Hurrell wrote:

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.

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.
_______________________________________________
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.

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>)
 >Re: Depending on other projects (From: Greg Hurrell <email@hidden>)
 >Re: Depending on other projects (From: Scott Tooker <email@hidden>)

  • Prev by Date: Re: Get Info and Additional Compiler Flags bug
  • Next by Date: Re: -fast for G4 + G5
  • Previous by thread: Re: Depending on other projects
  • Next by thread: Re: Depending on other projects
  • Index(es):
    • Date
    • Thread