• Preface

        This protection tool comes in a ZIP compressed package and is a command-line tool for the Mac operating system.


  • Environmental Dependencies

        1. Xcode Command line Tools

        Check if the following is displayed by entering the command in the terminal: xcode-select -p

    FairGuard

        If not, please install it first in the command line using xcode-select --install, and then proceed with the following commands:

        sudo xcode-select –s /Applications/Xcode.app/Contents/Developer to specify the location.

        Note: The tool will also automatically detect.

        2. Disable System Integrity Protection

        Check the current status of system integrity protection by running csrutil status in the command line. If it is not disabled, please follow these steps:

        • Restart your computer, and after hearing the startup sound, press Command + R to enter Recovery Mode.

        • Execute csrutil disable; reboot.

        • After the computer restarts, enter the system and use csrutil status to check if it has been successfully disabled.

        If your macOS version is greater than 10.11, or if the computer is an M1 device, the above method may not work. Please follow these steps instead:

        • In power-off state, press and hold the power button until the "Settings" appear, then release to enter Recovery Mode.

    FairGuard

        • Click "Continue", then click "Utilities - Terminal", and execute csrutil disable; reboot in the terminal that appears.

    1726299205926937.png

        • The computer will restart, and after entering the system, you can use csrutil status to check if it has been successfully disabled.


  • Parameter Description

        ./fairguardbuild [Basic options]

        [Basic options]:

      Parameter

      Description

      -p, --project=<str>

      This should be followed by the complete project path. Generally, use the full path of the .xcodeproj for Xcode projects, and for Cocoapods projects, use the full path of the .xcworkspace.


  • Usage Instructions

        1. Steps for Use:

        • Unzip the tool to the specified directory and open the terminal CD to the tool directory.

        • After selecting the function parameters, execute the following command:

          ./fairguardbuild -p xxxx/Demo/Unity-iPhone.xcodeproj

        2. GameKey Configuration

    1726299233193067.png

        Copy the GameKey obtained from the official source into the file as shown in the image.


  • Precautions

        ■ Please disable bitcode before use, and ensure that bitcode is also disabled for all Targets in Cocospod projects.

    FairGuard

        ■ If you have any other questions, please contact us with Telegram or Skype.

    FairGuardFairGuard


Protect your mobile game now ?

Protect your mobile game now ?

Email to support@fair-guard.com, describe the problem. We will contact you.

Contact FairGuard