配置配置文件无效,但证书和应用程序ID有效,原因是什么 [英] Provisioning Profiles was invalid but Certificate and App ID are valid, why is that

查看:1202
本文介绍了配置配置文件无效,但证书和应用程序ID有效,原因是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的设置配置文件突然无效。
我登录developer.apple.com几天前,一切都很好。今天我再次登录,并惊讶地发现,我的开发配置文件和分布配置文件是无效的。证书和应用程序ID是有效的,我没有撤销任何他们,他们没有过期。那么为什么我的个人资料变得无效?

My provisioning profile suddenly became invalid. I logged in developer.apple.com couples of days ago and everything was fine. Today I logged in again and was surprised to find that both of my development profile and distribution profile were invalid. The certificates and App ID are valid, I did not revoke any of them and they are not expired at all. So why my profile became invalid ?

我知道我可以重新生成个人资料,但因为我做企业分发而不是应用商店分发。我担心重新生成配置文件可能会影响当前用户。另外,我真的需要找出原因,以防止它再次发生。

I know I can re-generate profile but because I do enterprises distribution not app store distribution. I am fear that regenerating profile may affect current users. Also I really need to figure out the reason to prevent it from happening again.

任何想法?谢谢!

更新:首先,这并不是因为个人资料已过期,其截止日期是2015年底。

Updated: First of all, it is not because the profiles were expired, their expiration date is at the end of 2015.

第二,我在早上重新生成了开发配置文件,但我只是检查了它,发现配置文件再次无效!奇怪的事情必须发生,我已经提交支持票,苹果,等待他们的反应。

Second, I did re-generate development profile at morning but I just checked it and found the profile was invalid again! Something weird must happen and I have submitted a support ticket to apple and wait for their response.

推荐答案

我很想知道苹果支持说什么。根据苹果( https://developer.apple.com/library/ios /qa/qa1878/_index.html ):

I'm curious to see what Apple support says. According to Apple (https://developer.apple.com/library/ios/qa/qa1878/_index.html) :


问:什么原因导致配置文件无效状态?如何解决它,如何防止它?

Q: What causes the provisioning profile "Invalid" status? How do I resolve it, and how do I prevent it?

A:配置文件无效状态是由配置文件关联的证书或应用程序ID的更改引起的。每当应用程序ID或证书更改时,与其关联的所有配置文件都会标记为无效。这不适用于Xcode的团队配置文件,但适用于Xcode不管理的所有配置文件,特别是自定义开发配置文件和分发配置文件。

A: The provisioning profile invalid status is caused by changes to the profile’s associated certificate or App ID. Any time an App ID or certificate changes, all profiles that are associated to it are marked Invalid. This does not apply to Xcode's team profiles, but applies to all profiles that Xcode does not manage, specifically, custom development profiles and distribution profiles. This document explains the causes in detail and provides steps to resolve and avoid the profile invalid status.

一种可能性是您修改了应用程式,因此本文档详细解释了原因并提供了解决和避免配置文件无效状态的步骤。通过打开或关闭Xcode中的服务来启用/禁用服务:

One possibility is that you modified the app id by turning on or off services in Xcode:


避免

Avoidance

开始管理应用程序ID上的服务(通过Xcode>
目标>能力选项卡),无效的配置配置文件成为
,与启用或禁用目标功能一样简单。请记住
每次应用程序ID相对于其启用的服务更改,
附加到该ID的所有配置文件将无效。

Since Xcode started managing services on App IDs (through the Xcode > Target > Capabilities tab), Invalidating provisioning profiles became as easy as enabling or disabling a target capability. Remember that every time the App ID changes with respect to its enabled services, all profiles attached to that ID become invalid.

希望这有帮助。

这篇关于配置配置文件无效,但证书和应用程序ID有效,原因是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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