• 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: Linker woes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linker woes


  • Subject: Re: Linker woes
  • From: Preston Jackson <email@hidden>
  • Date: Wed, 13 May 2009 13:50:19 -0600

1. Make sure you are using a shared build directory when you have
multiple project files. It sounds like you might be, but make sure
that that the build products from both projects are sitting in the
same directory.

This is what I was doing before, but it is a mess. I want my build products
folder to be organized, something like:


Build/Debug/Tests
Build/Debug/Apps
Build/Debug/Frameworks
Build/Debug/Libraries
Etc...

I believe Xcode uses the CONFIGURATION_BUILD_DIR to find dependent libraries for linking. When you build a "Test" into the "Tests" directory, Xcode will still look in the "Build/Debug/Tests" for library linking. It appears that your libraries are not in the CONFIGURATION_BUILD_DIR that you use when building an test (i.e. Build/ Debug/Tests), but are rather in the CONFIGURATION_BUILD_DIR that are used when building libraries (i.e. Build/Debug/Libraries).


Try leaving the CONFIGURATION_BUILD_DIR alone. It is Xcode's happy place. Don't let it get confused :)

Preston

_______________________________________________
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: Linker woes
      • From: Tim Murison <email@hidden>
References: 
 >Re: Linker woes (From: Tim Murison <email@hidden>)

  • Prev by Date: Distribution Cert/Prov Problems, "A valid signing identity matching this profile could not be found in your keychain"
  • Next by Date: Re: Linker woes
  • Previous by thread: Re: Linker woes
  • Next by thread: Re: Linker woes
  • Index(es):
    • Date
    • Thread