简体   繁体   English

如何查找应用程序正在使用的 iOS SDK 版本?

[英]How to find the iOS SDK version that an app is using?

I need to find a way to see if an app is using a particular SDK, specifically I need to see if it is using SDK version 12. Is there a way to do this either programmatically or in Xcode?我需要找到一种方法来查看应用程序是否正在使用特定的 SDK,特别是我需要查看它是否使用的是 SDK 版本 12。有没有办法以编程方式或在 Xcode 中执行此操作? Checking the Base SDK in Xcode just gives me options to set it to "iOS", "macOS" etc.在 Xcode 中检查 Base SDK 只是给了我将其设置为“iOS”、“macOS”等的选项。

You can type like xcodebuild -showsdks this gives list of sdk's and the current sdk version or else in Xcode您可以像 xcodebuild -showsdks 这样输入,这会提供 sdk 和当前 sdk 版本的列表,或者在 Xcode 中

go to Apple icon-> About This Mac-> System Report-> Software-> Developer转到 Apple 图标 -> 关于本机 -> 系统报告 -> 软件 -> 开发人员

you can get your SDK version你可以得到你的SDK版本

Latest Xcode will be having the latest SDK version.最新的 Xcode 将拥有最新的 SDK 版本。 I suggest you to check the SDK version from Apple Menu -> About this Mac -> system Report -> Software -> Developer.我建议您从 Apple Menu -> About this Mac -> system Report -> Software -> Developer 检查 SDK 版本。

Here you can see the SDK version.在这里您可以看到 SDK 版本。

Note: As per the AppStore updates, As of June 30, 2020, updates to apps for iPhone or iPad must be built with the iOS 13 SDK or later.注意:根据 AppStore 更新,截至 2020 年 6 月 30 日,iPhone 或 iPad 应用程序更新必须使用 iOS 13 SDK 或更高版本构建。 So I suggest you update the XCode to the latest version to get the latest SDK version.所以我建议您将 XCode 更新到最新版本以获取最新的 SDK 版本。

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM