active-directory-xamarin-native-v2: Could not find any available provisioning profiles for UserDetailsClientiOS on iOS.

Hello, i downloaded the basic sample project, android run succesfully; but in ios not. error: Could not find any available provisioning profiles for UserDetailsClientiOS on iOS.

Im using Iphone 8 iOS 13.3 on visual studio 2019 with local connected mac.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 1
  • Comments: 24 (6 by maintainers)

Most upvoted comments

mmm without register a device… how can i do it? My tiny question.

Works! I have to register a device iOS and it works it. 😄

mmm without register a device… how can i do it? My tiny question.

For strange reasons, the final remedy to run iOS app on simulator, in case you are getting these errors.

  1. Just register any IPhone available with you, as a device in apple developer (https://developer.apple.com/account/resources/devices/list).

And automatic provisioning will get completed successfully, then you can run your app on simulator.

@ClayAchahui yay!! great news. :shipit:

Issue solved after install a provisioning profile for the bundleId

@ClayAchahui sounds good. glad it’s working. let us know if you run into any other issues.

I’m not good with my english; but i’m going to explain it:

I’m a new in xamarin, here mi coworkers don’t know about xamarin, i’m a first… So they said that to use MSAL i need a register a device iOS and other coworker said that iOS simulator was necessay, not a device. I tried it without device,only with simulator; but i didn’t find a sample using visual studio for windows connected with MAC without register a device on apple account. Now is working on visual studio with simulator but i have to register a device on apple account.

My app is working but i still have doubts.

Thanks for all. ❤️

@ClayAchahui you need to update the bundleId in the Info.plist to use your own: This is the one for the sample: com.yourcompany.UserDetailsClient

Try using your own BundleId and see if that resolves the issue.

automatic provisioning image image manual provisioning image

The official docs for this can be found here. That Stackoverflow question is related to xcode only, not Xamarin. The integration between Xamarin and Xcode is another topic. Also, don’t mix Xamarin iOS simulator vs xcode iOS simulator.