Xamarin.iOS未能将SDK与未知错误同步

时间:2014-03-20 21:09:38

标签: ios xamarin.ios xamarin

我试图从我的Visual Studio(Windows PC)连接到Xamarin构建主机(MAC OS)。每当我为VS和Build Host做准备时,我都会获得同步SDK的建议: https://www.dropbox.com/s/wc4q7apmjxzcxru/shot_140320_170111.png

每次按“确定”按钮时都会出现以下错误: https://www.dropbox.com/s/kka5c9kqh9f65nn/shot_140320_165146.png

Visual Studio崩溃,从EventLog中获取以下错误:

Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentNullException
Stack:
   at System.Windows.Interop.WindowInteropHelper..ctor(System.Windows.Window)
   at System.Windows.MessageBox.Show(System.Windows.Window, System.String, System.String, System.Windows.MessageBoxButton, System.Windows.MessageBoxImage)
   at Mono.IOS.VisualStudio.Utilities.SdkStatus.NotifySdkIconClick(System.Object, System.EventArgs)
   at System.Windows.Forms.NotifyIcon.OnBalloonTipClicked()
   at System.Windows.Forms.NotifyIcon.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.NotifyIcon+NotifyIconNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr, Int32, IntPtr, IntPtr)

Faulting application name: devenv.exe, version: 12.0.30110.0, time stamp: 0x52cfb65a
Faulting module name: KERNELBASE.dll, version: 6.3.9600.16496, time stamp: 0x52b3e015
Exception code: 0xe0434352
Fault offset: 0x00012eec
Faulting process id: 0x16ec
Faulting application start time: 0x01cf447df8795b46
Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe
Faulting module path: C:\WINDOWS\SYSTEM32\KERNELBASE.dll
Report Id: 6a73a398-b071-11e3-bec4-7ce9d3fe3dda
Faulting package full name: 
Faulting package-relative application ID: 

支持还没有回答我的问题。

1 个答案:

答案 0 :(得分:0)

我通过切换到Xamarin软件的Alpha通道来解决问题。 在更新Windows和Mac后,我得到了一个工作环境,没有"需要SDK同步"通知以及将构建部署到从Visual Studio连接到Mac的iPhone的能力