Fixed with this value /Applications/Xcode.app/
(note the trailing slash)
VS on MAC can't find Xcode 12.4
I recently updated VS for mac to the latest version 8.9 (build 1651) and also Xcode to v12.4 (12D4e).
The problem is that now when I start Visual Studio it keeps showing a message saying that
Xcode is not currently installed or could not be found.
I went to preferences and under Apple SDK i have this path: /Library/Developer/CommandLineTools
.
- I cleared the value, left it blank, saved, restarted visual studio: preferences didn't save and I keep seeing that value
- I saved the SDK location as
/Applications/Xcode.app
: it says "Xcode 12.4 found at default location", i click OK, restart visual studio and the same error appears. I go to preferences and I still see/Library/Developer/CommandLineTools
again.
So basically I can't run the iOS project because it can't find any simulators.
Did anybody have the same problem? How did you solve it?
Wasting so much time for these issues is so frustrating.
Thanks!
-
Stesvis 1,041 Reputation points
2021-03-07T20:24:08.033+00:00
2 additional answers
Sort by: Most helpful
-
Leonardo Dias 1 Reputation point
2021-03-10T19:12:35.277+00:00 Are you getting a error message with android sdk aswell? Here it is saying that Android NDK Location was not found, can you please share yours?
-
Leonardo Dias 1 Reputation point
2021-03-11T19:25:11.34+00:00 Solved it! I had to download Android NDK in the Android SDK Management, thank you! You saved me with the iOS solution!