xcode iOS 配置文件在 6 天后到期

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/46284022/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 10:15:00  来源:igfitidea点击:

iOS Provisioning profile expiring after 6 days

iosiphonexcodeprovisioning-profile

提问by Madrit Kacabumi

I'm new to iOS development as i currently develop only for android. I run into a problem and i have been searching a lot for a possible solution. I would like to make a personal iOS app (something like a personal note app or a personal reminder app etc) and well i made it . The only problem was that the provisioning profile lasts only 6 days (i think) and the app stops working as i need to repair the Provisioning profile. Now as this app is personal (no need to distribuite anywhere and i don't have a paid developer account ) is there a possible way to install it forever into my iPhone without expiration as i can't use my company development profile for signin it. any type of help would be appreciated . Thanks in advance and have a nice day !

我是 iOS 开发的新手,因为我目前只为 android 开发。我遇到了一个问题,我一直在寻找可能的解决方案。我想做一个个人的 iOS 应用程序(类似于个人笔记应用程序或个人提醒应用程序等),我做到了。唯一的问题是配置文件仅持续 6 天(我认为)并且应用程序停止工作,因为我需要修复配置文件。现在,由于此应用程序是个人应用程序(无需在任何地方分发,而且我没有付费开发者帐户),是否有可能将其永久安装到我的 iPhone 中而不会过期,因为我无法使用我的公司开发配置文件登录它. 任何类型的帮助将不胜感激。提前致谢,祝您有美好的一天!

回答by WDUK

I'm afraid it's not possible to have an app installed 'forever' on your device if it's not installed via the App Store, it will need 're-provisioning' occasionally in order to still be valid.

如果应用程序不是通过 App Store 安装的,恐怕不可能在您的设备上“永远”安装应用程序,它偶尔需要“重新配置”才能仍然有效。

The reason your app expires after 6 days is that this is the time limit on applications deployed to devices using Apple's free developer program. There are also a few other limitations relating to capabilities enabled via entitlements.

您的应用程序在 6 天后过期的原因是,这是使用 Apple 免费开发人员计划部署到设备的应用程序的时间限制。还有一些与通过权利启用的功能相关的其他限制。

The paid developer program increases this time limit to 1 year. Other distribution methods (such as Enterprise distribution) also have similar time limits.

付费开发者计划将此时间限制增加到 1 年。其他分发方式(如企业分发)也有类似的时间限制。