Apps that require entitlements

If your app requires specific entitlements, follow these instructions to ensure that ASoC does not overwrite them, otherwise the scan will fail.

About this task

When scanning, ASoC replaces the app’s embedded provisioning profile with a wildcard profile, and re-signs the app. This results in the removal of certain entitlements (such as Beta-Reports-Active, App Group, Associated Domains, Game Center, HealthKit, HomeKit, Wireless Accessory Configuration, In-App Purchase, Inter-App Audio, Apple Pay, Push Notifications, and VPN Configuration & Control). If your app requires these entitlements in order to function correctly, follow these steps to ensure that ASoC starts scanning without replacing the entitlements and signature.

Procedure

  1. Embed the iOS Analyzer framework in your app:
    1. Download the framework from: https://appscan.bluemix.net/api/v2/Tools/IOSAnalyzerFramework
    2. Unzip the file, and verify that it contains a folder named iOSAnalyzerFramework.framework
    3. Open the project in Xcode.
    4. Go to the app target's General configuration page.
    5. Add the iOSAnalyzerFramework.framework folder to the Embedded Binaries section by clicking the Add (+) icon, or by dragging-and-dropping it fromFinder.

      The framework is automatically added to the Linked Frameworks and Libraries section as well.

      Embedded Binaries and Linked Frameworks sections

  2. Create an Enterprise Deployment version of the app for all devices:
    1. In the Product menu, select Archive.
      Note: If the "Archive" option is disabled, make sure to choose an iOS Device instead of a simulator in the Run Destination menu.
    2. Choose Export.
    3. Select Save for Enterprise Deployment, and then click Next.

      For more details, refer to: https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/DistributingEnterpriseProgramApps/DistributingEnterpriseProgramApps.html

    4. In Device Support, select Export one app for all compatible devices, then click Next.
    5. Select your export location and click Export.