You can specify rules to determine how App Shielding will modify the iOS application in a rules file.
File integrity checks
As part of the Check Repackaging security feature, individual files can be checked for their integrity to ensure they have not been tampered with. These files are configured in a Shielding Tool rules file using the verify keyword. For example:
# Verify individual files
verify "Assets.car";
verify "AppIcon60x60@2x.png";
# Verify all plist files using a regular expression
verify ".*\.plist";If any of the files marked with verify are modified between integrating App Shielding and running the application, App Shielding reports this as a repackaging event.
Integrity checks cannot be applied to files that are intentionally modified after the integration process (e.g., re-signed libraries) or during App Shielding runtime. This includes the following:
The main app binary and other executables
The main
Info.plistfileThe App Shielding library (
libshield)Other frameworks
If a verify pattern includes any such modified files, they should be excluded using the skipVerifyPath option. verify adds the specified file(s) to the integrity check process, skipVerifyPath excludes the specified file(s) from the integrity check process.
The app binary, App Shielding library, and other frameworks are always verified as part of the overall App Shielding repackaging check.