开发者

Getting code signing identity on runtime?

开发者 https://www.devze.com 2023-01-12 08:26 出处:网络
Is it possible to get 开发者_开发知识库code signing identity information at runtime ? ThanksYes, you can get a lot of code signing information at run-time from the file embedded.mobileprovision:

Is it possible to get 开发者_开发知识库code signing identity information at runtime ?

Thanks


Yes, you can get a lot of code signing information at run-time from the file embedded.mobileprovision:

[[NSBundle mainBundle] pathForResource:@"embedded.mobileprovision" ofType:nil]

There's a discussion about it in How to determine at run-time if app is for development, app store or ad hoc distribution?

It's not that easy to read the file because it is a DER-encoded ASN.1 file.


via .mobileprovision Files Structure and Reading — the application binary should still be signed, even with the embedded.mobileprovision stripped in the apps tore.

0

精彩评论

暂无评论...
验证码 换一张
取 消