我通过最新版本的Xcode(版本10.1(10B61))分发应用程序时遇到了一些问题。每次我尝试通过组织者将其上传到App Store时,我在上传后都会收到此错误:
WARNING ITMS-90725: "SDK Version Issue. This app was built with the iOS 12.0 SDK. Starting March 2019, 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."
此问题的先前答案说,这只是一个警告,我仍然可以上传我的应用程序,但它现在是三月,我仍然得到错误甚至10.1。 iTunesConnect不允许我选择这些版本,我收到有关验证失败的电子邮件。
更多详情:
-The app is an iMessage extension, and uses exactly 1 framework from Carthage, which is up to date with the latest framework version and Carthage version.
-My project and Message extension targets Swift Language Version build setting is Swift 4.2.
-My deployment target is iOS 11.0, but the issue persists after selecting iOS 12.1.
-The app compiles and runs fine on my physical device running iOS 12.1.
-The issue persists after a build folder clean.
-The issue persists after reinstalling Xcode.
如果有人对如何验证我的应用程序是否使用最新的SDK进行编译有任何建议,请告诉我。
应用程序是否在给定的iOS版本上运行,与您真正使用的SDK无关。用于构建的最终SDK版本可在应用程序的Info.plist中找到。
/usr/libexec/PlistBuddy -c "print :DTSDKBuild" Info.plist
您可能希望它为SDK 12.1显示“16B91”。如果它是其他东西(SDK 12.0将是“16A366”),这里有一些想法:
--no-use-binaries
。删除整个Carthage文件夹(Checkouts和Build)并从头开始。rm -rf ~/Library/Developer/Xcode/DerivedData
而不仅仅是“build folder clean”xcode-select -p
验证您确实使用了您想要的Xcode实例如果所有看起来都正确,请填写Technical Support Incident。报告您已上传的确切拒绝版本。这应该加快支持反应。
我填写了一份关于Apple的错误报告,因为我遇到了完全相同的问题,并且上述解决方案均无效。他们对后端做了改变,现在一切都恢复正常的工作状态。
如果你有一段时间没试过,再试一次,我打赌这次它会起作用。
我遇到了同样的问题。我的应用程序是在Xcode 10.1中编译的,但我仍然收到SDK警告。我能够通过执行以下操作来解决它。我不确定是否所有这些步骤都是必要的。我没有尝试在步骤之间进行验证。