Skip to content

Commit b5bfc28

Browse files
Fix iOS Entitlements
1 parent 43ddb73 commit b5bfc28

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

GitTrends/GitTrends.csproj

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@
2727
maccatalyst-x64;maccatalyst-arm64
2828
</RuntimeIdentifiers>
2929
</PropertyGroup>
30+
31+
<PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">
32+
<CodesignEntitlements>Platforms\iOS\Entitlements.plist</CodesignEntitlements>
33+
</PropertyGroup>
34+
35+
<PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">
36+
<CodesignEntitlements>Platforms\MacCatalyst\Entitlements.plist</CodesignEntitlements>
37+
</PropertyGroup>
3038

3139
<PropertyGroup Condition="'$(Configuration)' == 'Debug' ">
3240
<AndroidUseSharedRuntime>true</AndroidUseSharedRuntime>
@@ -35,6 +43,7 @@
3543
<MtouchLink>None</MtouchLink>
3644
<MtouchDebug>true</MtouchDebug>
3745
<EnableSGenConc>true</EnableSGenConc>
46+
<ProvisioningType>manual</ProvisioningType>
3847
<CodesignKey>Apple Development</CodesignKey>
3948
<AndroidLinkMode>None</AndroidLinkMode>
4049
</PropertyGroup>
@@ -45,7 +54,9 @@
4554
<AndroidLinkTool>r8</AndroidLinkTool>
4655
<AndroidEnableSGenConcurrent>true</AndroidEnableSGenConcurrent>
4756
<MtouchLink>SdkOnly</MtouchLink>
57+
<ProvisioningType>manual</ProvisioningType>
4858
<CodesignKey>Apple Development</CodesignKey>
59+
<CodesignProvision>GitTrends Development Profile</CodesignProvision>
4960
<OptimizePNGs>true</OptimizePNGs>
5061
<EnableSGenConc>true</EnableSGenConc>
5162
</PropertyGroup>
@@ -57,7 +68,9 @@
5768
<AndroidHttpClientHandlerType>Xamarin.Android.Net.AndroidClientHandler</AndroidHttpClientHandlerType>
5869
<AndroidEnableSGenConcurrent>true</AndroidEnableSGenConcurrent>
5970
<MtouchLink>SdkOnly</MtouchLink>
71+
<ProvisioningType>manual</ProvisioningType>
6072
<CodesignKey>Apple Development</CodesignKey>
73+
<CodesignProvision>GitTrends App Store</CodesignProvision>
6174
<OptimizePNGs>true</OptimizePNGs>
6275
<MtouchUseLlvm>true</MtouchUseLlvm>
6376
<EnableSGenConc>true</EnableSGenConc>

0 commit comments

Comments
 (0)