Integration into Xcode
  • 22 Jan 2025
  • 1 Minute à lire
  • Sombre
    Lumière
  • PDF

Integration into Xcode

  • Sombre
    Lumière
  • PDF

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

The Shielding Tool supports integration into Xcode as a build post-action or build phase. This way, the Shielding Tool does not need to be run separately, and the app is still signed with the available certificate.

In either approach, you will need to use the following script:

set -e
Plain text
 
Plain text
SHIELDER="/path/to/Shielder.jar"
Plain text
CONFIG="/path/to/config.xml"
Plain text
IPANAME="$TARGET_BUILD_DIR/$PRODUCT_NAME.$WRAPPER_EXTENSION"
Plain text
 
Plain text
java -jar "$SHIELDER" --config "$CONFIG" -o "$IPANAME" "$IPANAME"

The SHIELDER variable is set to the path of the Shielder.jar file delivered with the Shield SDK. The CONFIG variable is set to the path of your XML configuration file. The resulting file will have the name specified in the IPANAME variable.

For security reasons, the config.xml file must not be packaged within the IPA. Ensure that it is not added to the project when building your app.


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

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