xcode 如果我的配置文件过期,应用程序会继续工作吗?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4740382/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Will an app continue to work if my provisioning profile expires?
提问by jcpennypincher
I have an app that is loaded onto one of my development phones. The provisioning profile that was used for this app will expire in a couple of days. So, after the provisioning profile expires will the app will cease to function? or does the provisioning profile expiration only affect building and installing the app on the device?
我有一个应用程序加载到我的其中一部开发手机上。用于此应用程序的配置文件将在几天后过期。那么,在配置文件过期后,应用程序会停止运行吗?还是配置文件到期只影响在设备上构建和安装应用程序?
回答by davbryn
Once the profile expires you will be unable to launch the app. You can go to the Provisioning Portal ( http://developer.apple.com/) on the apple site and renew the provisioning license - once an updated provisioning license is installed on the phone the app will function again (i.e you won't need to do a rebuild).
一旦配置文件过期,您将无法启动该应用程序。您可以访问苹果网站上的 Provisioning Portal ( http://developer.apple.com/) 并更新配置许可证 - 一旦在手机上安装了更新的配置许可证,该应用程序将再次运行(即您不会需要重建)。
回答by hotpaw2
There are reports that if you delete all the expired provisioning profiles from the device, a previously running app installed using one of those expired profiles might still continue to launch on that device, but I haven't had a chance to test this on a recent OS release.
有报告称,如果您从设备中删除所有过期的配置文件,使用这些过期配置文件之一安装的以前运行的应用程序可能仍会继续在该设备上启动,但我没有机会在最近的测试中对此进行测试操作系统发布。
A non-expired profile with an appropriate Developer and app ID on the device (even if not the one used to install the app) may or may not be required.
可能需要也可能不需要在设备上具有适当的开发者和应用程序 ID 的未过期配置文件(即使不是用于安装应用程序的配置文件)。
回答by TomSwift
The app will cease to function. It will launch then exit immediately.
该应用程序将停止运行。它将启动然后立即退出。
回答by David Knight
As davbryn says you won't be able to launch the app, except you do not need to go to the provisioning portal as XCode should take care of things automatically these days.
正如 davbryn 所说,您将无法启动该应用程序,除非您不需要转到配置门户,因为 XCode 现在应该会自动处理这些事情。