开发者

Getting code signing identity on runtime?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜