Share via

Unable to publish .NET MAUI iOS application – "No iOS signing identities match the specified provisioning profile"

Suhas MR 0 Reputation points
2025-09-27T18:36:42.1033333+00:00

I am working on a .NET MAUI project targeting .NET 8 for both Android and iOS. The app builds and runs fine in debug mode on both platforms, and I can test it locally in the simulators without issues.

However, when I try to publish the iOS app, I encounter the following error:

User's image

The provisioning profile has been created correctly, and the certificate is properly linked to it through Keychain Access on the Mac. I can see the signing certificate listed in Keychain Access, and when I run the command security find-identity -v -p codesigning in the terminal, the signing certificate is displayed correctly.

I’m using the command dotnet publish .\EduPay\EduPay.csproj -f:net8.0-ios to publish the app. The same error also occurs when I try publishing through the GUI interface.

Environment Details:

Visual Studio: 17.14.16

macOS: Tahoe 26.0

Xcode: 16.4

Windows machine: .NET 8 and .NET 9 installed

Mac: .NET 8 installed

I also attempted upgrading the Mac to .NET 9 and tried publishing again, but the issue still persists.

I’d be very grateful if anyone could provide a suitable solution or an alternative method for publishing an iOS application using a .NET MAUI project.

Developer technologies | .NET | .NET Multi-platform App UI
0 comments No comments

2 answers

Sort by: Most helpful
  1. Anonymous
    2025-09-29T05:03:07.1366667+00:00

    Hello @Suhas MR !

    Thank you for reaching out in this platform!

    The error you are seeing usually means the provisioning profile you selected does not align with any valid signing certificate in your Mac’s Keychain. Even if the certificate appears in security find-identity, the build system won’t proceed unless the App ID, provisioning profile, and certificate all match.


    Steps to Resolve

    1. Verify Bundle Identifier ↔ App ID Please open your Info.plist and confirm the CFBundleIdentifier matches the App ID in the Apple Developer portal. Example:
         <key>CFBundleIdentifier</key>
         <string>com.yourcompany.edupay</string>
      
      Ensure the App ID has the correct capabilities (Push, Keychain, etc.) enabled.
    2. Confirm Certificate and Profile Pairing
      • In Keychain Access, please check that you have:
        • Apple Development: … for development builds, or
        • Apple Distribution: … for App Store/Ad Hoc builds.
      • In the Apple Developer portal, open your provisioning profile and verify:
        • The type matches your build (Development vs Distribution).
        • The profile includes the exact certificate you see in Keychain.
      • Then redownload the .mobileprovision file and copy it to:
         ~/Library/MobileDevice/Provisioning Profiles/
      
      In Xcode → Preferences > Accounts, refresh profiles.
    3. Configure Manual Signing in MAUI Instead of relying on automatic signing, you can explicitly set the signing identity and profile. Example in your .csproj:
         <PropertyGroup Condition="'$(Configuration)'=='Release' And '$(Platform)'=='iPhone'">
         <CodesignKey>Apple Distribution: Your Company (ABCDEFGHIJ)</CodesignKey>
         <CodesignProvision>12345678-ABCD-EF12-3456-ABCDEF123456</CodesignProvision>
         <EntitlementsFile>Entitlements.plist</EntitlementsFile>
         </PropertyGroup>
      
    • CodesignKey = the certificate name as shown in Keychain.
    • CodesignProvision = the UUID of the provisioning profile (visible in the .mobileprovision filename or Xcode).
    1. Validate with Xcode (if issues persist)
    • List valid identities:
         security find-identity -v -p codesigning
         Inspect the provisioning profile:
      
         security cms -D -i ~/Library/MobileDevice/Provisioning\ Profiles/UUID.mobileprovision
      
    • Then confirm:
      • TeamIdentifier matches your certificate’s Team ID.
      • application-identifier = TEAMID.com.yourcompany.edupay.
      If still failing, you can open the generated Xcode project and try Product > Archive to see detailed signing errors.

    I hope this helps! Let me know if the issue still persists! I would be happy to help!

    Was this answer helpful?

    1 person found this answer helpful.

  2. Starry Night 625 Reputation points
    2025-09-28T01:24:07.3133333+00:00

    When you encounter the error "No iOS signing identities match the specified provisioning profile", it indicates a mismatch between your provisioning profile and the signing identities on your machine. This issue often arises during app development in Xcode or Visual Studio.

    This problem is generally caused by the following reasons:

    1. Ensure Matching Bundle Identifier

    Ensure that the Bundle Identifier in your Info.plist matches the App ID in the Apple Developer portal.

    Example:

    <key>CFBundleIdentifier</key>
    <string>com.example.app</string>
    
    1. Verify Certificates and Provisioning Profiles

    Make sure that the certificates and provisioning profiles are correctly installed on your Mac. Export the certificate as a .p12 file from Keychain Access and import it into Visual Studio if you are using it.

    Example:

    # Export certificate as .p12 file
    
    1. Manual Provisioning in Visual Studio

    If you are using Visual Studio, set the iOS Bundle Signing to manual and select the appropriate signing identity and provisioning profile.

    1. Refresh Provisioning Profiles

    Sometimes, refreshing or re-downloading provisioning profiles can resolve the issue. In Visual Studio, reconnect to your Mac host and refresh the profiles

    Refer:

    No iOS signing iddentities match the specified provisioning profile "Name of profile"

    "No iOS code signing key matches specified provisioning profile" when debuggin on iPhone

    Was this answer helpful?


Your answer

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