尝试使用Application Loader上传应用程序时出现错误ITMS-9000

时间:2023-01-12 17:46:14

When I try to upload an application to iTunes Connect using application loader, I get these errors:

当我尝试使用应用程序加载器将应用程序上传到iTunes Connect时,我收到以下错误:

Apple's web service operation was not successful

Apple的Web服务运营并不成功

Unable to authenticate the package: (app id).itmsp

无法验证包:(app id).itmsp

ERROR ITMS-9000: "Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, value 'development' for key 'aps-environment' in 'Payload/brainademy.app/brainademy' is not supported." at SoftwareAssets/SoftwareAsset (MZItmspSoftwareAssetPackage)

错误ITMS-9000:“无效的代码签名权利。您的应用程序包的签名包含iOS不支持的代码签名权利。具体而言,'Payload / brainademy.app / brainademy'中关键'aps-environment'的值'开发'是不支持。”在SoftwareAssets / SoftwareAsset(MZItmspSoftwareAssetPackage)

This has been happening for about 36 hours, and Apple support tells me to try again in 30 minutes (which obviously doesn't work).

这已经发生了大约36个小时,Apple支持告诉我在30分钟内再试一次(这显然不起作用)。

I'm using the latest versions of both Xcode and application loader, I'm building using a physical iPhone, and I have the archive set to release. When I click Activity... Everything works fine, and then I see:

我正在使用Xcode和应用程序加载器的最新版本,我正在使用物理iPhone进行构建,并且我将要发布的存档集。当我点击活动...一切正常,然后我看到:

ERROR ITMS-9000: "Invalid Code Signing Entitlement...

错误ITMS-9000:“无效的代码签名权利......

Then everything works fine again, until I see

然后一切正常,直到我看到

An error occurred talking to the iTunes Store

与iTunes Store通话时出错

5 个解决方案

#1


15  

Your app states that you are using a Push Development entitlement. Only (Push) Production entitlements may be used to send an app to Apple. Review your certificates (inside developer.apple.com - certificates) and locate a certificate that states: 尝试使用Application Loader上传应用程序时出现错误ITMS-9000

您的应用表明您正在使用推送开发权利。仅限(推送)生产权利可用于向Apple发送应用程序。检查您的证书(在developer.apple.com - 证书内)并找到证明:

If you do not need that certificate, just click on the certificate and revoke it. If you need the development certificate, it means that what you need is to generate the Production APNS certificate.

如果您不需要该证书,只需单击证书并撤消它。如果您需要开发证书,则意味着您需要生成生产APNS证书。

#2


75  

I got one because my XCode loves to play a joke on me with Code Signing Identity section in Build Settings. For Release it should be iOS Distribution, not iOS Developer. Sometimes it resets.

我有一个,因为我的XCode喜欢在Build Settings中使用Code Signing Identity部分对我开玩笑。对于Release,它应该是iOS Distribution,而不是iOS Developer。有时会重置。

尝试使用Application Loader上传应用程序时出现错误ITMS-9000

#3


3  

For anyone else that may be getting this error:

对于其他可能收到此错误的人:

in Target > Info I changed my "Executable File" name and it threw this error. Just leaving it alone I find is best.

在目标>信息我改变了我的“可执行文件”名称,它抛出了这个错误。只是不管它我觉得最好。

#4


1  

This just happened to me. The problem was simply that my production provisioning profile had expired, and XCode for some reason decided to use the development profile. Regenerating a new production provisioning profile fixed the problem.

这恰好发生在我身上。问题只是我的生产配置文件已过期,而XCode出于某种原因决定使用开发配置文件。重新生成新的生产配置文件修复了该问题。

#5


0  

With newer versions of Xcode, this is no longer a problem

使用较新版本的Xcode,这不再是一个问题


lnjuanj found the answer, yet there's also something else like this that could happen when your exporting an application that happened to me multiple times.

lnjuanj找到了答案,但是当您导出多次发生在我身上的应用程序时,还会发生类似这样的事情。

When your exporting your archive, make sure to check save as Enterprise Ad Hoc Deployment, not Submit to iOS app store, which is the default. Then, open up Application loader, and select the .ipa file that XCode generated.

导出存档时,请确保选中“另存为企业临时部署”,而不是“提交到iOS应用商店”,这是默认设置。然后,打开Application loader,并选择XCode生成的.ipa文件。

#1


15  

Your app states that you are using a Push Development entitlement. Only (Push) Production entitlements may be used to send an app to Apple. Review your certificates (inside developer.apple.com - certificates) and locate a certificate that states: 尝试使用Application Loader上传应用程序时出现错误ITMS-9000

您的应用表明您正在使用推送开发权利。仅限(推送)生产权利可用于向Apple发送应用程序。检查您的证书(在developer.apple.com - 证书内)并找到证明:

If you do not need that certificate, just click on the certificate and revoke it. If you need the development certificate, it means that what you need is to generate the Production APNS certificate.

如果您不需要该证书,只需单击证书并撤消它。如果您需要开发证书,则意味着您需要生成生产APNS证书。

#2


75  

I got one because my XCode loves to play a joke on me with Code Signing Identity section in Build Settings. For Release it should be iOS Distribution, not iOS Developer. Sometimes it resets.

我有一个,因为我的XCode喜欢在Build Settings中使用Code Signing Identity部分对我开玩笑。对于Release,它应该是iOS Distribution,而不是iOS Developer。有时会重置。

尝试使用Application Loader上传应用程序时出现错误ITMS-9000

#3


3  

For anyone else that may be getting this error:

对于其他可能收到此错误的人:

in Target > Info I changed my "Executable File" name and it threw this error. Just leaving it alone I find is best.

在目标>信息我改变了我的“可执行文件”名称,它抛出了这个错误。只是不管它我觉得最好。

#4


1  

This just happened to me. The problem was simply that my production provisioning profile had expired, and XCode for some reason decided to use the development profile. Regenerating a new production provisioning profile fixed the problem.

这恰好发生在我身上。问题只是我的生产配置文件已过期,而XCode出于某种原因决定使用开发配置文件。重新生成新的生产配置文件修复了该问题。

#5


0  

With newer versions of Xcode, this is no longer a problem

使用较新版本的Xcode,这不再是一个问题


lnjuanj found the answer, yet there's also something else like this that could happen when your exporting an application that happened to me multiple times.

lnjuanj找到了答案,但是当您导出多次发生在我身上的应用程序时,还会发生类似这样的事情。

When your exporting your archive, make sure to check save as Enterprise Ad Hoc Deployment, not Submit to iOS app store, which is the default. Then, open up Application loader, and select the .ipa file that XCode generated.

导出存档时,请确保选中“另存为企业临时部署”,而不是“提交到iOS应用商店”,这是默认设置。然后,打开Application loader,并选择XCode生成的.ipa文件。