I'm trying to build the iOS target of a Xamarin Forms project on my mac with Rider, but it always tells me that he cannot found Xcode :-/
I've tried several configurations, but nothing leeds to the solution. The problems started when I upgraded my Mac to Monterey.
The Xcode path was set correctly with xcode-select and is correctly setted up in Rider settings.
In Rider configured:
I've also tried to modifiy the mtouch --sdk arguments:
The console says:
/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mlaunch --launchsim /Users/.../Projects/.../.../....iOS/bin/iPhoneSimulator/Debug/device-builds/ipad13.5-15.4/....iOS.app --device=:v2:udid=8552B306-2475-47AF-TB4C-DCA68E7340C6 -sdk 15.4 --argument=-monodevelop-port --argument=10001 --setenv=__XAMARIN_DEBUG_PORT__=10001 --sdkroot /Applications/Xcode.app/Contents/Developer
error MT0055: The Xcode path '/Applications/Xcode.app/Contents/Developer' does not exist.
I don't know why mtouch is using a non-configured path ... Also Rider does not use the arguments provided.
Creating a symlink
ln -s /Applications/Xcode/Xcode1330.app /Applications/Xcode.app does not solve the problem.
For various reasons I need more Xcode installations for older iOS projects.