简体   繁体   English

如何更新已过期的配置文件(在testflight中)

[英]How to update provisioning profile that has expired (in testflight)

We have an ios app managed through testflight which has an expired provisioning profile. 我们有一个通过testflight管理的ios应用程序,它具有过期的配置文件。 We have generated a new profile in the apple developer portal, downloaded it, and uploaded to testflight, under the specific build (using permissions, add/update profile.) The uploaded profile is saved, and appears in a green notification in testflight. 我们在苹果开发者门户网站中生成了一个新的配置文件,下载了它,并在特定版本下使用权限,添加/更新配置文件上传到testflight。上传的配置文件已保存,并显示在testflight的绿色通知中。 However, when trying to open the app from a device, a message is shown stating that the provisioning profile for this build has expired. 但是,尝试从设备打开应用程序时,会显示一条消息,指出此版本的配置文件已过期。

Is it necessary to re-compile the app and upload a new build to testflight? 是否有必要重新编译应用程序并将新版本上传到testflight? Or is it possible to somehow have the app utilize the new provisioning profile without a new build? 或者是否有可能让应用程序在没有新构建的情况下使用新的配置文件?

It is possible to do this without recompiling. 可以在不重新编译的情况下执行此操作。 Not directly through Testflight though. 不过直接通过Testflight。

All you need is the old build (.ipa) and check this answer: https://stackoverflow.com/a/10905855/3619504 . 您只需要旧版本(.ipa)并查看以下答案: https//stackoverflow.com/a/10905855/3619504 It shows everything you may need. 它显示了您可能需要的一切。 When you download the scripts sources, there's an example in Readme.md file on how to use ipa_sign script. 下载脚本源时,Readme.md文件中有一个关于如何使用ipa_sign脚本的示例。

After resigning you will be able to reupload the newly signed build to Testflight. 辞职后,您将能够将新签名的构建重新上载到Testflight。

是的,有必要不幸地重新编译。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM