Forum Xamarin.iOS

Pair to Mac over Internet Xamarin.iOS

musamakmusamak Member

Is it possible with current version of VisualStudio and XCode 11.5 can we access the MacBuild machine over the internet?

I have configured Mac machine with remote login enabled, setup noip, setup SSH port forwarding 22 on router and below are the results.

Initially, Pair to Mac has got the fingerprint but after providing the username and password it failed to authenticate as in picture 2.

any ideas ? or some one already using Pair to Mac over the internet.

Answers

  • jezhjezh Member, Xamarin Team Xamurai

    You can recheck the following checklist first:

    1.Have you installed XCode on your Mac?
    2.Do you have the latest version of XCode?
    3.Have you opened up XCode on your Mac to agree to the terms and conditions. You must do this on first install, or on each upgrade that requires it.
    4.Have you installed Xamarin on your Mac?
    5.Are the Xamarin Versions the same on your PC and Mac?

    For more details, you can check:https://xamarinhelp.com/troubleshooting-connecting-xamarin-mac-agent/

    Besides,there is a similar question , you can check it here: https://stackoverflow.com/questions/43355708/could-not-retrieve-ssh-fingerprint-make-sure-that-mac-is-reachable-and-remote-l

  • musamakmusamak Member

    Hi jezh, Sorry for the late reply. Every thing seems to be OK and perfectly working on LAN. However when I try to connect from internet using static IP (However I can ping, tracrout, ssh into mac from StaticIP) it kept failing as I mentioned in above images.

    I am attaching the VS2019 Xamarin logs if anyone can suggest or help, thanks

    Xamarin.VisualStudio.Android.Setup.AndroidSdkSetup|Information|0|androidsdksetup: verify error:
    System.Net.Mqtt.Sdk.ClientPacketListener|Warning|0|Client vs10848usama - No packet has been sent in 30 seconds. Sending Ping to Server to maintain Keep Alive
    System.Net.Mqtt.Sdk.ClientPacketListener|Warning|0|Client vs10848usama - No packet has been sent in 30 seconds. Sending Ping to Server to maintain Keep Alive
    System.Net.Mqtt.Sdk.ClientPacketListener|Warning|0|Client vs10848usama - No packet has been sent in 30 seconds. Sending Ping to Server to maintain Keep Alive
    System.Net.Mqtt.Sdk.ClientPacketListener|Warning|0|Client vs10848usama - No packet has been sent in 30 seconds. Sending Ping to Server to maintain Keep Alive
    System.Net.Mqtt.Sdk.ClientPacketListener|Warning|0|Client vs10848usama - No packet has been sent in 30 seconds. Sending Ping to Server to maintain Keep Alive
    System.Net.Mqtt.Sdk.ClientPacketListener|Warning|0|Client vs10848usama - No packet has been sent in 30 seconds. Sending Ping to Server to maintain Keep Alive
    System.Net.Mqtt.Sdk.ClientPacketListener|Warning|0|Client vs10848usama - No packet has been sent in 30 seconds. Sending Ping to Server to maintain Keep Alive
    Xamarin.VisualStudio.IOS.MonoTouchFlavoredProject|Information|0|Pair to Mac is not connected, so the build will be performed offline. To do a full build please connect and try again.
    Xamarin.VisualStudio.IOS.MonoTouchFlavoredProject|Information|0|Build properties for D:\My Desktop\NGBS\TFS\MyApp\iOS\App.iOS.csproj: ContinueOnDisconnected: True, ServerAddress: , ArchiveOnBuild: False, IsAppDistribution: false, ArchivePath:
    System.Net.Mqtt.Sdk.ClientPacketListener|Warning|0|Client vs10848usama - No packet has been sent in 30 seconds. Sending Ping to Server to maintain Keep Alive
    System.Net.Mqtt.Sdk.ClientPacketListener|Warning|0|Client vs10848usama - No packet has been sent in 30 seconds. Sending Ping to Server to maintain Keep Alive
    Xamarin.Messaging.Integration.State.ServerStateContext|Information|0|Server State transition from DisconnectedState to ConfiguringState on 180.182.19.29 (180.182.19.29)
    Xamarin.Messaging.Integration.State.ServerStateContext|Information|0|Checking host configuration for connecting to '180.182.19.29'...
    Xamarin.Messaging.Integration.State.ServerStateContext|Information|0|Checking SSH configuration...
    Xamarin.Messaging.Integration.State.ServerStateContext|Information|0|Checking SSH configuration...
    System.Net.Mqtt.Sdk.ClientPacketListener|Warning|0|Client vs10848usama - No packet has been sent in 30 seconds. Sending Ping to Server to maintain Keep Alive
    System.Net.Mqtt.Sdk.ClientPacketListener|Warning|0|Client vs10848usama - No packet has been sent in 30 seconds. Sending Ping to Server to maintain Keep Alive
    System.Net.Mqtt.Sdk.ClientPacketListener|Warning|0|Client vs10848usama - No packet has been sent in 30 seconds. Sending Ping to Server to maintain Keep Alive
    System.Net.Mqtt.Sdk.ClientPacketListener|Warning|0|Client vs10848usama - No packet has been sent in 30 seconds. Sending Ping to Server to maintain Keep Alive
    System.Net.Mqtt.Sdk.ClientPacketListener|Warning|0|Client vs10848usama - No packet has been sent in 30 seconds. Sending Ping to Server to maintain Keep Alive
    System.Net.Mqtt.Sdk.ClientPacketListener|Warning|0|Client vs10848usama - No packet has been sent in 30 seconds. Sending Ping to Server to maintain Keep Alive
    System.Net.Mqtt.Sdk.ClientPacketListener|Warning|0|Client vs10848usama - No packet has been sent in 30 seconds. Sending Ping to Server to maintain Keep Alive
    Xamarin.Messaging.Integration.State.ServerStateContext|Information|0|Checking host configuration for connecting to '180.182.19.29'...
    Xamarin.Messaging.Integration.State.ServerStateContext|Information|0|Server State transition from ConfiguringState to DisconnectingState on 180.182.19.29 (180.182.19.29)
    Xamarin.Messaging.Integration.State.ServerStateContext|Information|0|Starting disconnection from 180.182.19.29...
    Xamarin.Messaging.Integration.State.ServerStateContext|Information|0|Starting disconnection from 180.182.19.29...
    Xamarin.Messaging.Integration.State.ServerStateContext|Information|0|Server State transition from DisconnectingState to DisconnectedState on 180.182.19.29 (180.182.19.29)
    Xamarin.Messaging.Integration.State.ServerStateContext|Information|0|The connection to '180.182.19.29' has been finished
    Xamarin.Messaging.Integration.State.ServerStateContext|Warning|0|Host '180.182.19.29' couldn't be configured because the user authentication has been cancelled
    Xamarin.VisualStudio.IOS.CommandHandlers.RunCommandHandlerBase|Information|0|An active connection to the Mac is required in order to launch the application. Please ensure the connection is established and try again
    System.Net.Mqtt.Sdk.ClientPacketListener|Warning|0|Client vs10848usama - No packet has been sent in 30 seconds. Sending Ping to Server to maintain Keep Alive
    System.Net.Mqtt.Sdk.ClientPacketListener|Warning|0|Client vs10848usama - No packet has been sent in 30 seconds. Sending Ping to Server to maintain Keep Alive
    System.Net.Mqtt.Sdk.ClientPacketListener|Warning|0|Client vs10848usama - No packet has been sent in 30 seconds. Sending Ping to Server to maintain Keep Alive
    System.Net.Mqtt.Sdk.ClientPacketListener|Warning|0|Client vs10848usama - No packet has been sent in 30 seconds. Sending Ping to Server to maintain Keep Alive
    System.Net.Mqtt.Sdk.ClientPacketListener|Warning|0|Client vs10848usama - No packet has been sent in 30 seconds. Sending Ping to Server to maintain Keep Alive
    System.Net.Mqtt.Sdk.ClientPacketListener|Warning|0|Client vs10848usama - No packet has been sent in 30 seconds. Sending Ping to Server to maintain Keep Alive
    Xamarin.Messaging.Integration.State.ServerStateContext|Information|0|Server State transition from DisconnectedState to ConfiguringState on 180.182.19.29 (180.182.19.29)
    Xamarin.Messaging.Integration.State.ServerStateContext|Information|0|Checking host configuration for connecting to '180.182.19.29'...
    Xamarin.Messaging.Integration.State.ServerStateContext|Information|0|Checking SSH configuration...
    System.Net.Mqtt.Sdk.ClientPacketListener|Warning|0|Client vs10848usama - No packet has been sent in 30 seconds. Sending Ping to Server to maintain Keep Alive
    Xamarin.Messaging.Integration.State.ServerStateContext|Information|0|Checking SSH configuration...

Sign In or Register to comment.