我刚刚安装了Visual Studio 2013和xamarin(ios + android)的全新版本。
但是当我尝试调试hello world应用程序时,没有任何事情发生(这些对作为魅力),VS给出的唯一信息如下:
DEBUG日志:
Getting device...
Starting debug on:iPhone 6.1
Remote build finished...
Debugging session ended.
Debugging session ended.
'Empty1.vshost.exe' (CLR v2.0.50727: Empty1.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_64\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Empty1.vshost.exe' (CLR v2.0.50727: Empty1.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities\12.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Empty1.vshost.exe' (CLR v2.0.50727: Empty1.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Empty1.vshost.exe' (CLR v2.0.50727: Empty1.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Empty1.vshost.exe' (CLR v2.0.50727: Empty1.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Empty1.vshost.exe' (CLR v2.0.50727: Empty1.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities.Sync\12.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.Sync.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Empty1.vshost.exe' (CLR v2.0.50727: Empty1.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.Debugger.Runtime\12.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Debugger.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Empty1.vshost.exe' (CLR v2.0.50727: Empty1.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\mscorlib.resources\2.0.0.0_fr_b77a5c561934e089\mscorlib.resources.dll'. Module was built without symbols.
'Empty1.vshost.exe' (CLR v2.0.50727: Empty1.vshost.exe): Loaded 'C:\Development\Workspace\Testing\Empty1\Empty1\bin\iPhoneSimulator\Debug\Empty1.vshost.exe'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The thread 0x2e60 has exited with code 259 (0x103).
The thread 0x5f5c has exited with code 259 (0x103).
'Empty1.vshost.exe' (CLR v2.0.50727: Empty1.vshost.exe): Loaded 'C:\Development\Workspace\Testing\Empty1\Empty1\bin\iPhoneSimulator\Debug\Empty1.exe'. Symbols loaded.
The program '[27752] Empty1.vshost.exe' has exited with code 0 (0x0).
Mac服务器日志:
[20-nov.-2013 20:21:17] Handling with command: [Info: CommmandUrl=Info] (31)
[20-nov.-2013 20:21:17] Attempting to acquire command execution lock, timeout set to 00:10:00
[20-nov.-2013 20:21:17] mtouch 7.0.4.209 (23a0827)
[20-nov.-2013 20:21:17] Command [Info: CommmandUrl=Info] finished (31)
有人有个主意吗?我甚至不知道在哪里搜索更多错误日志:/
答案 0 :(得分:0)
我遇到了同样的问题。我在Mac上安装了Xamarin Studio 4.2.3(alpha版)。从Mac上的Xamarin Studio重新添加了我的开发者帐户(确保正确加载了配置文件)。之后,我能够在真实设备上从Visual Studio 2013运行iOS应用程序。
请检查我对Xamarin论坛的回复 -