HomeiOS Developmentc# - Blazor Hybrid - iOS debug - Microsft.CSharp.dll not signed

c# – Blazor Hybrid – iOS debug – Microsft.CSharp.dll not signed


I am constructing an app on Blazor MAUI.

Android works positive (Debug and launch).
I pushed the code on my native mac system for debugging. Identical Visible Studio model.
When engaged on iOS, I face a problem the place the “debug” mode to my iPAD appears to return a “Didn’t Codesign” error.

This is the errors:

/usr/native/share/dotnet/packs/Microsoft.iOS.Sdk/16.4.7089/instruments/msbuild/iOS/Xamarin.Shared.targets(3,3): Error: /usr/bin/codesign exited with code 1:
/Customers/userName/Paperwork/GitHub/doc/AppName/bin/Debug/net7.0-ios/ios-arm64/AppName.app: code object isn't signed in any respect
In subcomponent: /Customers/userName/Paperwork/GitHub/doc/AppName/bin/Debug/net7.0-ios/ios-arm64/AppName.app/Microsoft.CSharp.dll (AppName)

Beneath one other error which appears to be linked to the Didn’t codesign

Failed To codesign 
/Customers/userName/Paperwork/GitHub/doc/AppName/bin/Debug/net7.0-ios/ios-arm64/AppName.app: code object isn't signed in any respect
In subcomponent: /Customers/userName/Paperwork/GitHub/doc/AppName/bin/Debug/net7.0-ios/ios-arm64/AppName.app/Microsoft.CSharp.dll (AppName)

The app appears to construct on MacOS (have a crash attributable to incompatibility of packages, however that is not what I am afraid of).
It simply does not need to construct on my native iOS System.
When I attempt to construct utilizing the iossimulator it has the identical error.

This is my property group for ios:

    <PropertyGroup Situation="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net7.0-ios|AnyCPU'">
      <CodesignProvision>Codesign Provision</CodesignProvision>
      <CodesignKey>CodeSign Key (FAKEKEY32)</CodesignKey>
      <CreatePackage>false</CreatePackage>
    </PropertyGroup>

I attempted :

  • Eradicating the false
  • Including some further arguments beneath the
    -${ProjectDir} hasn’t modified something
    -Many of the others ${} choices mainly crash the entire thing with a brand new error message

    • Including the /Customers/userName/Paperwork/GitHub/doc/AppName/bin/Debug/net7.0-ios/ios-arm64/AppName.app/ change the issue to System.Net.dll (which is beneath AppName.app as effectively)
    • Including the precise /Customers/userName/Paperwork/GitHub/doc/AppName/bin/Debug/net7.0-ios/ios-arm64/AppName.app/Microsoft.CSharp.dll returns an errSecInternalComponent attributable to unable to construct chain to self-signed root for signer xxxx
    • I attempted to create a brand new set of credentials to signal & modified from basic App Growth to IOS growth

I noticed this topic nevertheless it does not appear to resolve the issue

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments