Build and distribute project
Configure Project Settings
Section titled “Configure Project Settings”-
Update Project Options: Right-click on your iOS project and select “Options”
-
iOS Build Settings:
- Set the appropriate architectures for your target devices
- Configure signing identity and provisioning profile
- Set the appropriate deployment target
-
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"
Build the Project
Section titled “Build the Project”- Select Release configuration for App Store distribution
- Choose your target device or “Generic Device”
- Build the project using Build > Build All
Archive and Export
Section titled “Archive and Export”-
Once the build is successful, create an archive:
- Go to Build > Archive for Publishing
- This will create an IPA file for distribution
-
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 -
Upload to App Store:
- Use Application Loader or Transporter to upload the processed IPA
- Submit for review through App Store Connect
Important Notes
Section titled “Important Notes”- 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