Build phase
  • 09 Jan 2025
  • 1 Minute à lire
  • Sombre
    Lumière
  • PDF

Build phase

  • Sombre
    Lumière
  • PDF

The content is currently unavailable in French. You are viewing the default English version.
Résumé de l’article

To integrate the Shielding Tool as a build phase, follow these steps:

To integrate a build post-action

  1. Add the ShieldSDK XCFramework to the project. For more information, see Adding the framework.

  2. In the Xcode project navigator, select the project into which you want to integrate the Shielding Tool.

  3. In the Editor view, select the target into which you want to integrate the Shielding Tool.

  4. Select the Build Phases tab.

  5. To add a new build phase, select the + icon and New Run Script Phase.

  6. Make sure this new Run Script phase comes after the Embed Frameworks phase. Phases can be reordered by dragging.

  7. Expand the new build phase and de-select Based on dependency analysis. This forces the script to always run after a build.

  8. In the text box Type a script..., add the script mentined above.

The finished integration should look like this:

Integrate Shielding Tool as build post-action

The Shielding Tool integration as a build phase does not support the User Script Sandboxing build setting (i.e., ENABLE_USER_SCRIPT_SANDBOXING). This is not a security feature, so it can safely be disabled if not needed for other purposes. For more information, see Demystify parallelization in Xcode builds.


Cet article vous a-t-il été utile ?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Ozzy, facilitant la découverte de connaissances grâce à l’intelligence conversationnelle