• 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: Beginner Questions (was no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Beginner Questions (was no subject)


  • Subject: Re: Beginner Questions (was no subject)
  • From: "James Larcombe" <email@hidden>
  • Date: Thu, 16 Feb 2006 15:45:16 -0000

Daniel Jalkut wrote:

On Feb 16, 2006, at 5:48 AM, Aaron koolen wrote:
[...]
better way is to have one project for the entire thing, and make targets for the dynamic lib, and static lib. So I fiddled with this, made targets, made dynamic lib depend on static lib, and App depend on dynamic lib, so that a change in one would build the
others.

Historically Xcode wasn't as good about this stuff, so there was more of an argument for doing everything in one massive project. Things have since gotten better, though there are some caveats to using the "projects within projects" method. For instance searching the entire project sources won't turn up results in the dependency projects.

We have found many more problems than just the searching limitations when using subprojects and static libraries in Xcode. Here is a list of some of them - perhaps others can contribute more.

1. Dependency checking doesn't work at all unless all your subprojects
build to the same folder.

2. Breakpoints are stored within each project, which can be confusing;
if you happen to have one of the subprojects open, then a breakpoint
set in a file that 'belongs' to that subproject will sometimes stop
working when you close that subproject, even though you're debugging
the same application.

3. There's a nasty (but hard to reproduce in small projects) problem
with setting breakpoints in static libraries that means you simply
can't set breakpoints in some functions. This may be related to forward
declarations. I posted a detailed message about it to this list a week
or two ago, but got no responses. See here for the details:


http://lists.apple.com/archives/xcode-users//2006/Feb/msg00253.html

I haven't worked out a way of getting around this problem yet, or a
minimal case to reproduce, but it happens 100% of the time for many
functions in our static libraries. This is a major problem.

4. Link times for an application with several large static libraries are
extremely long unless 'Link Essential Symbols' is turned on (assuming
that Zerolink won't work, which it doesn't seem to in an application of
any size). Unfortunately this option causes the debugger to crash every
time for our application.

Does anyone else have any similar experiences to the above? The problem
with breakpoints (3) is a huge impediment to our work at present.

James
_______________________________________________
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: 
 >(no subject) (From: Aaron koolen <email@hidden>)
 >Re: Beginner Questions (was no subject) (From: Daniel Jalkut <email@hidden>)

  • Prev by Date: Re: Beginner Questions (was no subject)
  • Next by Date: Re: Beating XCode's key buffer
  • Previous by thread: Re: Beginner Questions (was no subject)
  • Next by thread: Re: Beginner Questions (was no subject)
  • Index(es):
    • Date
    • Thread