Skip to content

Instantly share code, notes, and snippets.

@AFutureD
Created May 28, 2025 06:15
Show Gist options
  • Save AFutureD/173da974afc0ddf96b7e37461a449a18 to your computer and use it in GitHub Desktop.
Save AFutureD/173da974afc0ddf96b7e37461a449a18 to your computer and use it in GitHub Desktop.
# Type a script or drag a script file from your workspace to insert its path.
PERIPHERY_PATH="$HOME/.local/share/mise/shims/periphery"
if [ -z "$CONFIGURATION" ] || [ "$CONFIGURATION" == "Debug" ]; then
echo "[*] Skip periphery: $CONFIGURATION"
exit 0
fi
if [ -f "$PERIPHERY_PATH" ]; then
echo $BUILD_ROOT
PROJECT_DERIVED_PATH="${BUILD_ROOT%/Build/*}"
DATA_STORE_PATH="$PROJECT_DERIVED_PATH/Index.noindex/DataStore"
"$PERIPHERY_PATH" clear-cache
"$PERIPHERY_PATH" scan --schemes FaceYoga --format xcode --index-store-path $DATA_STORE_PATH
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment