How to make free provisioning profile to work in ios simulator on Windows? RRS feed

  • Question

  • User395928 posted

    So far I was developing a Xamarin.forms app. The ios simulator (pair to Mac) works fine before I introduced user authentication. After that it keeps throwing error: Could not find any available provisioning profiles for xxx.iOS on iOS. Is there a way to make free provisioning work in an ios simulator? I check the doc, free provisioning seems only work on a real ios device (which I dont have near me). And I didn't find 'single view app' option as well in vs 2019 for mac.

    If free provisioning doesn't work, is automatic provisioning the only way to make ios simulator work in visual studio on Windows?

    Monday, September 28, 2020 10:15 PM

All replies

  • User371688 posted

    You can just select your emulator in your visual studio when you deploy your app.

    For more details, you can check: https://docs.microsoft.com/en-us/xamarin/ios/get-started/hello-ios/hello-ios-quickstart?pivots=windows

    Tuesday, September 29, 2020 2:19 AM
  • User395928 posted

    @jezh I mentioned that the simulator works perfectly before. Do you mean to select the simulator when making provisioning profile? I tried to create it on my mac, but I didn't find 'single view app' on visual studio 2019 for mac.

    Tuesday, September 29, 2020 4:14 PM
  • User369979 posted

    Simulators don't require a provisioning profile. Which capability have you enabled? Some capabilities can only be supported by real physical devices i.e. remote notificaitons.

    Wednesday, September 30, 2020 8:40 AM
  • User395928 posted

    @LandLu After integrated msal for user authentication

    Wednesday, September 30, 2020 4:31 PM