Skip to content

Instantly share code, notes, and snippets.

@trnktms
Last active July 5, 2023 13:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trnktms/f44ae7ef295a0a816d8aeb55a03b4f0f to your computer and use it in GitHub Desktop.
Save trnktms/f44ae7ef295a0a816d8aeb55a03b4f0f to your computer and use it in GitHub Desktop.
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<!-- 'Test' OR 'Prod', 'Test' by default -->
<Environment>Test</Environment>
<!-- Use distribution provision profile or development, false by default -->
<Distribute>false</Distribute>
<DefineConstants>ENV_$(Environment)</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)'=='net6.0-ios'">
<ProvisioningType>automatic</ProvisioningType>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)'=='net6.0-ios' and '$(Distribute)' == true">
<ProvisioningType>manual</ProvisioningType>
<CodesignKey>iPhone Distribution: Account Name (Account ID)</CodesignKey>
<CodesignProvision>MyApplicationDistribution</CodesignProvision>
</PropertyGroup>
</Project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment