On 6 Sep 2011, at 22:11, Kyle Sluder wrote:

> On Tue, Sep 6, 2011 at 1:55 PM, jonat...@mugginsoft.com
> 
>> My understanding is that the SDK frameworks are there to provide feedback 
>> during the linking that is performed as part of the build.
>> When the app is actually run the dynamic linker links to the specified 
>> versions (A, B, C, etc) of the system frameworks as specified in the binary 
>> (see otool -l).
> 
> Framework versions haven't been used since the OpenStep days.
Really?
It is still documented:
http://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPFrameworks/Concepts/VersionInformation.html#//apple_ref/doc/uid/20002255-BCIECADD
I presumed versioning was still actively used in system frameworks.

> 
>> The binary knows nothing about the SDK (correct me on this if I am wrong).
> 
> You are wrong. ;-)
So it would seem!

> 
>> To me this means that a framework will make its judgement of whether to 
>> modify its internal behaviour based on introspecting the application linkage.
>> This behaviour though seems to be rare and implementation details scare on 
>> the ground.
> 
> The system frameworks often check the SDK version the application
> they're running within was linked against.
> 
Can otool extract the SDK version?

Regards

Jonathan Mitchell

Developer
Mugginsoft LLP
http://www.mugginsoft.com_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to