如何判断哪个版本的 Xcode/哪个 SDK 构建了 xcarchive? [英] How do I tell which version of Xcode/which SDK built an xcarchive?

查看:55
本文介绍了如何判断哪个版本的 Xcode/哪个 SDK 构建了 xcarchive?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有针对我的产品的各种版本的 xcarchives,但我没有跟踪我使用哪个版本的 Xcode 以及使用哪个 SDK 构建它们.我如何检查?

I have xcarchives for the various releases of my product, but I haven't been keeping track of which version of Xcode I built them with and with which SDK. How can I check?

推荐答案

当您使用 Xcode 构建可执行文件时,它会在应用程序的 Info.plist(而不是 xcarchive 的)中包含额外的键:

When you build an executable with Xcode, it includes extra keys in the application's Info.plist (not the xcarchive's):

DTCompiler: com.apple.compilers.llvm.clang.1_0
DTPlatformBuild: 13C75
DTPlatformName: iphoneos
DTPlatformVersion: 9.2
DTSDKBuild: 13C75
DTSDKName: iphoneos9.2
DTXcode: 0720
DTXcodeBuild: 7C68

DTXcodeDTXcodeBuild 描述了使用哪个版本的 Xcode 来构建可执行文件(以及存档).DTSDKNameDTSDKBuild 描述了用于可执行文件本身的 SDK.其他信息可能对您也很有价值.

DTXcode and DTXcodeBuild describe which version of Xcode was used to build the executable (and thus the archive). DTSDKName and DTSDKBuild describe the SDK used for the executable itself. The other information may be valuable to you, too.

这篇关于如何判断哪个版本的 Xcode/哪个 SDK 构建了 xcarchive?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆