On Sep 6, 2011, at 2:34 PM, [email protected] wrote: > On 6 Sep 2011, at 22:11, Kyle Sluder wrote: >> On Tue, Sep 6, 2011 at 1:55 PM, [email protected] >>> 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?
The LC_LOAD_DYLIB output from `otool -lv` shows the library version number as seen at link time. That's usually the value that is checked at runtime. To get an SDK number, you'd have to know which library version was present in each SDK. -- Greg Parker [email protected] Runtime Wrangler _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
