2016-12-20 7 views
1

VS/SSHインストールが機能しないため、XamarinをMacに手動でインストールした後、過去2ヶ月間正常に動作しました。 OS XとXamarinはどちらも更新されましたが、私は軽微な方法で考えました。私が更新を取るのは、それが理由がないのですね。Macビルドエージェントが接続しなくなりました

とにかく、ここでは関係%LOCALAPPDATA%\Xamarin\Logs\14.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自体は正常に動作しています。そして、私はSSHを利用して、Mac Agentのログインに提供しているのと同じユーザーとして、これらのパスにアクセスできます。私はMacのXMAフォルダとPCのMonoTouchを削除しようとしましたが効果はありません。

私も8.2.1 Xcodeアップデートをインストールしようとしましたが、何かしましたが、結局上の状態に戻りました。ここでは、一時的に異なるものがあります。エラーが何も報告されず、1秒間正常にセットアップされたが、ビルドエージェントウィンドウが閉じられ、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:\src\GitHub\SarTag\SarTag.sln" (default target) (1) -> "c:\src\GitHub\SarTag\Beacon\Beacon.iOS\Beacon.iOS.csproj" (default target) (11) -> C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.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:\src\GitHub\SarTag\Beacon\Beacon.iOS\Beacon.iOS.csproj] 

ご協力いただければ幸いです!私はここに少し夢中になる。

+0

Macの接続に関する詳細なトラブルシューティングガイドがあります。詳細はhttps:// developer.xamarin.com/guides/ios/getting_started/installation/windows/connecting-to-mac/troubleshooting/ –

+0

ありがとうございましたが、私はすでに遠隔関連性があるように思える部分を行っています!私はここに新しいバグがあるかもしれないと思う。 –

+0

みなさん、これを見ていただきありがとうございました。コメント/調査の時間を借りて/ありがとうございました! –

答えて

0

は最終的にXamarin.iOSの互換性のあるバージョンを取得することによって、この作業を得ました私のMacにインストールされています。私は自分のPC版をダウングレードしようとしましたが、うまくいかなかったのです。 Xamarin's siteの作業バージョンが見つかりました。すべてのバージョンの表示をクリックし、Xamarin.iOS - > OS Xの下で10.3を選択してください。

2

トライマック(Xamarinブローカー)にXamarinプロセスを殺すために:プロセスのリストを表示するには

kill -9 {Xamarin PID} 

は使用:

ps aux 
+0

私のために働いたか、少なくともXamarinを終了しました。なぜこれが起きているのか、Xamarinのバグかもしれませんか? –

+0

それを試みただけでなく、再起動しました。無効。私はそれが新しいバグだと思う。もし私が賭けなければならなかったのは、アップルが原因だと言っていたが、Xamarinは修正しなければならないだろう。 –

関連する問題