• 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: Xcode ignores compiles changes, but debugs old code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode ignores compiles changes, but debugs old code


  • Subject: Re: Xcode ignores compiles changes, but debugs old code
  • From: "James Larcombe" <email@hidden>
  • Date: Tue, 10 Jan 2006 09:56:43 -0000

3. The application has several static library targets that it links together for the main application. The source is in the library. The source is all in the project however....

I've been bitten by this one -- the linking step often doesn't get run when you're linking against static targets. The build appears to go through all the steps, but never links. You have to manually delete the target (or add a custom build phase that deletes it) in order to ensure that you end up with an up-to-date executable. It's an absolute pain.

This probably seems often to be caused by having separate build locations for the static library and the main application. Xcode does not support this, and the symptoms (for me at least) are the linking problems described in this thread.

Make sure all the projects are building to the same location. There are a
number of ways this can be done, but I did it by changing the Build
Location setting for each project to a folder called 'Build' at the top of
the source tree (this means that it will work when the tree is checked out
and built on a fresh machine with no faffing around).

Hope this helps,
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


  • Follow-Ups:
    • Re: Xcode ignores compiles changes, but debugs old code
      • From: Steve Checkoway <email@hidden>
References: 
 >Xcode ignores compiles changes, but debugs old code (From: Lyndsey Ferguson <email@hidden>)
 >Re: Xcode ignores compiles changes, but debugs old code (From: Paul Walmsley <email@hidden>)

  • Prev by Date: Re: Xcode ignores compiles changes, but debugs old code
  • Next by Date: Hangs in xcode 2.2
  • Previous by thread: Re: Xcode ignores compiles changes, but debugs old code
  • Next by thread: Re: Xcode ignores compiles changes, but debugs old code
  • Index(es):
    • Date
    • Thread