How do I tell which version of Xcode/which SDK built an xcarchive?

前端 未结 1 1065
花落未央
花落未央 2021-01-14 18:50

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

1条回答
  •  再見小時候
    2021-01-14 19:51

    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
    

    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.

    0 讨论(0)
提交回复
热议问题