• 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
Link Binary With Libraries, links with incorrect Release/Debug static lib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Link Binary With Libraries, links with incorrect Release/Debug static lib


  • Subject: Link Binary With Libraries, links with incorrect Release/Debug static lib
  • From: "Alex Sheh" <email@hidden>
  • Date: Tue, 16 Jan 2007 15:33:38 -0800
  • Thread-topic: Link Binary With Libraries, links with incorrect Release/Debug static lib

Hi All,
I have a static library project that is cross-referenced in an application project.  Release version MyApp links with libStatic.a, and Debug version MyAppd links with libStaticd.a.  MyApp’s Link Binary With Libraries phase contains a product reference to the static library (I did this according to below posting’s instructions, which says that the Release and Debug names of the linked static library will automatically synchronize with top-level MyApp’s configuration).
 
http://lists.apple.com/archives/xcode-users/2005/Jul/msg00439.html
 
The problem is that when I first open MyApp’s Xcode project and build Release MyApp, it almost always fails complaining that it can’t find the Debug libStaticd.a.  If I toggle on MyApp’s configuration from Debug to Release, then MyApp will link correctly with the Release libStatic.a.  I came across the below posting, where another user was encountering the same problem.
 
http://lists.apple.com/archives/xcode-users/2005/Oct/msg00869.html
 
Is this an Xcode bug, or is there something that I am missing?
 
Thanks,
Alex
 _______________________________________________
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

  • Prev by Date: Re: Xcode deadlock on project open
  • Next by Date: MallocGuardEdges not finding buffer overrun
  • Previous by thread: Re: Xcode deadlock on project open
  • Next by thread: MallocGuardEdges not finding buffer overrun
  • Index(es):
    • Date
    • Thread