CokePokes
CokePokes

Reputation: 991

How to detect if your app was "side-loaded" with a different certificate?

Is there a way to detect if your app was sideloaded with a different (free) dev certificate on iOS via code?

Upvotes: 0

Views: 468

Answers (1)

CRD
CRD

Reputation: 53010

An app can check the certificate it was signed with, the certificate details should be enough for you to determine it was load-loaded. E.g. if you normally sign your apps with a particular certificate and that isn't the one app finds then you have been side-loaded.

The code to do the checking is not long but you do need to understand what you are doing and write the appropriate custom checks for your app. Try starting with Apple's Code Signing Guide.

HTH

Upvotes: 2

Related Questions