Integration into Xcode
- 22 Jan 2025
- 1 Minute à lire
- SombreLumière
- PDF
Integration into Xcode
- Mis à jour le 22 Jan 2025
- 1 Minute à lire
- SombreLumière
- PDF
The content is currently unavailable in French. You are viewing the default English version.
Résumé de l’article
Avez-vous trouvé ce résumé utile ?
Merci pour vos commentaires
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 ?