MAC构建代理不再连接/建筑物



在过去两个月中工作正常(在Mac上手动安装Xamarin之后,VS/SSH安装不起作用),有些损坏了。OS X和Xamarin都进行了更新,但我以较小的方式认为。猜猜这是我最后一次更新我没有理由!

无论如何,这是相关的%LOCALAPPDATA%XamarinLogs14.0日志条目:

Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2016-12-17 00:06:28.6561] Starting connection to Mac macmini...
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2016-12-17 00:06:30.6133] Starting Broker 4.2.1.73 in port 59693...
Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Information: 0 : [2016-12-17 00:06:32.9003] MacServer State transition from SshConnectingState to SshConnectedState on macmini (192.168.1.88)
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2016-12-17 00:06:33.2553] Connection successfully established with the Mac macmini:59693
Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Information: 0 : [2016-12-17 00:06:33.5408] MacServer State transition from SshConnectedState to AgentsStartingState on macmini (192.168.1.88)
Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Information: 0 : [2016-12-17 00:06:33.7448] Starting agents on Mac macmini (192.168.1.88)
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2016-12-17 00:06:34.5553] Starting Agent IDB 4.2.1.73...
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2016-12-17 00:06:34.7538] Starting Agent Build 4.2.1.73...
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2016-12-17 00:06:35.6074] Starting Agent Designer 4.2.1.73...
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2016-12-17 00:06:36.8564] Agent Build 4.2.1.73 is running
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2016-12-17 00:06:39.9828] Agent IDB 4.2.1.73 is running
Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Information: 0 : [2016-12-17 00:06:41.2470] MacServer State transition from AgentsStartingState to DisconnectedState on macmini (192.168.1.88)
Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Information: 0 : [2016-12-17 00:06:41.4320] Disconnected from Mac macmini (192.168.1.88)
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2016-12-17 00:06:41.6010] The underlying client has been closed
Xamarin.Messaging.Client.Ssh.SshCommandRunner Warning: 0 : [2016-12-17 00:06:41.8105] Exception executing 'ls "/tmp/com.xamarin.2016-12-16__23-07-38.43884.designer"'
Renci.SshNet.Common.SshConnectionException: Client not connected.
at Renci.SshNet.Session.WaitOnHandle(WaitHandle waitHandle, TimeSpan timeout)
at Renci.SshNet.Session.Renci.SshNet.ISession.WaitOnHandle(WaitHandle waitHandle)
at Renci.SshNet.Channels.ChannelSession.Open()
at Renci.SshNet.SshCommand.BeginExecute(AsyncCallback callback, Object state)
at Xamarin.Messaging.Client.Ssh.SshCommandRunner.<>c__DisplayClass6_0.b__0(AsyncCallback callback, Object state)
at System.Threading.Tasks.TaskFactory1.FromAsyncImpl(Func3 beginMethod, Func2 endFunction, Action1 endAction, Object state, TaskCreationOptions creationOptions)
at Xamarin.Messaging.Client.Ssh.SshCommandRunner.d__6.MoveNext()

您可以看到,SSH本身正常工作。我可以与我提供给MAC代理登录的同一用户相同并访问这些路径。我尝试删除Mac的XMA文件夹和PC的单触摸,但没有效果。

我还尝试了安装了8.2.1 Xcode Update,它做了一些事情,但最终我最终以与上述相同的状态回到了同一状态。这是暂时的不同。请注意如何报告没有错误,成功设置了一秒钟,但是关闭了构建代理窗口,然后回到抱怨LS。

Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Information: 0 : [2016-12-20 00:19:56.3313] MacServer State transition from DisconnectedState to SshConnectingState on macmini (192.168.1.88)
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2016-12-20 00:19:56.5134] Starting connection to Mac macmini...
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2016-12-20 00:20:05.6625] Starting Broker 4.2.1.73 in port 55623...
Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Information: 0 : [2016-12-20 00:20:11.5814] MacServer State transition from SshConnectingState to SshConnectedState on macmini (192.168.1.88)
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2016-12-20 00:20:11.7629] Connection successfully established with the Mac macmini:55623
Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Information: 0 : [2016-12-20 00:20:11.9821] MacServer State transition from SshConnectedState to AgentsStartingState on macmini (192.168.1.88)
Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Information: 0 : [2016-12-20 00:20:12.1686] Starting agents on Mac macmini (192.168.1.88)
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2016-12-20 00:20:13.7446] Starting Agent IDB 4.2.1.73...
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2016-12-20 00:20:13.9521] Starting Agent Build 4.2.1.73...
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2016-12-20 00:20:16.3318] Agent Build 4.2.1.73 is running
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2016-12-20 00:20:19.6409] Starting Agent Designer 4.2.1.73...
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2016-12-20 00:20:31.1329] Agent IDB 4.2.1.73 is running
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2016-12-20 00:20:32.3954] Agent Designer 4.2.1.73 is running
Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Information: 0 : [2016-12-20 00:20:32.6164] MacServer State transition from AgentsStartingState to ConnectedState on macmini (192.168.1.88)
Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Information: 0 : [2016-12-20 00:20:32.7889] Connected to the Mac macmini (192.168.1.88) with Full support.
Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Information: 0 : [2016-12-20 00:20:33.7967] MacServer State transition from ConnectedState to DisconnectedState on macmini (192.168.1.88)
Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Information: 0 : [2016-12-20 00:20:34.0062] Disconnected from Mac macmini (192.168.1.88)
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2016-12-20 00:20:34.1737] The underlying client has been closed

当我尝试使用MSBuild手动运行构建时,这是我遇到的错误。请注意,info.plist存在于8112C4 ...目录中,但整个bin子树都缺少。

"c:srcGitHubSarTagSarTag.sln" (default target) (1) -> "c:srcGitHubSarTagBeaconBeacon.iOSBeacon.iOS.csproj" (default target) (11) -> C:Program Files (x86)MSBuildXamariniOSXamarin.iOS.Common.targets(662,3): error : Could not load Info.plist: Could not find a part of the path "/Users/eliot/Library/Caches/Xamarin/mtbs/builds/Beacon.iOS/8112c45fa1883d91f42789034e2e3d3c/bin/iPhoneSimulator/Debug/Beacon.iOS.app/Info.plist". [c:srcGitHubSarTagBeaconBeacon.iOSBeacon.iOS.csproj]

任何帮助将不胜感激!我在这里有点疯狂。

尝试在Mac(Xamarin Broker)上杀死Xamarin进程:

kill -9 {Xamarin PID}

显示过程列表使用:

ps aux

最终通过在我的Mac上安装了Xamarin.ios的兼容版本来使此工作。我曾尝试降级我的PC版本,但这无效。我在Xamarin的网站上找到了一个工作版本,单击查看所有版本,然后在Xamarin.ios下选择10.3-> OSX。

最新更新