Skip to content

Commit 0674cb7

Browse files
[Apple] Add Privacy Manifest (#1778)
1 parent eb203c6 commit 0674cb7

File tree

8 files changed

+24
-0
lines changed

8 files changed

+24
-0
lines changed

SDK/AppCenter/Microsoft.AppCenter.Apple/Microsoft.AppCenter.Apple.Mono.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,7 @@
3838
<Frameworks>CoreTelephony Security SystemConfiguration</Frameworks>
3939
</NativeReference>
4040
</ItemGroup>
41+
<ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">
42+
<BundleResource Include="..\..\..\externals\apple\AppCenter-SDK-Apple\iOS\AppCenter.framework\PrivacyInfo.xcprivacy" LogicalName="PrivacyInfo.xcprivacy" />
43+
</ItemGroup>
4144
</Project>

SDK/AppCenter/Microsoft.AppCenter.Apple/Microsoft.AppCenter.Apple.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,7 @@
4646
<Frameworks>CoreTelephony Security SystemConfiguration</Frameworks>
4747
</NativeReference>
4848
</ItemGroup>
49+
<ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">
50+
<BundleResource Include="..\..\..\externals\apple\AppCenter-SDK-Apple\iOS\AppCenter.framework\PrivacyInfo.xcprivacy" LogicalName="PrivacyInfo.xcprivacy" />
51+
</ItemGroup>
4952
</Project>

SDK/AppCenterAnalytics/Microsoft.AppCenter.Analytics.Apple/Microsoft.AppCenter.Analytics.Apple.Mono.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@
3131
<Frameworks>IOKit</Frameworks>
3232
</NativeReference>
3333
</ItemGroup>
34+
<ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">
35+
<BundleResource Include="..\..\..\externals\apple\AppCenter-SDK-Apple\iOS\AppCenterAnalytics.framework\PrivacyInfo.xcprivacy" LogicalName="PrivacyInfo.xcprivacy" />
36+
</ItemGroup>
3437
<ItemGroup>
3538
<ProjectReference Include="..\..\AppCenter\Microsoft.AppCenter.Apple\Microsoft.AppCenter.Apple.Mono.csproj" />
3639
</ItemGroup>

SDK/AppCenterAnalytics/Microsoft.AppCenter.Analytics.Apple/Microsoft.AppCenter.Analytics.Apple.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
<Frameworks>IOKit</Frameworks>
4242
</NativeReference>
4343
</ItemGroup>
44+
<ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">
45+
<BundleResource Include="..\..\..\externals\apple\AppCenter-SDK-Apple\iOS\AppCenterAnalytics.framework\PrivacyInfo.xcprivacy" LogicalName="PrivacyInfo.xcprivacy" />
46+
</ItemGroup>
4447
<ItemGroup>
4548
<ProjectReference Include="..\..\AppCenter\Microsoft.AppCenter.Apple\Microsoft.AppCenter.Apple.csproj" />
4649
</ItemGroup>

SDK/AppCenterCrashes/Microsoft.AppCenter.Crashes.Apple/Microsoft.AppCenter.Crashes.Apple.Mono.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@
3535
<IsCxx>True</IsCxx>
3636
</NativeReference>
3737
</ItemGroup>
38+
<ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">
39+
<BundleResource Include="..\..\..\externals\apple\AppCenter-SDK-Apple\iOS\AppCenterCrashes.framework\PrivacyInfo.xcprivacy" LogicalName="PrivacyInfo.xcprivacy" />
40+
</ItemGroup>
3841
<ItemGroup>
3942
<ProjectReference Include="..\..\AppCenter\Microsoft.AppCenter.Apple\Microsoft.AppCenter.Apple.Mono.csproj" />
4043
</ItemGroup>

SDK/AppCenterCrashes/Microsoft.AppCenter.Crashes.Apple/Microsoft.AppCenter.Crashes.Apple.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@
4646
<IsCxx>True</IsCxx>
4747
</NativeReference>
4848
</ItemGroup>
49+
<ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">
50+
<BundleResource Include="..\..\..\externals\apple\AppCenter-SDK-Apple\iOS\AppCenterCrashes.framework\PrivacyInfo.xcprivacy" LogicalName="PrivacyInfo.xcprivacy" />
51+
</ItemGroup>
4952
<ItemGroup>
5053
<ProjectReference Include="..\..\AppCenter\Microsoft.AppCenter.Apple\Microsoft.AppCenter.Apple.csproj" />
5154
</ItemGroup>

SDK/AppCenterDistribute/Microsoft.AppCenter.Distribute.Apple/Microsoft.AppCenter.Distribute.Apple.Mono.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
<Link>Resources\AppCenterDistributeResources.bundle\%(RecursiveDir)%(Filename)%(Extension)</Link>
3131
</BundleResource>
3232
</ItemGroup>
33+
<ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">
34+
<BundleResource Include="..\..\..\externals\apple\AppCenter-SDK-Apple\iOS\AppCenterDistribute.framework\PrivacyInfo.xcprivacy" LogicalName="PrivacyInfo.xcprivacy" />
35+
</ItemGroup>
3336
<ItemGroup>
3437
<ProjectReference Include="..\..\AppCenter\Microsoft.AppCenter.Apple\Microsoft.AppCenter.Apple.Mono.csproj" />
3538
</ItemGroup>

SDK/AppCenterDistribute/Microsoft.AppCenter.Distribute.Apple/Microsoft.AppCenter.Distribute.Apple.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
<Link>Resources\AppCenterDistributeResources.bundle\%(RecursiveDir)%(Filename)%(Extension)</Link>
3030
</BundleResource>
3131
</ItemGroup>
32+
<ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">
33+
<BundleResource Include="..\..\..\externals\apple\AppCenter-SDK-Apple\iOS\AppCenterDistribute.framework\PrivacyInfo.xcprivacy" LogicalName="PrivacyInfo.xcprivacy" />
34+
</ItemGroup>
3235
<ItemGroup>
3336
<ProjectReference Include="..\..\AppCenter\Microsoft.AppCenter.Apple\Microsoft.AppCenter.Apple.csproj" />
3437
</ItemGroup>

0 commit comments

Comments
 (0)