• 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
Xcode not linking static library
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode not linking static library


  • Subject: Xcode not linking static library
  • From: Luc Vandal <email@hidden>
  • Date: Thu, 25 Oct 2007 09:40:17 -0400

Hi!

I know I'm missing something obvious here, but I have problems with a static library that I've used on other project. I've created a Cocoa Foundation Tool, added the static library to the "External frameworks and libraries" folder in the project view, included the header file in myproject.m for the library's functions and the library was automatically added to the "Link binary with libraries" folder under Target. When I try to compile and link in release, I get unresolved externals. Xcode dosen't even seem to link the library, seems like it ignores it!

So I compared the project settings with another project that uses this library and unless I miss something, their settings are exactly the same! Then I tried to create a new Cocoa Application to see if I could link the library and I got the same error...

Perhaps I forgot a step?

_______________________________________________
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 not linking static library
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Re: Adding Frameworks Not Installed in /System/Library/Frameworks
  • Next by Date: RE: Weak link
  • Previous by thread: Re: Adding Frameworks Not Installed in /System/Library/Frameworks
  • Next by thread: Re: Xcode not linking static library
  • Index(es):
    • Date
    • Thread