Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cocoa project not linking static library



I hope this is not off-topic for this list...

I know I'm missing something obvious here, but I have problems with a cocoa 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?

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.