locked
iOS Simulator "Could not find sdk bin directory" error RRS feed

  • Question

  • User372582 posted

    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!

    Monday, August 20, 2018 7:50 PM

All replies

  • User369431 posted

    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

    Tuesday, August 21, 2018 3:30 AM
  • User369978 posted

    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 and obj folder, and then rebuild your project.

    Tuesday, August 21, 2018 7:32 AM
  • User343509 posted

    I was facing this then i update VS and its work

    Thursday, February 7, 2019 12:49 PM