mhe*_*kel 17 macos visual-studio xamarin
将Visual Studio升级到Update 2后,我尝试使用Xamarin完成我的第一步.但是我无法连接我的MacBook.
这是我的设置:MacBook Pro与OSX 10.11.3 Windows 10企业版 - 安装了最新的更新Visual Studio Enterprise 2015 Update 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
Run Code Online (Sandbox Code Playgroud)
我做了检查,它创建了文件夹,并且由于权限被拒绝错误,我为我用来登录到整个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.
Run Code Online (Sandbox Code Playgroud)
无处可写我必须在我的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
Run Code Online (Sandbox Code Playgroud)
小智 13
Xamarin for Visual Studio没有在Mac端安装一些要求,如Xamarin.iOS,Xamarin.Mac和Mono.所有这些都是Xamarin Studio安装程序在Mac上安装的要求(来自http://xamarin.com/download).您应该从Mac本身点击该URL以获得Mac下载,否则您将看到Windows下载.
如前所述,您还需要在Mac上配置"远程登录".此外,您需要在Mac上使用与Windows中连接相同的凭据进行打开会话.换句话说,如果您在Mac上使用"User1",那么User1应该在Mac上登录,并且那些Mac凭据将是Visual Studio在尝试连接时要求的凭据.
如需更多帮助,请查看故障排除指南.
最后,如果您仍然遇到连接到Mac的问题,请分享日志(帮助 - Xamarin - Zip日志).这包括非常有用的诊断信息.
谢谢!
归档时间: |
|
查看次数: |
9393 次 |
最近记录: |