Skip to content

Instantly share code, notes, and snippets.

@vhugogarcia
Last active June 29, 2022 11:06
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vhugogarcia/1d417e5d837769a5ce72fa290642f279 to your computer and use it in GitHub Desktop.
Save vhugogarcia/1d417e5d837769a5ce72fa290642f279 to your computer and use it in GitHub Desktop.
.NET MAUI Setting code signing keys for iOS physical devices
<!-- For non sim (emulators): $(RuntimeIdentifier.StartsWith('iossimulator-')) -->
<!-- For physical devices: $(RuntimeIdentifier.StartsWith('ios-')) -->
<PropertyGroup Condition="$(TargetFramework.Contains('-ios')) and '$(Configuration)' == 'Debug' and $(RuntimeIdentifier.StartsWith('ios-'))">
<RuntimeIdentifier>ios-arm64</RuntimeIdentifier>
<!-- Remove the following line if entitlements are not required -->
<CodesignEntitlement>Entitlements.plist</CodesignEntitlement>
<!-- Set the Apple Certificate Key name -->
<CodesignKey>Apple Development Key(ABCDEF)</CodesignKey>
<!-- Set the Apple Provisioning Profile name -->
<CodesignProvision>App Development Profile</CodesignProvision>
<MtouchLink>None</MtouchLink>
<TrimMode>copyused</TrimMode>
</PropertyGroup>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment