gpt4 book ai didi

ios - 提交到使用 iOS 12.1 SDK 构建的 App Store

转载 作者:行者123 更新时间:2023-11-29 13:56:25 31 4
gpt4 key购买 nike

我正在使用 Xamarin Forms 3.4 和 VSTS 构建和部署到 iTunes 和 Google Play。

在 2 月份(可能更早一点),我在尝试部署到 iTunes 时收到警告。警告如下

SDK Version Issue - This app was built with the iOS 11.4 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

到目前为止,我尝试的一切都没有奏效。

所以我在构建步骤之前添加了一个“Bash 脚本”步骤,并在脚本中添加了以下两行

sudo $AGENT_HOMEDIRECTORY/scripts/select-xamarin-sdk.sh 5_16_0
echo '##vso[task.setvariable variable=MD_APPLE_SDK_ROOT;]'/Applications/Xcode_10.1.app;sudo xcode-select --switch /Applications/Xcode_10.1.app/Contents/Developer

我在 https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml&viewFallbackFrom=vsts#xcode 中找到了之前的脚本和指南构建成功但部署到 iTunes 失败并出现错误

ERROR ITMS-90596: "Invalid Bundle. The asset catalog at 'Payload/MyApp.iOS.app/Assets.car' can't be processed. Rebuild your app, and all included extensions and frameworks, with the latest GM version of Xcode and resubmit."

在添加“Bash 脚本”步骤之前,我在 iTunes 部署中没有出现这个问题。

所以我想这个问题很明显……我做错了什么?

最佳答案

转到此 Link看看

Apple has indicated that starting in March 2019, all apps and updates submitted to the App Store must have been built with the iOS 12.1 SDK or later, included in Xcode 10.1 or later. Apps should also support the iPhone XS and 12.9" iPad Pro screen sizes.

关于ios - 提交到使用 iOS 12.1 SDK 构建的 App Store,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55474918/

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