Mailing Lists: Apple Mailing Lists

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

Re: ranlib ranlib




On May 1, 2006, at 08:30 , Wesley Smith wrote:

Hi,
Xcode still wont recognize an archivge despite repeatedly running
ranlib on it.  Is there some kind of inspector that can tell me the
satus of the archive or let me verify if ranlib is proprly working or
not?

I'm sure 'ranlib' is working. FWIW, Xcode doesn't know about, or care about, ranlib. It's the tool-chain that cares, 'ld' in particular. You haven't given enough information for us to guess what is going wrong.


One thing to consider: an archive is considered out of date if the mod date on the archive (e.g., "ls -l") is later than the "time stamp" of the TOC in the archive. When 'ld' complains about that, the likelihood is that you have copied the archive somewhere; the copy now has a later date than the TOC in the archive.

Is this problem showing up on a library you build *and* install via Xcode? Perhaps you need to modify the install phase. I'm just taking wild guesses, of course.

Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Absorption of Federal Funds
--------
Some people have a mental horizon of radius zero, and
call it their point of view.
  -- David Hilbert
--------


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >ranlib ranlib (From: "Wesley Smith" <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.