Exclusion List
introduction
This guide assists users in effectively utilizing the custom exclusion shell script for Defender For iOS. The script identifies and excludes specific objects and files that could cause errors or failures during the obfuscation process, thereby ensuring a smoother operation.
Download and Installation
Install Defender for iOS.
a. The executables will be located in /Applications/PreEmptive/DefenderForiOS.app/Contents/version/
/ - In the executables’ directory, assign execute permissions (if necessary): chmod +x prepare_name_exclusion_list_new’
Running the Script
To run the script on the project Xcode scheme
$ <exclusion-list-file-path>.sh -c <config-file-path> --license "license:email" "project.xcodeproj" -s "project-scheme"
Example:
$ /Applications/PreEmptive/DefenderForiOS.app/Contents/version/1.1.2/prepare_name_exclusion_list_.sh -c /Applications/PreEmptive/DefenderForiOS.app/Contents/version/1.1.2/config.yaml --license "XXXXXXXXXXXXXXXXXXXXXX:f.lastname@email.com" "Project.xcodeproj" -s "Project"
Output Preview:
list=
========================
=======[ RESULT ]=======
========================
Extracted exclusion list:
-x KVLiLPTKNz100vEa,selectedSegmentIndex,XRYHsCu88poGT47a,url,projects
Implementing the exclusion list
Run Defender For iOS by including the exclusion list retrieved by the shell script.
Example:
$ defenderForiOS -c "/Applications/PreEmptive/DefenderForiOS.app/Contents/version/1.1.2/config.yaml" --license "XXXXXXXXXXXXXXXXXXXXXX:f.lastname@email.com" "Project.xcodeproj" -s "Project"
-x KVLiLPTKNz100vEa,selectedSegmentIndex,XRYHsCu88poGT47a,url,projects