'No Matching Profile Found' While Selecting Distribution Profile For MAUI iOS Application In MAUI In Visual Studio MAC

Smit Rathod 20 Reputation points
2024-11-05T13:39:27.0066667+00:00
  • Visiting developer portal of apple

Created New App

  • Chosed iOS platform
  • Entered name, language, bundle ID (Same as in the source code), SKU with full access
  • Save

Added New Device

  • Go to certificates, identifiers & profiles
  • Chosen iOS platform, Entered Device name, UDID
  • Register

Created New Request File

  • Go to 'keychain access > Request the certificate from authority' from MAC
  • Entered username that used in developer portal
  • Saved a request file to disk

Added New Certificate

  • Software > iOS distribution
  • Import request file
  • Generated, downloaded & installed the certificate (Keychain access is showing the certificate)

Added New Profile

  • Distribution > Ad Hoc
  • Selected app ID that I created with offline support 'No'
  • Selected certificate that I created
  • Selected the device
  • Entered name of the profile
  • Generated, downloaded & installed the profile (Keychain access is showing the profile)

In visual studio mac, I have configured the same bundle ID as given while setting up above things. Both info.plist and .csproj is having the same bundle ID. Still it's says that 'No matching profile found'.

No matching profile found VS code MAC

The configuration & setup of my developer account is correct in visual studio MAC & XCode. Because when I tried with the developer profile, All things were gone fine (The profile was showing in the list and able to run application in simulator and the physical device using cable).

Having the same issues with Debug & Release configuration, All simulators selection, All devices (Remote & Physical) selection etc. Note that, Physical device is registered in the same application.

Tried deleting all the stuffs and re-configured all them, But still struggling.

After that I noticed below error in the developer portal. Assuming, It causing the issue. I am not sure about it. Anyone who knows about it?

Error in developer portal

While generating the IPA file using developer profile, It gives me IPA file. But I am not able to install it in my physical device that I registered in the developer portal.

IPA file using developer portal

I have tried to deliver the app with developer profile using transporter. But while verification, It says to use distributed profile.

I want to generate the IPA file from only visual studio for MAC to test it in the physical devices that I registered. But I am struggling as I mentioned in this post.

Developer technologies | .NET | .NET MAUI
Developer technologies | .NET | Other
Developer technologies | Visual Studio | Other
{count} votes

Accepted answer
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,436 Reputation points Microsoft External Staff
    2024-11-07T02:01:03.1266667+00:00

    Hello,

    Open Xcode, create a new empty iOS project with the same AppID as your MAUI project, go to Signing &Capabilities tab, uncheck Automatically manage signing, then see if you can select the distribution provisioning profile.

    As per your comment, I have created blank MAUI project from visual studio mac with same bundle ID. The distribution profile was shown in that project.

    After I accidentally switched back to my project. Don't know how but the distribution profile got listed in that application as well.

    It's caused by the caches and the provisioning profile synchronous.

    Best Regards,

    Wenyan Zhang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.