开发者

Detect which SDK Version was used to build a OSX Framework

I need to detect which S开发者_如何学编程DK Version was used to build a OSX Framework.

Any helpful hints would be appreciated Florian


Thanks for the hint that solved my problem

I need to validate that a framwework was really built with the 10.6 SDK Thanks for you hint, I solved the problem with the otool

Using otool -L prints the the following lines if you link against the 10.6 SDK /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 550.29.0)

If you still use the 10.5 SDK you will get a different current version number /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 476.19.0)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜