ios - 如何修复 Azure DevOps Pipelines 中的 "The bundle uses a bundle name or display name that is already taken."?

标签 ios xcode app-store azure-pipelines fastlane

通过 Azure DevOps Pipelines(使用 FaSTLane)上传到 Apple App Center 时出现此错误:

错误 ITMS-90129:“捆绑使用的捆绑名称或显示名称已被占用。”

问题:我该如何解决这个问题?

Google 似乎表明此错误消息很常见,但我没有看到有人在 Azure DevOps Pipelines 中看到此错误。

背景:
该应用程序已经存在多年。我们一直在通过 XCode 上传。事实上,通过 XCode 上传仍然没有错误。这似乎表明这是 Pipelines 或 FaSTLane 问题,而不是 Apple 问题。 (也就是说,如果使用 XCode 上传到 App Store,Apple 不会提示显示名称的捆绑名称。)

发生了什么变化:
我们正在尝试使用“发布到 App Store TestFlight Track”步骤在 Azure DevOps 上实现 CI/CD 管道。管道步骤中的捆绑包 ID 与 info.plist 中的捆绑包 ID 匹配,并且与 Apple App Store 中的捆绑包 ID 匹配。自上次上传到 App Store 以来,我们添加了一些新功能,但没有更改捆绑包 ID、捆绑包名称或显示名称。

查看来自 Azure DevOps Pipelines 的日志,FaSTLane 似乎正确地找到了现有的应用程序。日志显示它正在上传到正确的 Apple App Id。有人会认为它允许使用现有的捆绑包名称和显示名称上传应用程序。如果其中任何一个都在使用中,那就是我们的 App Id 正在使用它们。

以下是 DevOps 的管道步骤日志:(出于隐私考虑,一些敏感值已更改。)

##[section]Starting: Publish to the App Store TestFlight track
==============================================================================
Task         : Apple App Store Release
Description  : Release an app to TestFlight or the Apple App Store
Version      : 1.158.0
Author       : Microsoft Corporation
Help         : [More Information](https://marketplace.visualstudio.com/items?itemName=ms-vsclient.app-store)
==============================================================================
bee538a5-46c9-4cd2-9fca-b847cc5a5080 exists true
[command]/usr/local/opt/ruby/bin/gem install fastlane
Successfully installed rubyzip-1.3.0
Successfully installed fastlane-2.133.0
Parsing documentation for rubyzip-1.3.0
Installing ri documentation for rubyzip-1.3.0
Parsing documentation for fastlane-2.133.0
Installing ri documentation for fastlane-2.133.0
Done installing documentation for rubyzip, fastlane after 21 seconds
2 gems installed
[command]/usr/local/opt/ruby/bin/gem update fastlane -i /Users/vsts/.gem-cache
Updating installed gems
Nothing to update
[command]fastlane pilot upload -u *** -i /Users/vsts/agent/2.158.0/work/1/s/my.ipa -q 117232819 -r Company, Inc. opt_out_usage
[13:58:55]: ‌Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile‌
[13:58:56]: Sending anonymous analytics information
[13:58:56]: Learn more at https://docs.fastlane.tools/#metrics
[13:58:56]: No personal or sensitive data is sent.
[13:58:56]: You can disable this by adding `opt_out_usage` at the top of your Fastfile
[13:58:56]: Login to App Store Connect (***)
Session loaded from environment variable is not valid. Continuing with normal login.
[13:58:58]: Login successful
[13:59:00]: Ready to upload new build to TestFlight (App: 953681025)...
[13:59:00]: Fetching password for transporter from environment variable named `FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD`
[13:59:18]: iTunes Transporter successfully finished its job
[13:59:18]: Fetching password for transporter from environment variable named `FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD`
[13:59:18]: Going to upload updated app to App Store Connect
[13:59:18]: This might take a few minutes. Please don't interrupt the script.
[13:59:39]: [Transporter Error Output]: ERROR ITMS-90129: "The bundle uses a bundle name or display name that is already taken."
[13:59:39]: Transporter transfer failed.
[13:59:39]: 
[13:59:39]: ERROR ITMS-90129: "The bundle uses a bundle name or display name that is already taken."

最佳答案

您最有可能必须更新您的捆绑标识符,尝试稍微更改它然后重新上传。

关于ios - 如何修复 Azure DevOps Pipelines 中的 "The bundle uses a bundle name or display name that is already taken."?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58272156/

相关文章:

ios - 免费版应用程序和专业版应用程序,复制 Xcode 6 项目?

ios4 - 如果我在info.plst文件中将类似IM的应用程序的后台任务声明为 “voip”,是否可以获得Apple的认可?

iphone - 使用别人的 Mac 将应用程序发布到 App Store?

ios - 无法用存储的属性覆盖 'description'

ios - 当键盘覆盖输入字段时向上移动 View ,但在它们之间留有一些空间

python - iOS/Django : How to perform dual authentication?

ios - 无法在 Xcode 4.3.2 的 ios 模拟器中找到数据库位置和 Plist 位置

ios - Xcode 说该文件不存在

ios - Flutter:在 iOS 和 Android 中禁用滑动导航返回

arrays - Swift 从数组中获取 x 个元素