I get points publishing my .Web MAUI app on iOS. It appears associated to the signing course of however I’m caught.
Right here is a part of the output when utilizing diagnose mode:
...
...
09:41:54.521 2>Cible "_DetectSigningIdentity : (IdCible:56)" dans le fichier "/usr/native/share/dotnet/packs/Microsoft.iOS.Sdk/16.4.7067/instruments/msbuild/iOS/Xamarin.Shared.targets" du projet "/Customers/david/Non-public/Initiatives/maui-jass/MauiJass.csproj" (la cible "_CoreCompileImageAssets" en dépend) :
Utilisation de la tâche "DetectSigningIdentity" à partir de l'meeting "/usr/native/share/dotnet/packs/Microsoft.iOS.Sdk/16.4.7067/instruments/msbuild/iOS/../iOS/Xamarin.iOS.Duties.dll".
Tâche "DetectSigningIdentity" (IDTâche:31)
Paramètre de tâche :CodesignProvision=jass (IDTâche:31)
Paramètre de tâche :ProvisioningProfile=jass (IDTâche:31)
Paramètre de tâche :RequireCodeSigning=True (IDTâche:31)
Paramètre de tâche :SdkPlatform=iPhoneOS (IDTâche:31)
Paramètre de tâche :SdkIsSimulator=False (IDTâche:31)
Paramètre de tâche :BundleIdentifier=ch.jass.maui (IDTâche:31)
Paramètre de tâche :AppBundleName=MauiJass (IDTâche:31)
Paramètre de tâche :TargetFrameworkMoniker=.NETCoreApp,Model=v7.0,Profile=ios (IDTâche:31)
Paramètre de tâche :SigningKey=Apple Distribution: DAVID XXXXXX (46F9H8K4Y5) (IDTâche:31)
09:41:54.533 2>/usr/native/share/dotnet/packs/Microsoft.iOS.Sdk/16.4.7067/instruments/msbuild/iOS/Xamarin.Shared.targets(1714,3): error : ASN1 corrupted information. [/Users/david/Private/Projects/maui-jass/MauiJass.csproj::TargetFramework=net7.0-ios]
Propriété en sortie : _AppIdentifier=ch.jass.maui (IDTâche:31)
Propriété en sortie : _CodesignAllocate=/Functions/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate (IDTâche:31)
Propriété en sortie : _DistributionType=Any (IDTâche:31)
Exécution de la tâche "DetectSigningIdentity" terminée -- ÉCHEC. (IDTâche:31)
09:41:54.534 2>Génération de la cible "_DetectSigningIdentity" terminée dans le projet "MauiJass.csproj" -- ÉCHEC. : (IdCible:56)
09:41:54.534 2>Génération du projet "/Customers/david/Non-public/Initiatives/maui-jass/MauiJass.csproj" terminée (Publish cible(s)) -- ÉCHEC.
09:41:54.534 1>Exécution de la tâche "MSBuild" terminée -- ÉCHEC. (IDTâche:3)
09:41:54.534 1>Génération de la cible "Publish" terminée dans le projet "MauiJass.sln" -- ÉCHEC. : (IdCible:5)
09:41:54.534 1>Génération du projet "/Customers/david/Non-public/Initiatives/maui-jass/MauiJass.sln" terminée (Publish cible(s)) -- ÉCHEC.
Ending with this error:
/usr/native/share/dotnet/packs/Microsoft.iOS.Sdk/16.4.7067/instruments/msbuild/iOS/Xamarin.Shared.targets(1714,3): error : ASN1 corrupted information. [/Users/david/Private/Projects/maui-jass/MauiJass.csproj::TargetFramework=net7.0-ios]
I’ve discovered a pair associated threads suggesting both to delete bin/obj and retry, or to not put the signing properties into the .csproj
file however instantly by command line. I attempted each methods and nonetheless get the identical outcomes.
One other one suggesting to recreate from scratch certificates and provisioning profiles. I eliminated all certificates from keychain and imported new ones. I’m nonetheless not in a position to go one step additional.
It additionally appears to occur with a model new .internet Maui undertaking.
Another be aware: the bundle signing tab is empty even in a brand new undertaking:
I’m able to run the app in debug mode with out points. I’m able to publish on android however not ios.
I’m working newest model of Visible Studio 2022 for MAC (17.6) and have utilized all newest XCode updates, and many others.
Undecided what might be unsuitable at this level.