简体   繁体   English

如何设置IPA文件的有效期?

[英]How to set expiry date to IPA file?

I generated iOS adoc IPA file. 我生成了iOS adoc IPA文件。 I have ipa and plist file in my local system. 我的本地系统中有ipa和plist文件。 I want to I set expiry date to generated IPA. 我想为生成的IPA设置到期日期。

I can able to see my working date: 我可以看到我的工作日期:

unzip -q MyApp.ipa
codesign -d --extract-certificates Payload/*.app
openssl x509 -inform DER -in codesign0 -noout -nameopt -oneline -dates

Note: In the android application we can able to set expiry date. 注意:在android应用程序中,我们可以设置有效期限。 like that is there any option through terminal. 像那样,通过终端有任何选择。

The IPA will get expire when your signed certificate got invalid. 当您的签名证书无效时,IPA将过期。 You cannot modify the signed certificate expiry date. 您无法修改签名证书的到期日期。

What you can do is, use third-party services to provide the IPA file such as diawi or betafamily to provide the build. 您可以做的是,使用第三方服务来提供IPA文件(例如diawibetafamily)来提供构建。 They supports custom expiry date settings for the installation url within the signed certificate validation period. 它们支持在签名证书验证期内针对安装URL的自定义到期日期设置。

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

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