cannot publish my .net maui app

I'm getting this error message

  

billbanks@Bills-Mac-P0 My Voice App % dotnet publish "/Users/billbanks/Desktop/vsprojects/My Voice App/MyVoiceApp6.csproj" --self-contained -f net7.0-ios -c Release -p:ArchiveOnBuild=true -p:RuntimeIdentifier=ios-arm64 -p:CodesignKey="Apple Distribution: Bill Banks (5Z8C2NPWCK)" -p:CodesignProvision="MyVoiceApp"

MSBuild version 17.9.6+a4ecab324 for .NET

  Determining projects to restore...

  All projects are up-to-date for restore.

/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/16.4.7142/tools/msbuild/iOS/Xamarin.Shared.targets(1725,3): error : No iOS signing identities match the specified provisioning profile 'MyVoiceApp'. [/Users/billbanks/Desktop/vsprojects/My Voice App/MyVoiceApp6.csproj::TargetFramework=net7.0-ios]

/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/16.4.7142/tools/msbuild/iOS/Xamarin.Shared.targets(1725,3): error : [/Users/billbanks/Desktop/vsprojects/My Voice App/MyVoiceApp6.csproj::TargetFramework=net7.0-ios]

billbanks@Bills-Mac-P0 My Voice App %


1 Reply

AJ AhamedAliNishad JahirHussain Syncfusion Team April 30, 2024 02:12 PM UTC

 

Hi Bill,

 

Based on the provided information , we have provided the general update below.

 

  1. Check Provisioning Profile: Ensure that the provisioning profile named 'MyVoiceApp' is correctly set up and associated with your iOS app in the Apple Developer portal. Double-check that the provisioning profile matches the bundle identifier and signing identity used in your project.
  2. Check Certificate Expiry: Verify that the signing certificate associated with your provisioning profile has not expired. If it has expired, you will need to renew the certificate and update the provisioning profile accordingly.
  3. Restart Visual Studio or Visual Studio for Mac: Occasionally, IDE-related issues can interfere with the code signing process. Try restarting Visual Studio or Visual Studio for Mac to see if it resolves the problem.
  4. Review Keychain Access: Check Keychain Access on your macOS system to ensure that all required certificates and keys are present and valid. Look for any expired or revoked certificates that may be causing issues.

 

Regards,

Ahamed Ali Nishad.


Loader.
Up arrow icon