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

前端 未结 15 1856
一生所求
一生所求 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:39

    I have found the solution about my problem. I have done the following steps:

    1. In my Windows: I have removed the content from "%localappdata%\Xamarin\MonoTouch."
    2. In Mac terminal: Remove the authorized_keys Mac file ("rm /Users/macmini2/.ssh/authorized_keys" in my case)
    3. In Mac terminal: chmod g-w /Users/macmini2/
    4. In Mac terminal: chmod 700 /Users/macmini2/.ssh/
    5. In Mac terminal: Create a empty file: /Users/macmini2/.ssh/authorized_keys (with vim, for example)
    6. In Mac terminal: chmod 600 /Users/macmini2/.ssh/authorized_keys
    7. On Visual Studio: Login with Xamarin Mac Agent
    8. On Visual Studio: Run the application with [Debug] - [iPhoneSimulator] - [iPhone 5 iOS 8.1]
    9. And finally, the simulator runs on Mac computer.

    This link helped me.

提交回复
热议问题