I opened my vs for mac with sudo "sudo /Applications/Visual\ Studio.app/Contents/MacOS/VisualStudio" after that, I can't open it without sudo. How can I "revert" this?
Solved by removing the root privileges from ~/.templateengine/Visual Studio
It seems that when I opened vs for mac with sudo, ~/.templateengine/Visual Studio started to require root privileges.
This post helped me to solve developercommunity.visualstudio.com/content/problem/57634/can-only-launch-visual-studio-from-command-line-wi.html
We also have to change the permissions of ~/.mono/registry/CurrentUser/software/microsoft/visualstudio/telemetry/persistentpropertybag/visualstudio/values.xml
It works like a charm.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies