如果 Xcode Archiving Utility 显示错误的应用程序进行验证,该怎么办? [英] What to do if Xcode Archiving Utility shows wrong app for validation?

查看:24
本文介绍了如果 Xcode Archiving Utility 显示错误的应用程序进行验证,该怎么办?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的 Mac 上有两个应用程序项目.因为懒得重新配置我的项目,我只是复制了我的第一个应用程序的整个项目文件夹并重命名了项目.项目中的所有文件总是相对于项目本身.所以效果很好.

I have two app projects on my mac. Because I was lazy to configure my project again, I just duplicated the entire project folder of my first app and renamed the project. All files in project are always relative to project itself. So it worked very good.

但今天我想构建 &存档我的第一个应用程序的更新.这一切都没有任何抱怨.但是当 Xcode 的存档实用程序完成后,我选择我的存档并单击验证",Xcode 会询问我的 iTunes 连接凭据.然后我输入它们,在请选择您的应用程序记录和签名身份"对话框中,Xcode 只提供一个应用程序供选择.仅限新的(不同的)应用程序.但不是我想在 App Store 上更新的应用.

But today I wanted to Build & Archive an update of my first app. It all works with no complaints. But when the Archiving utility of Xcode is done, and I select my archive and click "Validate", Xcode asks for my iTunes connect credentials. Then I enter them, and in the "Please choose your application record and signing identity" dialogue Xcode offers only one Application for selection. The new (different) App only. But not the app I want to update on the App Store.

在 iTunes Connect 中,我的旧应用程序仍然在线,并且显然有一个应用程序 ID.但是 Xcode 不提供选择此应用程序.

In iTunes connect I have my old app still online and clearly there is an App ID for it. But Xcode does not offer selecting this Application.

但是一件奇怪的事情:我为我的新应用创建的新应用 ID 与我的旧应用具有相同的捆绑种子 ID,它已经在 App Store 上.这是一个问题吗?这就是 Xcode 为我提供错误应用的原因吗?

But one strange thing: The new App ID I created for my new app, has the same Bundle Seed ID as my old app which is already on the App Store. Is this a problem? Is this why Xcode offers me the wrong app to choose?

什么会导致这个问题?为什么 Xcode 归档验证器不会检测到我的应用程序已经在应用商店中并提供它以供选择以进行归档验证?

What can cause this problem? Why would Xcode archive validator not detect my app that is already on the app store and offer it for selection for archive validation?

我没有更改我的应用程序或捆绑包 ID 或任何内容.我上次所做的只是将一个新应用添加到 iTunes Connect,但它具有不同的应用 ID/捆绑 ID.

I did not change my app or bundle ID or anything. All I did the last time was add a new app to iTunes connect but it has a different app ID / bundle ID.

非常感谢帮助.谢谢各位.

Help greatly appreciated. Thank you guys.

推荐答案

我找到了原因.创建新应用程序时,我转到 iTunes 连接并添加新的应用程序 ID 和应用程序,然后单击准备上传二进制文件".Xcode 可以识别应用程序并提交它的强制性步骤.

I figured out why. When I created my new app, I went to iTunes connect and added a new App ID and Application, and then clicked "Ready to upload binary". The mandatory step so Xcode can recognize the app and submit it.

所以这是很久以前的事了,我完全忘记了我这样做了.然后我很惊讶为什么 Xcode 只在验证器中列出了一个错误的应用程序可供选择.当然,Xcode 只提供 iTunes 连接中标记为准备上传二进制文件"的内容,这只是我的新应用.

So this was a long time ago and I totally forgot that I did this. And then I was surprised why Xcode only lists a wrong app to choose in the validator. Of course Xcode only offers what is in iTunes connect marked as "Ready for upload binary" and this was only my new app.

现在我去那里并为我的旧应用程序的新版本和 VOILLA 单击准备上传二进制文件".Xcode 提供.

Now I went there and clicked "Ready to upload binary" for my new version of old app, and VOILLA. Xcode offers it.

所以:简单的错误,很头疼.希望对处于相同情况的其他人有所帮助.

So: Simple mistake, big headache. Hope it will be helpful for someone else in same situation.

这篇关于如果 Xcode Archiving Utility 显示错误的应用程序进行验证,该怎么办?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆