Have a weired Webex issue that started a month ago. When the user opens his Webex, to join a meeting, he get's the error message "Webex quit unexpectedly and you can click reopen, report or ignore. The first time it happened, we just did an uninstall/reinstall and it worked for a couple of weeks. It's happened a couple more times. I recently tried using the webex uninstaller, we also checked the webex dependicy folders they provided to make sure there wasn't anything left over. I updated webex on my Mac and it worked, so I created a package using composer, but it keeps getting the same error. Below is a script I found that the user ran and after the uninstall, he restarted an not luck after. I do see something about checking keychain and resetting the TCC permissions which I'll try today.
#!/bin/bash
# Get the currently logged-in user
CURRENT_USER=$(stat -f "%Su" /dev/console)
USER_HOME=$(eval echo "~$CURRENT_USER")
echo "Starting Webex residual file cleanup for user: $CURRENT_USER"
# Define target directories
TARGET_DIRS=(
"Application Support"
"Application Scripts"
"Caches"
"Saved Application State"
"Containers"
"Group Containers"
"Preferences"
"Cookies"
"LaunchAgents"
)
# Loop through each directory and remove Webex-related items
for DIR in "${TARGET_DIRS[@]}"; do
FULL_PATH="$USER_HOME/Library/$DIR"
if [ -d "$FULL_PATH" ]; then
echo "Scanning $FULL_PATH for Webex-related files..."
find "$FULL_PATH" -iname "*webex*" -exec rm -rf {} \; -exec echo "Removed: {}" \;
else
echo "Directory not found: $FULL_PATH"
fi
done
echo "Webex residual file cleanup completed."
