简体   繁体   English

如何延长我的配置证书对我的 iOS 应用程序的有效时间?

[英]How do I extend the amount of time my provisioning certificate is valid for my iOS app?

Background背景

I've written an iOS app which is for "Home Use" at this time.我已经编写了一个 iOS 应用程序,它现在是“家庭使用”的。 I have a locally provisioned certificate in XCode for my app so I can install it on my devices.我在 XCode 中为我的应用程序提供了本地配置的证书,因此我可以将其安装在我的设备上。 I've been running the app for 6 or 7 days on my local iPhone.我已经在本地 iPhone 上运行该应用程序 6 或 7 天了。

App No Longer Available应用不再可用

Today I got the error "App No Longer Available" when I try to run it.今天,当我尝试运行它时,出现错误“应用程序不再可用”。 I found the SO Entry that lists reason why this might be happening , but I know why.我找到了列出可能发生这种情况的原因的 SO 条目,但我知道原因。 I checked XCode and discovered that the provisioning cert only lasts 6 days.我检查了 XCode,发现配置证书仅持续 6 天。 So annoying!!很烦人!! 🤬 🤬

Provision App For Longer?提供应用程序更长时间?

However, I don't know how to provision the app for longer?但是,我不知道如何配置应用程序更长时间?

How do I set up the cert to last longer?如何设置证书以持续更长时间?

Can this only be done by having a full apple dev account?这只能通过拥有完整的苹果开发帐户来完成吗?
Really hope not.真希望不会。

xcode 配置

Finally found the definitive answer at: iOS App says "No longer Available" after my license had been expired?终于在我的许可证过期后找到了明确的答案:iOS App 说“不再可用”? (Though it is not the answer to the other question there.) (虽然这不是那里另一个问题的答案。)

Definitive Answer明确的答案

Without Official Apple Dev Account没有官方 Apple Dev 帐户

If you don't have an official Apple Dev Account provisioning will only last for 1 week.如果您没有正式的 Apple 开发帐户,则配置只能持续 1 周。 The app will expire every 7 days (or less in some cases -- depending upon the day the initial certificate was created).该应用程序将每 7 天到期(在某些情况下或更少 - 取决于创建初始证书的日期)。

With Official Apple Dev Account使用 Apple 官方开发帐户

You will be able to provision your app for up to 1 year.您将能够配置您的应用程序长达 1 年。

This is gleaned from other comments on the linked answer.这是从对链接答案的其他评论中收集的。 It may not be true any more.这可能不再是真的了。

############################### ###############################

Here's a partial answer that I got to through a lot of searching.这是我通过大量搜索得到的部分答案。

I found out that in XCode, you can go to :我发现在 XCode 中,你可以去:

XCode => Preferences... XCode => 首选项...

xcode 首选项

A dialog will appear and then you should choose the Accounts tab将出现一个对话框,然后您应该选择“ Accounts ”选项卡

帐户信息

There is a manage certificates button here.这里有一个管理证书按钮。 click it.点击它。

证书信息

You can click the small [+] button on the lower left but it is really unhelpful.您可以单击左下角的小 [+] 按钮,但这确实无济于事。

This adds a certificate, but notice that you cannot tell when the expiration date is and the Status column shows no information at all.这会添加一个证书,但请注意,您无法判断到期日期是什么时候,并且“ Status列根本不显示任何信息。

There is no way to select or edit any of the certs here.此处无法选择或编辑任何证书。

This is ridiculously complicated.这非常复杂。 I'm sure it is just to push devs to create an official apple account & pay the fee.我敢肯定这只是推动开发者创建一个官方苹果帐户并支付费用。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我的新iOS应用的证书,配置文件等 - certificate, provisioning profile etc for my new iOS app Fastlane,如何在 ios 应用程序中使用匹配来指示我的主机和共享扩展的 PROVISIONING_PROFILE_SPECIFIER? - Fastlane, how do I use match to indicate PROVISIONING_PROFILE_SPECIFIER for my host and share extension in ios app? 我应使用我的生产证书或预配置文件分发对我的应用程序签名吗? - Shall i sign my app with my Production Certificate or Provisioning Profile Distribution? 如果我在新证书(企业分发方法)上续订配置文件,我的应用程序会停止吗? - Does my app stop if I renew my provisioning profile on a new certificate (Enterprise Distribution Method)? 如何为我的iOS应用创建证书 - How to create a certificate for my iOS App 我可以使用新的证书和配置文件在iTunes Connect上添加我的应用程序的版本吗? - Can I use new certificate and provisioning profile to add version of my app on iTunes Connect? 我可以使用相同的证书和配置文件在iTunes Connect上添加我的应用程序版本吗? - Can I use same certificate and provisioning profile to add version of my app on iTunes Connect? 我可以将开发证书与即席分发配置文件一起使用来将我的应用分发给特定用户吗? - Can I use an Development certificate along with adhoc distribution provisioning profile to distribute my app to specific user? 如何使用Beta iOS在iPhone上运行我的应用程序? - How do I run my app on my iPhone with the Beta iOS? iOS设置:如何丢弃不需要的应用ID和设置配置文件? - iOS Provisioning: How do I discard unwanted app ids and provisioning profiles?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM