将新的配置文件添加到现有的TestFlight构建中

时间:2023-01-16 20:23:32

So I've been using TestFlight with an app that's in development. And up until now, the Beta users haven't been changing that quickly, so it's been pretty easy to just add a new device to the provisioning file and post a new build whenever needed. But, we've recently started to quickly expand the pool of Beta users and posting a new build to TestFlight every time we want to add a new user doesn't seem like the ideal solution any longer. So I know they have the feature which lets you upload a new profile with a new device(s) in the new profile, which I'm trying to use. So at that point I then have the new user attempt to install the app and the TestFlight WebClip asks the user to install the new profile (since it's no longer embedded in the app like with the initial build/provisioning file). The user successfully installs the new profile but when going back to the TestFlight app/webclip, just repeatedly gets asked to install the profile again without being able to actually install the app.

所以我一直在使用TestFlight和正在开发的应用程序。到目前为止,Beta用户并未快速更改,因此只需将新设备添加到配置文件并在需要时发布新版本即可。但是,我们最近开始快速扩展Beta用户群并在每次我们想要添加新用户时向TestFlight发布新版本似乎不再是理想的解决方案。所以我知道他们有这个功能,可以让你在新配置文件中上传一个新设备的新配置文件,我正在尝试使用它。所以在那时我让新用户尝试安装应用程序,TestFlight WebClip要求用户安装新的配置文件(因为它不再像初始构建/配置文件那样嵌入到应用程序中)。用户成功安装了新配置文件,但在返回TestFlight应用程序/ webclip时,只是反复要求再次安装配置文件而无法实际安装应用程序。

OK, a complete walk through of the details:

好的,完整的细节:

  • I build an app with the testUsers1.mobileprovision file and upload it to TestFlight.

    我使用testUsers1.mobileprovision文件构建一个应用程序并将其上传到TestFlight。

  • At some point later I add UserX to a new mobile provisioning file, testUsers2.mobileprovision.

    稍后我将UserX添加到新的移动配置文件testUsers2.mobileprovision。

  • Under the permissions section of the old build, I use "Update profile" to load testUsers2 up to TestFlight.

    在旧版本的权限部分下,我使用“更新配置文件”将testUsers2加载到TestFlight。

  • UserX then starts up the TestFlight webclip/app on their device.

    然后,UserX在其设备上启动TestFlight webclip / app。

  • Rather than installing/downloading the app, TestFlight asks them to install the new testUsers2 provisioning file and the user does install the file.

    TestFlight不是安装/下载应用程序,而是要求他们安装新的testUsers2配置文件,用户确实安装了该文件。

  • UserX then restarts TestFlight on the device and it again asks them to install the new profile instead of actually installing/downloading the app.

    然后UserX在设备上重新启动TestFlight,它再次要求他们安装新配置文件,而不是实际安装/下载应用程序。

I've written to TestFlight asking for any ideas of what could be going wrong with this, but haven't received an answer yet. Anyone see what I'm doing wrong here? Or am I hitting a bug of some sort in the TestFlight Webclip on the device?

我写信给TestFlight,询问有关这可能出错的任何想法,但尚未得到答案。谁知道我在这里做错了什么?或者我在设备上的TestFlight Webclip中遇到某种类型的错误?

Update: I've traded a couple of emails with TestFlight and they've replied with "While we troubleshoot this issue, the best thing we can recommend is to re-upload the same build with the new provisioning profile associated with it. It will not create a new version, but will update the most current version in TestFlight."

更新:我已经使用TestFlight交换了几封电子邮件,他们回复说:“我们在解决此问题时,我们建议的最好的方法是使用与之关联的新配置文件重新上传相同的版本。不创建新版本,但会更新TestFlight中的最新版本。“

So, hopefully they'll have an answer shortly.

所以,希望他们很快就能得到答案。

Thanks,

Will

2 个解决方案

#1


17  

This is not possible anymore since the launch of iOS 8, check their support page Adding more testers to a build?:

自从iOS 8发布以来,这是不可能的,检查他们的支持页面为构建添加更多的测试人员?:

Due to the changes in iOS 8, it's no longer possible for testers to install provisioning profiles from the iOS Settings app. App developers will now need to rebuild their Ad Hoc beta apps to update the embedded provisioning profile in the app's IPA file.

由于iOS 8中的更改,测试人员无法再从iOS设置应用程序安装配置文件。应用程序开发人员现在需要重建他们的Ad Hoc beta应用程序,以更新应用程序的IPA文件中的嵌入式配置文件。

You will need to add a new build with the updated provisioning profile.

您需要使用更新的配置文件添加新版本。

#2


15  

You don't need to create a new build each time the provisioning profile changes - all you have to do is download the updated provisioning profile from the the Provising Portal, then go to the selected build's page on TestFlight, click "Permissions", then click "Update Profile" and select the new provisioning profile file.

每次配置文件更改时都不需要创建新的版本 - 您只需从Provising Portal下载更新的配置文件,然后转到TestFlight上的选定版本页面,单击“权限”,然后单击“更新配置文件”,然后选择新的配置文件。

The problem you described is probably not related to the build's provisioning profie, but the WebClip itself - try deleting it in Settings -> General -> Profiles -> TestFlight WebClip, and install it again.

您描述的问题可能与构建的配置profie无关,但WebClip本身 - 尝试在设置 - >常规 - >配置文件 - > TestFlight WebClip中删除它,然后重新安装。

#1


17  

This is not possible anymore since the launch of iOS 8, check their support page Adding more testers to a build?:

自从iOS 8发布以来,这是不可能的,检查他们的支持页面为构建添加更多的测试人员?:

Due to the changes in iOS 8, it's no longer possible for testers to install provisioning profiles from the iOS Settings app. App developers will now need to rebuild their Ad Hoc beta apps to update the embedded provisioning profile in the app's IPA file.

由于iOS 8中的更改,测试人员无法再从iOS设置应用程序安装配置文件。应用程序开发人员现在需要重建他们的Ad Hoc beta应用程序,以更新应用程序的IPA文件中的嵌入式配置文件。

You will need to add a new build with the updated provisioning profile.

您需要使用更新的配置文件添加新版本。

#2


15  

You don't need to create a new build each time the provisioning profile changes - all you have to do is download the updated provisioning profile from the the Provising Portal, then go to the selected build's page on TestFlight, click "Permissions", then click "Update Profile" and select the new provisioning profile file.

每次配置文件更改时都不需要创建新的版本 - 您只需从Provising Portal下载更新的配置文件,然后转到TestFlight上的选定版本页面,单击“权限”,然后单击“更新配置文件”,然后选择新的配置文件。

The problem you described is probably not related to the build's provisioning profie, but the WebClip itself - try deleting it in Settings -> General -> Profiles -> TestFlight WebClip, and install it again.

您描述的问题可能与构建的配置profie无关,但WebClip本身 - 尝试在设置 - >常规 - >配置文件 - > TestFlight WebClip中删除它,然后重新安装。