The project is already in use by macOS and cannot be opened
Create a script / usr/local/bin/fix-xattr with the following contents:
#! / bin/bashfor I in. / * do xattr-d com.apple.FinderInfo "$I" & & echo "processing: $I" done
Add executable permissions:
Chmod + x / usr/local/bin/fix-xattr
Then through the terminal, enter the directory where the files that cannot be opened are located, execute / usr/local/bin/fix-xattr, and you can repair all the files that cannot be opened.
If there is a problem with the repaired file, it will be displayed:
Processing:. / Navicat Premium.app
Otherwise:
Xattr:. / Setup Screen Capturer Recorder v0.12.10.exe: No such xattr: com.apple.FinderInfo