While trying to run a project on the iOS simulator through Visual Studio on a pc and connecting to a Mac (utilizing Xcode), the error "Could not find sdk bin directory" comes up and stops building of the project on Visual Studio.
Does anyone has any experience with or fixes to this error?
Any information that could be provided on it would be greatly appreciated. Thanks!
Answers
Try to relocate the iOS SDK. The following link will show you the default directories.
https://docs.microsoft.com/en-us/xamarin/ios/troubleshooting/questions/ios-sdk
Check https://github.com/xamarin/xamarin-macios/blob/master/msbuild/Xamarin.iOS.Tasks.Core/Tasks/DetectSdkLocationsTaskBase.cs#L279
Seems like something goes wrong with the build process ,so it can not find the folder.
Try to delete
bin
andobj
folder, and then rebuild your project.I was facing this then i update VS and its work