Skip to content

Build and distribute project

  1. Update Project Options: Right-click on your iOS project and select “Options”

  2. iOS Build Settings:

    • Set the appropriate architectures for your target devices
    • Configure signing identity and provisioning profile
    • Set the appropriate deployment target
  3. Linker Settings:

    • Add the following to Additional mtouch arguments:
    -gcc_flags "-L${ProjectDir}/AppSealingSDK/Libraries -lStaticAppSec"

    For Debug builds:

    -gcc_flags "-L${ProjectDir}/AppSealingSDK/Libraries -lStaticAppSec_Debug"
  1. Select Release configuration for App Store distribution
  2. Choose your target device or “Generic Device”
  3. Build the project using Build > Build All
  1. Once the build is successful, create an archive:

    • Go to Build > Archive for Publishing
    • This will create an IPA file for distribution
  2. Generate App Integrity Snapshot:

    • Navigate to your project directory in Terminal
    • Run the generate_hash script:
    Terminal window
    $ chmod +x AppSealingSDK/Tools/*
    $ AppSealingSDK/Tools/generate_hash path/to/your/app.ipa
  3. Upload to App Store:

    • Use Application Loader or Transporter to upload the processed IPA
    • Submit for review through App Store Connect
  • Debug vs Release: AppSealing security features are disabled in Debug mode for development convenience
  • App Store Requirement: The generate_hash step is mandatory for App Store and TestFlight distribution
  • Bundle ID Verification: Ensure your bundle ID matches the one registered with AppSealing SDK