I installed python or some other software on my MBP M1 and just get this problem.
When i type in
sudo xattr -cr (APP NAME)
i get this feedback:
option -r not recognized
usage: xattr [-slz] file [file ...]
xattr -p [-slz] attr_name file [file ...]
xattr -w [-sz] attr_name attr_value file [file ...]
xattr -d [-s] attr_name file [file ...]
xattr -c [-s] file [file ...]
The first form lists the names of all xattrs on the given file(s).
The second form (-p) prints the value of the xattr attr_name.
The third form (-w) sets the value of the xattr attr_name to attr_value.
The fourth form (-d) deletes the xattr attr_name.
The fifth form (-c) deletes (clears) all xattrs.
options:
-h: print this help
-s: act on symbolic links themselves rather than their targets
-l: print long format (attr_name: attr_value)
-z: compress or decompress (if compressed) attribute value in zip format
wings@zhangyansens-MacBook-Pro ~ % sudo xattr -rd com.apple.quarantine /Applications/Android Emulator.app
option -r not recognized
The first form lists the names of all xattrs on the given file(s).
The second form (-p) prints the value of the xattr attr_name.
The third form (-w) sets the value of the xattr attr_name to attr_value.
The fourth form (-d) deletes the xattr attr_name.
The fifth form (-c) deletes (clears) all xattrs.
plz someone help me.
I update my macOS and download the new version of Xcode command line couldnt solve it.
step by step how to solve it.
New contributor
user25421377 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.