Hi All I am asking a solution to project my application is stolen by re-compile source or something like that. Is there any way to verify Developer certificate or Profile to make sure that the App is installed from correct Developer account?
I saw that we can receive some useful information from embedded.mobileprovision
. However, it looks this file does not exist when we install app from AppStore.
I saw that we can receive some useful information from
embedded.mobileprovision
. However, it looks this file does not exist when we install app from AppStore.
That’s correct. A profile is not needed when deployed via the App Store because your app has been re-signed by Apple. Remember that a provisioning profile is only necessary to allow third-party code to run, and the App Store applies all the necessary checks before it re-signs your app. See TN3125 Inside Code Signing: Provisioning Profiles for more background on this.
Is there any way to verify Developer certificate … to make sure that the App is installed from correct Developer account?
Not in any supported fashion.
I am asking a solution to project my application is stolen by re-compile source or something like that.
You need to think more clearly about the thread model here. If someone is re-compiling your app from stolen source there’s no point adding code to check the app’s integrity because the attacker will just remove that check. They have your source code after all.
With regards other threats, “something like that” is kinda vague. Most folks who ask about that are worried about the app being run on jailbroken devices devices with unauthorised modifications. What we recommend in that case is App Attest. See Establishing your app’s integrity.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"