mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-20 20:23:03 +02:00
11 lines
369 B
Bash
Executable File
11 lines
369 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
if [[ "$PLATFORM_NAME" == *simulator* || "$CODE_SIGNING_ALLOWED_FOR_APPS" == 'NO' || -z "$EXPANDED_CODE_SIGN_IDENTITY" ]]; then
|
|
exit 0
|
|
fi
|
|
|
|
echo 'codesign dylibs'
|
|
for lib in $(find "$CODESIGNING_FOLDER_PATH/Frameworks" -type f -iname '*.dylib'); do
|
|
codesign --verbose=4 --force --timestamp=none --sign "$EXPANDED_CODE_SIGN_IDENTITY" "$lib"
|
|
done
|