7

I have a .framework file and .a taken from two different projects. i want to find out the version number of the sdk used and also xcode version from the .a and .framework files.

is there a way to figure that out ?

4

3 回答 3

4

对于 a .framework file,您可以获得 Xcode 版本

plutil -p YOUR-FRAMWORK-PATH-NAME.framework/Info.plist | grep DTXcodeBuild

你会得到类似的输出:

"DTXcodeBuild" => "9C40b"

9C40b代表 Xcode9.2

在此处输入图像描述

于 2018-05-14T07:51:22.367 回答
0

我也在寻找特定框架的版本。我能够在框架的 Info.plist 文件中找到它。

  1. 右键单击项目导航器中的框架,然后“在 Finder 中打开”
  2. 在 YourFramework.xcframework 目录中,找到嵌套的 YourFramework.framework 目录(作为参考,我的嵌套在“ios-arm64”下)
  3. 在 .framework 目录中,找到 Info.plist 文件并打开它。
  4. 版本应列在“捆绑版本字符串(短)”键下

Framework的Info.plist截图

在撰写本文时,公认的解决方案对我不起作用,所以我想我会分享给任何追随我的人。

于 2021-10-27T18:54:17.937 回答
-3

对于 xcode 版本,请单击 xcode>关于 xcode。

在此处输入图像描述

对于框架,只需从该框架打开一个头文件,通常在顶部的注释中会提到版本。

于 2013-10-28T18:31:16.133 回答