HomeiOS Development.web - dotnet publish ios signing error : ASN1 corrupted information

.web – dotnet publish ios signing error : ASN1 corrupted information


I’m attempting to publish my .Web MAUI app to ios utilizing dotnet cli.
I exploit the next command:

dotnet publish -f net8.0-ios -c Launch -p:ArchiveOnBuild=true -p:RuntimeIdentifier=ios-arm64  -p:CodesignKey="Apple Distribution: XXXXXXXXX (123456789)" -p:CodesignProvision="myprofile"

I get the next output:

/usr/native/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8022/instruments/msbuild/iOS/Xamarin.Shared.targets(1805,3): error : ASN1 corrupted information. [/Users/david/RiderProjects/App/App.Mobile/App.Mobile.csproj::TargetFramework=net8.0-ios]

It isn’t the primary time I deploy to iOS, I additionally did Xamarin up to now, so the certificates, profiles and so forth are one thing I already did. I’m additionally in a position to construct and publish the identical app from CI/CD pipeline utilizing the identical command and certificates with out points. I examined totally different IDEs and it is the identical conduct.

I’m working regionally on a Mac M1 and I’m questioning if this is perhaps the issue. Nevertheless I did not discover any related situation associated to Mac M1 and maui deployment. I haven’t got any situation constructing or testing the app on simulator and don’t have any points in any respect publishing for android. It appears associated to the signing course of however I do not know easy methods to transfer on with the debug.

Any strategies are welcome, thanks.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments