Check if an iPA is from the App Store

You may want to use certain functions such as image injection. However, for apps downloaded from the Apple App Store, instrumentation is not possible.

To determine whether an app is from the App Store: 

  1. Extract the .ipa.

  2. Look for the embedded.mobileprovision file. If it exists, it will be located in the same folder as the info.plist file.

    If the file exists, the .ipa file is not from the Apple App Store.