Documentation

Go to Portal Website

Include Simulator Architectures

PlanPlatformsMASVS
EnterpriseiOSNot mapped

Overview

Include Simulator Architectures is a build-time control that determines whether the MobileDefender framework includes iOS Simulator architectures (arm64 and x86_64 for Apple Silicon and Intel Mac simulators) in addition to the standard device arm64 architecture. When enabled, the framework can run in the Xcode Simulator, enabling quality assurance testing and continuous integration workflows without requiring physical devices.

By default, this control is disabled, and the framework includes only device architectures to minimize binary size and align with App Store requirements. This control is exclusively a build-time configuration and has no runtime security enforcement component.

When to Enable

Example Scenarios

When to Leave Disabled (Default)

Important Notes

Tradeoffs

AspectEnabledDisabled (Default)
Binary SizeLarger (~2.5× due to x86_64 + arm64 slices)Smaller (arm64 device-only)
Simulator Support✅ Runs in Xcode Simulator❌ Simulator crashes or fails to link
CI/CD Integration✅ Compatible with simulator-based test infrastructure⚠️ Requires physical device provisioning
App Store Submission⚠️ Xcode strips simulator slices (no impact on final IPA, but increases pre-strip size)✅ Minimal binary footprint
Security Controls⚠️ Some controls disabled or altered in simulator (e.g., no Secure Enclave, modified attestation logic)✅ Full security enforcement on real hardware
QA Workflow✅ Faster iteration with simulator testing⚠️ Requires device fleet management

How It Works

When you create an app build through the MobileDefender App Creator:

  1. Framework Selection: The build pipeline selects either:
  1. Integration: The selected framework variant is embedded into your IPA during the automated build process
  1. Code Signing: When simulator architectures are included, the build pipeline skips integrity hash generation (Tier 2 verification) because the host Xcode environment will re-codesign the binary, invalidating pre-computed hashes
  1. Deployment: The IPA can be:

Build Pipeline Details

The MobileDefender iOS module CI/CD pipeline produces both framework variants on every release:

Both variants are identical in functionality and security controls; the only difference is the set of CPU architectures included in the binary.

Default Behavior

Disabled (device-only). This ensures production-ready binaries with minimal size overhead and full compatibility with App Store distribution requirements.

Support Matrix

PlatformMinimum VersionStatus
iOS12.0+✅ Supported
Android❌ Not Available

How to Enable the Control

Navigate to Settings from the AppTego portal, and open the Build Settings panel. Under this panel you will find the Include Simulator Architectures setting. Click Enable to apply it to the next protected build.

API Configuration Example

{
  "IncludeSimulatorArchitectures": {
    "protection": true
  }
}
FieldPurpose
protectionEnables include simulator architectures for protected builds.

Configuration

For direct build submission payloads that do not use the tenant configuration object, the equivalent build parameter is include_simulator:

{
  "tenant": "example-tenant",
  "version": "1.0.0",
  "app_name": "MyApp.ipa",
  "subscription": "ENTERPRISE",
  "include_simulator": true
}

Set include_simulator: false (or omit the key entirely) for production device-only builds.

Plan Requirement

This control is available exclusively on the ENTERPRISE plan. Attempting to enable it on FREE or TEAM subscriptions will result in a build configuration error.