【发布时间】:2016-07-20 12:45:26
【问题描述】:
将我的 Visual Studio 升级到 Update 2 后,我尝试使用 Xamarin 完成我的第一步。 但是我无法连接我的 MacBook。
这是我的设置: 装有 OSX 10.11.3 的 MacBook Pro Windows 10 企业版 - 已安装最新更新 Visual Studio 企业版 2015 更新 2
下面是我尝试连接 MacBook 时遇到的错误。
Starting Broker 4.0.3.214 in port 56182...
Couldn't connect to Maurices-MacBook-Pro.local. Please try again.
Disconnected from Mac Maurices-MacBook-Pro.local (192.168.2.164)
bash: /Users/maurice/Library/Caches/Xamarin/XMA/Broker/4.0.3.214/Broker.exe: Permission denied
我确实检查过,它创建了文件夹,并且由于权限被拒绝错误,我为用于登录整个 Xamarin 目录的 mac 的用户做了一个 chown - 没有帮助...
如果有人能帮我解决我的小问题,我会很高兴。
提前致谢。
将频道更改为 Alpha 后,我得到了这个:
Starting Broker 4.1.0.111 in port 54771...
Disconnected from Mac Maurices-MacBook-Pro.local (192.168.2.164)
Couldn't connect to Maurices-MacBook-Pro.local. Please try again.
Timeout für den Vorgang wurde überschritten.
Downloading /Users/maurice/Library/Logs/Xamarin-4.1/2016-04-01__01-16-08.10484.Broker.stderr.log...
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2016-04-01 01:21:18.4551] Starting Broker 4.1.0.111 in port 55014...
Xamarin.Messaging.Client.Ssh.SshCommands Error: 0 : [2016-04-01 01:21:19.3288] mono cannot be found.
没有地方写到我必须在我的 Mac 上安装单声道 ...
安装单声道后我收到此错误...
Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Information: 0 : [2016-04-01 03:19:54.9773] MacServer State transition from DisconnectedState to SshConnectingState on Maurices-MacBook-Pro.local (192.168.2.164)
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2016-04-01 03:20:05.7313] Starting Broker 4.1.0.111 in port 58821...
Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Information: 0 : [2016-04-01 03:20:12.0435] MacServer State transition from SshConnectingState to DisconnectedState on Maurices-MacBook-Pro.local (192.168.2.164)
Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Information: 0 : [2016-04-01 03:20:12.0485] Disconnected from Mac Maurices-MacBook-Pro.local (192.168.2.164)
Xamarin.VisualStudio.IOS.Messaging.State.DisconnectedState Error: 0 : [2016-04-01 03:20:12.1445] Couldn't connect to Maurices-MacBook-Pro.local. Please try again.
Xamarin.VisualStudio.IOS.Messaging.State.DisconnectedState Error: 0 : [2016-04-01 03:20:12.1505] Xamarin.Messaging.Broker.BrokerServer Information: 0 : Starting broker...
Xamarin.Messaging.Broker.BrokerAgent Information: 0 : Starting Agent: Broker 4.1.0.111 (PID=1963)
Xamarin.Messaging.Broker.BrokerAgent Information: 0 : Broker 4.1.0.111 agent started
Failed-Value cannot be null.
Parameter name: path1
Xamarin.Messaging.Exceptions.MessagingException: Xamarin.Messaging.Broker.BrokerServer Information: 0 : Starting broker...
Xamarin.Messaging.Broker.BrokerAgent Information: 0 : Starting Agent: Broker 4.1.0.111 (PID=1963)
Xamarin.Messaging.Broker.BrokerAgent Information: 0 : Broker 4.1.0.111 agent started
Failed-Value cannot be null.
Parameter name: path1
【问题讨论】:
-
我得到的完全一样,也卡在那里)
-
嗯,我不知道,谷歌也不知道:(
-
作为选项,您可以尝试下载并安装适用于 Mac 的 xamarin,但它必须开箱即用,无需任何额外调整)
-
是的,你说得对,VS 2015 Update2 中的配置步骤只解释了你需要启用远程登录......然后它没有工作
标签: macos visual-studio xamarin