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: Version info .dylib's



Hi,
  Same here, although I'm not sure adding

-sectcreate __TEXT __info_plist Info.plist

To Linker Other flags is working correctly ?, as when I try doing

nm -j <Mach-o file>

(to list all the symbols in the file)

  I don't see the above segment (__info_plist) which is requested in the
list printed out, although the strange thing is if I do a hex search for the
data in the file I find the .plist data, so that's a little weird as its
there.

Any else had this working or know what to do.

Thanks
Mark.

> There supposedly is a supported way to get the linker to put a .plist
> file into a special segment in a Mach-O file such that CFBundle/
> NSBundle calls will automatically find it. In my limited testing I've
> not gotten it to work, though.
> 
> <http://developer.apple.com/documentation/MacOSX/Conceptual/
> BPRuntimeConfig/Articles/ConfigFiles.html#//apple_ref/doc/uid/
> 20002091-SW1>
> 
> Dave
> 
> On Apr 24, 2007, at 8:34 AM, Mark Thomas wrote:
> 
>> Hi All,
>>   Is there a way to get a user friendly version of .dylib to be
>> easily shown
>> ?, as doing a Get Info window, doesn't show the version information
>> of a
>> dylib. Is there a way were the information could be easily shown
>> for a user
>> to see and collect ?
>> 
>>   I'm can see that .dylib does have version'ing information but
>> that looks
>> like that's its only for when your making sure that your code is
>> linked
>> against the correct version, and usually shown via its filename,
>> but nothing
>> like adding an Info.plist for a .dylib (for
>> CFBundleShortVersionString &
>> NSHumanReadableCopyright XML tags).
>> 
>> Thanks
>> Mark.
>> 
>>  _______________________________________________
>> 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/dave%
>> 40criticalpath.com
>> 
>> This email sent to email@hidden
>> 
> 
> ---
> Among the chief weapons of UNIX:  Fear, surprise and ruthless
> efficiency.
> 

 _______________________________________________
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: 
 >Re: Version info .dylib's (From: Dave Camp <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.