在Apple中更新免费配置文件

时间:2023-01-13 00:11:16

Last week I used the free provisioning profile method to install my app on my iphone. it's really important that it works on thursday morning, but since the free provisioning thing is only valid for a week, it will run out the night before thursday. and i don't have access to my other computer within wednesday night and thursday morning, so I need to renew my provisioning profile in advance. is that possible? i never renewed it so I have no idea how that's supposed to work. also if i would renew it, do i have to install the app again?

上周我使用免费配置文件方法在我的iphone上安装我的应用程序。它是非常重要的,它在星期四早上工作,但由于免费配置的东西只有一个星期有效,它将在星期四晚上用完。我无法在周三晚上和周四早*问我的其他计算机,所以我需要提前更新我的配置文件。那可能吗?我从未更新它,所以我不知道它应该如何工作。如果我要更新它,我是否必须再次安装该应用程序?

3 个解决方案

#1


0  

According to this documentation about the free provisioning profile's limitations, we know that:

根据有关免费配置文件限制的文档,我们知道:

Provisioning Profiles created in this way will expire after one week

以这种方式创建的供应配置文件将在一周后过期

After a week your app can't be opened, since the provisioning profile is expired. You have to connect your device to Mac, then rebuild it. This is the way what you called renew Free Provisioning Profile.

一周后,您的应用无法打开,因为配置文件已过期。您必须将设备连接到Mac,然后重建它。这就是您所谓的续订免费配置文件的方式。

#2


0  

So apparently the only way to get a new free provisioning profile was to change the bundle identifier (changed the name). and a "new" app was deployed on my phone with a new one week provisioning profile. ( i will keep the old one though and tell you later if it really crashed or if both worked.)

显然,获得新的免费配置文件的唯一方法是更改​​包标识符(更改名称)。并在我的手机上部署了一个“新”应用程序,新的一周配置文件。 (我会保留旧的,但稍后会告诉你它是否真的崩溃了,或者两者是否都有效。)

#3


0  

With the free profile, you cannot manage it through the Apple Dev Portal like you would if you have a paid account.

使用免费配置文件,您无法通过Apple Dev Portal管理它,就像您拥有付费帐户一样。

I am not sure how you can trigger the renewal manually (I suppose if you were to delete the profile, Xcode might try to generate a new one as opposed to downloading the existing one from Apple's dev site). You can find the provisioning profiles installed on your Mac here: https://*.com/a/45642752/3708242

我不确定如何手动触发续订(我想如果您要删除配置文件,Xcode可能会尝试生成一个新的,而不是从Apple的开发站点下载现有的配置文件)。您可以在此处找到Mac上安装的配置文件:https://*.com/a/45642752/3708242

If you really only care about Thursday mornings, I would schedule your build timing to work with that. always run the build on Monday, and it should only expire on Monday. I do not have a free account, so I can't confirm this, but I believe the Xcode always generates a new profile when you build with a free account, so when you build to a device, that build will always be able to run for 7 days. I could be wrong, but it would be simple to verify.

如果你真的只关心星期四早上,我会安排你的构建时间与之合作。总是在星期一运行构建,它应该只在星期一到期。我没有免费帐户,所以我无法确认这一点,但我相信当您使用免费帐户构建时,Xcode始终会生成新的配置文件,因此当您构建到设备时,该构建将始终能够运行为期7天。我可能错了,但验证起来很简单。

The key for you is to not run a build on Wednesday night.

关键是你不要在周三晚上运行构建。

To answer your other question, the only way for you to get the new provisioning profile on the device is by doing a build from Xcode. Paid accounts have other options, but the free account is pretty limited.

要回答您的其他问题,您在设备上获取新配置文件的唯一方法是从Xcode进行构建。付费帐户还有其他选项,但免费帐户非常有限。

#1


0  

According to this documentation about the free provisioning profile's limitations, we know that:

根据有关免费配置文件限制的文档,我们知道:

Provisioning Profiles created in this way will expire after one week

以这种方式创建的供应配置文件将在一周后过期

After a week your app can't be opened, since the provisioning profile is expired. You have to connect your device to Mac, then rebuild it. This is the way what you called renew Free Provisioning Profile.

一周后,您的应用无法打开,因为配置文件已过期。您必须将设备连接到Mac,然后重建它。这就是您所谓的续订免费配置文件的方式。

#2


0  

So apparently the only way to get a new free provisioning profile was to change the bundle identifier (changed the name). and a "new" app was deployed on my phone with a new one week provisioning profile. ( i will keep the old one though and tell you later if it really crashed or if both worked.)

显然,获得新的免费配置文件的唯一方法是更改​​包标识符(更改名称)。并在我的手机上部署了一个“新”应用程序,新的一周配置文件。 (我会保留旧的,但稍后会告诉你它是否真的崩溃了,或者两者是否都有效。)

#3


0  

With the free profile, you cannot manage it through the Apple Dev Portal like you would if you have a paid account.

使用免费配置文件,您无法通过Apple Dev Portal管理它,就像您拥有付费帐户一样。

I am not sure how you can trigger the renewal manually (I suppose if you were to delete the profile, Xcode might try to generate a new one as opposed to downloading the existing one from Apple's dev site). You can find the provisioning profiles installed on your Mac here: https://*.com/a/45642752/3708242

我不确定如何手动触发续订(我想如果您要删除配置文件,Xcode可能会尝试生成一个新的,而不是从Apple的开发站点下载现有的配置文件)。您可以在此处找到Mac上安装的配置文件:https://*.com/a/45642752/3708242

If you really only care about Thursday mornings, I would schedule your build timing to work with that. always run the build on Monday, and it should only expire on Monday. I do not have a free account, so I can't confirm this, but I believe the Xcode always generates a new profile when you build with a free account, so when you build to a device, that build will always be able to run for 7 days. I could be wrong, but it would be simple to verify.

如果你真的只关心星期四早上,我会安排你的构建时间与之合作。总是在星期一运行构建,它应该只在星期一到期。我没有免费帐户,所以我无法确认这一点,但我相信当您使用免费帐户构建时,Xcode始终会生成新的配置文件,因此当您构建到设备时,该构建将始终能够运行为期7天。我可能错了,但验证起来很简单。

The key for you is to not run a build on Wednesday night.

关键是你不要在周三晚上运行构建。

To answer your other question, the only way for you to get the new provisioning profile on the device is by doing a build from Xcode. Paid accounts have other options, but the free account is pretty limited.

要回答您的其他问题,您在设备上获取新配置文件的唯一方法是从Xcode进行构建。付费帐户还有其他选项,但免费帐户非常有限。