I can't connect to Mac with Xamarin Mac Agent from Visual Studio 2015

前端 未结 15 1628
一生所求
一生所求 2020-12-08 15:07

I\'m continuing my adventure with Xamarin.

I\'m developing an Xamarin Forms application with a Portable Class Libraries (PCL).

I have compiled and debugged my

相关标签:
15条回答
  • 2020-12-08 15:32

    You have to try delete everything from

    %localappdata%\Xamarin\MonoTouch
    

    It helped me, I had the same (or similar) problem today.

    0 讨论(0)
  • 2020-12-08 15:33

    In my case I could not connect to XCode because "XCode" file wasn't located at the "Application" folder on MacOS. When the "XCode" app was moved to "Application" folder, I had connect.

    0 讨论(0)
  • 2020-12-08 15:34

    I tried a few of the solutions mentioned here and had no success.

    However (though not ideal) if I run Visual Studio in Administrator Mode I can successfully connect. Could be a work around for some until a better solution is found.

    0 讨论(0)
  • 2020-12-08 15:34

    Ignored the agent that Visual Studio wizard showed. Something about the Mac computer name VS didn't understand.

    I did 'Add Mac', used the IP address, then it connected. That was annoying.

    0 讨论(0)
  • 2020-12-08 15:35

    This is not perfect solution, but made success in my case

    Your mac account should not contain any special characters- This is limitation in connection to mac from windows

    company-mac1 --- wrong

    comapanymac1 --- Correct

    0 讨论(0)
  • 2020-12-08 15:35

    For what it's worth I just solved this issue by checking the logs as noted above and in the Xamarin Troubleshooting docs. It turned out to be mismatched iOS versions. Once I updated the Mac version it worked.

    0 讨论(0)
提交回复
热议问题