gpt4 book ai didi

ios - 错误 : This app was built with the iOS 12. 0 SDK。从 2019 年 3 月开始,所有提交到 App Store 的 iOS 应用程序都必须使用 iOS 12.1 SDK 构建

转载 作者:可可西里 更新时间:2023-11-01 05:48:31 26 4
gpt4 key购买 nike

我收到此错误,阻止我上传到 AppStore

ERROR ITMS-90725: "SDK Version Issue. 

This app was built with the iOS 12.0 SDK.

All iOS apps submitted to the App Store must be built with the iOS 12.1 SDK or later, included in Xcode 10.1 or later."
  • 我的 mac 中没有两个 xcode 版本
  • 我检查了 xcodebuild -sdk -version 并且我有 12.1,我使用“sudo xcode-select -s/Applications/Xcode.app/Contents/Developer”检查了命令行工具路径

xcodebuild -sdk -version 的输出:

iPhoneOS12.1.sdk - iOS 12.1 (iphoneos12.1)
SDKVersion: 12.1
Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk
PlatformVersion: 12.1
PlatformPath: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
BuildID: ...
ProductBuildVersion: 16B91
ProductCopyright: 1983-2018 Apple Inc.
ProductName: iPhone OS
ProductVersion: 12.1

iPhoneSimulator12.1.sdk - Simulator - iOS 12.1 (iphonesimulator12.1)
SDKVersion: 12.1
Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk
PlatformVersion: 12.1
PlatformPath: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
BuildID: ...
ProductBuildVersion: 16B91
ProductCopyright: 1983-2018 Apple Inc.
ProductName: iPhone OS
ProductVersion: 12.1

MacOSX10.14.sdk - macOS 10.14 (macosx10.14)
SDKVersion: 10.14
Path: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
PlatformVersion: 1.1
PlatformPath: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
ProductBuildVersion: 18B71
ProductCopyright: 1983-2018 Apple Inc.
ProductName: Mac OS X
ProductUserVisibleVersion: 10.14.1
ProductVersion: 10.14.1

AppleTVOS12.1.sdk - tvOS 12.1 (appletvos12.1)
SDKVersion: 12.1
Path: /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS12.1.sdk
PlatformVersion: 12.1
PlatformPath: /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform
BuildID: ...
ProductBuildVersion: 16J602
ProductCopyright: 1983-2018 Apple Inc.
ProductName: Apple TVOS
ProductVersion: 12.1

AppleTVSimulator12.1.sdk - Simulator - tvOS 12.1 (appletvsimulator12.1)
SDKVersion: 12.1
Path: /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator12.1.sdk
PlatformVersion: 12.1
PlatformPath: /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVSimulator.platform
BuildID: ...
ProductBuildVersion: 16J602
ProductCopyright: 1983-2018 Apple Inc.
ProductName: Apple TVOS
ProductVersion: 12.1

WatchOS5.1.sdk - watchOS 5.1 (watchos5.1)
SDKVersion: 5.1
Path: /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS5.1.sdk
PlatformVersion: 5.1
PlatformPath: /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform
BuildID: ...
ProductBuildVersion: 16R591
ProductCopyright: 1983-2018 Apple Inc.
ProductName: Watch OS
ProductVersion: 5.1

WatchSimulator5.1.sdk - Simulator - watchOS 5.1 (watchsimulator5.1)
SDKVersion: 5.1
Path: /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator5.1.sdk
PlatformVersion: 5.1
PlatformPath: /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform
BuildID: ...
ProductBuildVersion: 16R591
ProductCopyright: 1983-2018 Apple Inc.
ProductName: Watch OS
ProductVersion: 5.1

Xcode 10.1
Build version 10B61
  • 我在build设置中将基础 sdk 设置为 iOS
  • 我使用 xcode 10.1 (10B61)
  • 我卸载并重新安装了 Xcode

有什么想法吗?我无法再上传到 AppStore,搜索解决方案已经一周了,我找不到解决方案。

最佳答案

显然,在 Xcode 10.2 中不存在这个问题。在尝试了多种解决方案之后,为我完成的解决方案是安装 Xcode 的 10.2 版本。我希望这个答案可以帮助别人节省一些时间。

关于ios - 错误 : This app was built with the iOS 12. 0 SDK。从 2019 年 3 月开始,所有提交到 App Store 的 iOS 应用程序都必须使用 iOS 12.1 SDK 构建,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55464391/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com