Could not parse ios version from sdk path

JohnWatersJohnWaters USBeta ✭✭

My mac just installed an update to Xcode, I now have 4.6.2 (4H1003).
Now, when I open any Xamarin.iOS solution, I get an error message saying "Could not parse iOS version from SDK path"

System.NotSupportedException: Could not parse iOS version from SDK path: Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk
at MonoTouch.Hosting.IosSystem..ctor (System.String sdkPath, DeviceTrait device, MonoTouch.Hosting.Capabilities capabilities) [0x000f4] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/33f01126/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Hosting/IosSystem.cs:184
at MonoTouch.Hosting.IosSystem..ctor (System.String sdkPath, DeviceTrait device) [0x00000] in :0
at MonoTouch.Design.Client.PooledConnectionProvider+c__AnonStorey51.<>m__10B () [0x00021] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/33f01126/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/PooledConnectionProvider.cs:33
at MonoTouch.Design.Client.PooledConnectionProvider+Pool.Acquire () [0x00000] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/33f01126/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/PooledConnectionProvider.cs:97
at MonoTouch.Design.Client.PooledConnectionProvider+Pool..ctor (Int32 count, System.Func`1 acquire) [0x00020] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/33f01126/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/PooledConnectionProvider.cs:81
at MonoTouch.Design.Client.PooledConnectionProvider.GetConnection (DeviceTrait device) [0x0003d] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/33f01126/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/PooledConnectionProvider.cs:29
at MonoTouch.Design.Client.IPhoneDesignerService.PrefillConnectionPool (System.String sdkPath, TargetDevice projectTargetDevice) [0x0001a] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/33f01126/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerService.cs:82
at MonoTouch.Design.Client.IPhoneDesignerService.IncrementOpenProjectCount (System.String sdkPath, Int32 projectTargetDevice) [0x0004c] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/33f01126/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerService.cs:102
at MonoDevelop.IPhone.IPhoneProject.OnEndLoad () [0x0003c] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/33f01126/source/md-addins/MonoDevelop.IPhone/MonoDevelop.IPhone/Project/IPhoneProject.cs:275
at MonoDevelop.Projects.SolutionItem.MonoDevelop.Projects.ILoadController.EndLoad () [0x0000e] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/33f01126/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/SolutionItem.cs:877
at MonoDevelop.Projects.Extensions.LoadOperation.End () [0x00019] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/33f01126/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Extensions/ProjectExtensionUtil.cs:138
at MonoDevelop.Projects.Extensions.ProjectExtensionUtil.EndLoadOperation () [0x00042] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/33f01126/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Extensions/ProjectExtensionUtil.cs:85
at MonoDevelop.Projects.Formats.MSBuild.SlnFileFormat.ReadFile (System.String fileName, MonoDevelop.Projects.Formats.MSBuild.MSBuildFileFormat format, IProgressMonitor monitor) [0x0006e] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/33f01126/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/SlnFileFormat.cs:652
at MonoDevelop.Projects.Formats.MSBuild.MSBuildFileFormat.ReadFile (FilePath file, System.Type expectedType, IProgressMonitor monitor) [0x00017] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/33f01126/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildFileFormat.cs:166
at MonoDevelop.Projects.ProjectService.ReadFile (IProgressMonitor monitor, System.String file, System.Type expectedType, MonoDevelop.Projects.FileFormat& format) [0x0002d] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/33f01126/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectService.cs:310
at MonoDevelop.Projects.ProjectService.InternalReadWorkspaceItem (System.String file, IProgressMonitor monitor) [0x00000] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/33f01126/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectService.cs:282
at MonoDevelop.Projects.DefaultProjectServiceExtension.LoadWorkspaceItem (IProgressMonitor monitor, System.String fileName) [0x00000] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/33f01126/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectService.cs:677
at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (IProgressMonitor monitor, System.String fileName) [0x00000] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/33f01126/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:108
at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (IProgressMonitor monitor, System.String fileName) [0x00000] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/33f01126/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:108
at MonoDevelop.Autotools.MakefileProjectServiceExtension.LoadWorkspaceItem (IProgressMonitor monitor, System.String fileName) [0x00000] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/33f01126/source/monodevelop/main/src/addins/MonoDevelop.Autotools/MakefileProjectServiceExtension.cs:48
at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (IProgressMonitor monitor, System.String fileName) [0x00000] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/33f01126/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:108
at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (IProgressMonitor monitor, System.String fileName) [0x00000] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/33f01126/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:108
at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (IProgressMonitor monitor, System.String fileName) [0x00000] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/33f01126/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:108
at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (IProgressMonitor monitor, System.String fileName) [0x00000] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/33f01126/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:108
at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (IProgressMonitor monitor, System.String fileName) [0x00000] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/33f01126/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:108
at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (IProgressMonitor monitor, System.String fileName) [0x00000] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/33f01126/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:108
at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (IProgressMonitor monitor, System.String fileName) [0x00000] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/33f01126/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:108
at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (IProgressMonitor monitor, System.String fileName) [0x00000] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/33f01126/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:108
at MonoDevelop.Projects.ProjectService.ReadWorkspaceItem (IProgressMonitor monitor, System.String file) [0x00027] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/33f01126/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectService.cs:261
at MonoDevelop.Ide.RootWorkspace.BackgroundLoadWorkspace (IProgressMonitor monitor, System.String filename, Boolean loadPreferences, Boolean reloading) [0x00163] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/33f01126/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/RootWorkspace.cs:593

Posts

  • gramlingramlin SEUniversity ✭✭

    I have the same problem. Same version of xcode.

  • JohnWatersJohnWaters USBeta ✭✭

    Help anyone? This is critical, I am dead in my tracks here, cannot load any solutions since the latest Xcode update.

  • JohnWatersJohnWaters USBeta ✭✭

    I am using the alpha channel version of Xamarin Studio 4.1.0 build 45
    The beta channel version doesnt have this issue (but I am using await..async in my code and all the new goodness)

  • rdiazconchardiazconcha MXUniversity ✭✭

    Same here

  • rdiazconchardiazconcha MXUniversity ✭✭

    Actually it seems to work after reinstalling Xamarin Studio on the Mac. Hope this helps.

  • JohnWatersJohnWaters USBeta ✭✭

    With the Alpha Channel version?

  • JohnWatersJohnWaters USBeta ✭✭

    Any help from the folks at Xamarin here?

  • MartijnLaarmanMartijnLaarman USMember
    edited April 2013

    I have the exact same issue:

    Xamarin 4.1.0 (Build 45)

    Xcode Version 4.6.2 (4H1003)

  • ChrisHardyChrisHardy GBForum Administrator, Xamarin Team Xamurai

    It looks like you're hitting this issue - http://forums.xamarin.com/discussion/comment/10837/#Comment_10837 - best thing to do would be to downgrade to Xcode 4.6.1 until we get a fix out for the Alpha channel

  • JohnWatersJohnWaters USBeta ✭✭

    OK, thanks, reverting to 4.6.1 did the trick.

  • TobiasJeckleTobiasJeckle DEUniversity ✭✭

    How can I revert back to Xcode 4.6.1? Any chance we see a fix for this problem soon?

    I've switched to the Beta channel for async/await support unfortunately the problem is there too.

  • JohnWatersJohnWaters USBeta ✭✭

    Does the beta channel now support await..async, and .net 4.5?

Sign In or Register to comment.