locked
Is it possible to debug on my physical iPhone if I have remote Mac (MacInCloud)? RRS feed

  • Question

  • User88176 posted

    Hello, I'm googling whole day, cannot find straight answer. I want to debug my xamarin forms application in my iPhone. I'm developing via Visual Studio 2019, on windows machine. I have MacInCloud managed server subscription and apple developer account. I have added my iPhones UDID to development provisioning profiles (though I don't know, if that's necessary). Is it even possible, if I can not connect to my remote Mac via USB?

    Sunday, November 22, 2020 1:24 PM

Answers

  • User3516 posted

    @Silvaxxx try using the Hot Restart feature:

    https://docs.microsoft.com/de-de/xamarin/xamarin-forms/deploy-test/hot-restart

    https://www.youtube.com/watch?v=CTQxCndn5dg

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Monday, November 23, 2020 7:14 AM

All replies

  • User369978 posted

    Is it possible to debug on my physical iPhone if I have remote Mac (MacInCloud)?

    No , we can't debug on device with remote Mac (MacInCloud) .

    We can only just publish the app with TestFlight service and install it on real device .

    Monday, November 23, 2020 7:02 AM
  • User3516 posted

    @Silvaxxx try using the Hot Restart feature:

    https://docs.microsoft.com/de-de/xamarin/xamarin-forms/deploy-test/hot-restart

    https://www.youtube.com/watch?v=CTQxCndn5dg

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Monday, November 23, 2020 7:14 AM
  • User88176 posted

    @ColeX said:

    Is it possible to debug on my physical iPhone if I have remote Mac (MacInCloud)?

    No , we can't debug on device with remote Mac (MacInCloud) .

    We can only just publish the app with TestFlight service and install it on real device .

    Thank you, that is straight answer :) Is TestFlight app distribution is similar to AppCenter distribution - you have to create .ipa file (with release build)?

    @DirkWilhelm said: @Silvaxxx try using the Hot Restart feature:

    Cool, this is what I was searching for!
    However, I tried it and no strings are displayed in my app on device. I guess it is because this Hot Restart restriction?

    Resource catalogs are not currently supported. If you are using Hot Restart, your app displays the default icon and home screen for Xamarin apps. When coupled with or developed on a Mac, your resource catalogs will work.

    Monday, November 23, 2020 11:45 AM
  • User369978 posted

    Thank you, that is straight answer :) Is TestFlight app distribution is similar to AppCenter distribution - you have to create .ipa file (with release build)?

    Yes, check details in https://docs.microsoft.com/en-us/xamarin/ios/deploy-test/testflight?tabs=windows#submitting-your-build-1 .

    Tuesday, November 24, 2020 6:29 AM