<commit_before># Validates Xcode application binary integrity using `spctl`
# Migrated from ~/.dotfiles/xcode/xccheck.sh
function xccheck
    set app_dirs \
        "/Applications" \
        "$HOME/Applications" \
        "/Volumes/Thunderbay/Applications" \

    for app_dir in $app_dirs
        for xcode_version in (ls -d $app_dir/Xcode*.app)
            echo "Checking integrity of $xcode_version"
            spctl --assess --verbose "$xcode_version"
        end
    end<commit_msg>[xccheck] Check for $app_dir existence to prevent errors<commit_after># Validates Xcode application binary integrity using `spctl`
# Migrated from ~/.dotfiles/xcode/xccheck.sh
function xccheck
    set app_dirs \
        "/Applications" \
        "$HOME/Applications" \
        "/Volumes/Thunderbay/Applications" \

    for app_dir in $app_dirs
        test -e $app_dir; or continue
        for xcode_version in (ls -d $app_dir/Xcode*.app)
            echo "Checking integrity of $xcode_version"
            spctl --assess --verbose "$xcode_version"
        end
    end
{'fraction_non_alphanumeric': 0.0947867298578199, 'fraction_numerical': 0.0, 'mean_word_length': 2.473684210526316, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5697202', 'n_tokens_mistral': 335, 'n_tokens_neox': 328, 'n_words': 89}