如何解决“捆绑软件使用已使用的捆绑软件名称或显示名称。”在Azure DevOps管道中?

时间:2019-10-07 14:56:00

标签: ios xcode app-store azure-pipelines fastlane

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

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

问题:我该如何解决?

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

背景: 该应用程序已经存在多年了。我们一直都在通过XCode上传。实际上,通过XCode上载仍然可以正常工作。这似乎表明这是管道或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。有人会认为这将允许使用现有的捆绑包名称和显示名称来上传应用程序。如果其中一个正在使用,则是我们的应用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."

1 个答案:

答案 0 :(得分:0)

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