diff --git a/SDK/AppCenter/Microsoft.AppCenter.Apple/Microsoft.AppCenter.Apple.Mono.csproj b/SDK/AppCenter/Microsoft.AppCenter.Apple/Microsoft.AppCenter.Apple.Mono.csproj index 8e1aa0dc1..7c7f637ab 100644 --- a/SDK/AppCenter/Microsoft.AppCenter.Apple/Microsoft.AppCenter.Apple.Mono.csproj +++ b/SDK/AppCenter/Microsoft.AppCenter.Apple/Microsoft.AppCenter.Apple.Mono.csproj @@ -38,4 +38,7 @@ <Frameworks>CoreTelephony Security SystemConfiguration</Frameworks> </NativeReference> </ItemGroup> + <ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'"> + <BundleResource Include="..\..\..\externals\apple\AppCenter-SDK-Apple\iOS\AppCenter.framework\PrivacyInfo.xcprivacy" LogicalName="PrivacyInfo.xcprivacy" /> + </ItemGroup> </Project> \ No newline at end of file diff --git a/SDK/AppCenter/Microsoft.AppCenter.Apple/Microsoft.AppCenter.Apple.csproj b/SDK/AppCenter/Microsoft.AppCenter.Apple/Microsoft.AppCenter.Apple.csproj index 354cc05f2..a3e3d2544 100644 --- a/SDK/AppCenter/Microsoft.AppCenter.Apple/Microsoft.AppCenter.Apple.csproj +++ b/SDK/AppCenter/Microsoft.AppCenter.Apple/Microsoft.AppCenter.Apple.csproj @@ -46,4 +46,7 @@ <Frameworks>CoreTelephony Security SystemConfiguration</Frameworks> </NativeReference> </ItemGroup> + <ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'"> + <BundleResource Include="..\..\..\externals\apple\AppCenter-SDK-Apple\iOS\AppCenter.framework\PrivacyInfo.xcprivacy" LogicalName="PrivacyInfo.xcprivacy" /> + </ItemGroup> </Project> \ No newline at end of file diff --git a/SDK/AppCenterAnalytics/Microsoft.AppCenter.Analytics.Apple/Microsoft.AppCenter.Analytics.Apple.Mono.csproj b/SDK/AppCenterAnalytics/Microsoft.AppCenter.Analytics.Apple/Microsoft.AppCenter.Analytics.Apple.Mono.csproj index 223859ca2..05d70049f 100644 --- a/SDK/AppCenterAnalytics/Microsoft.AppCenter.Analytics.Apple/Microsoft.AppCenter.Analytics.Apple.Mono.csproj +++ b/SDK/AppCenterAnalytics/Microsoft.AppCenter.Analytics.Apple/Microsoft.AppCenter.Analytics.Apple.Mono.csproj @@ -31,6 +31,9 @@ <Frameworks>IOKit</Frameworks> </NativeReference> </ItemGroup> + <ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'"> + <BundleResource Include="..\..\..\externals\apple\AppCenter-SDK-Apple\iOS\AppCenterAnalytics.framework\PrivacyInfo.xcprivacy" LogicalName="PrivacyInfo.xcprivacy" /> + </ItemGroup> <ItemGroup> <ProjectReference Include="..\..\AppCenter\Microsoft.AppCenter.Apple\Microsoft.AppCenter.Apple.Mono.csproj" /> </ItemGroup> diff --git a/SDK/AppCenterAnalytics/Microsoft.AppCenter.Analytics.Apple/Microsoft.AppCenter.Analytics.Apple.csproj b/SDK/AppCenterAnalytics/Microsoft.AppCenter.Analytics.Apple/Microsoft.AppCenter.Analytics.Apple.csproj index 788698a04..b4007ef7d 100644 --- a/SDK/AppCenterAnalytics/Microsoft.AppCenter.Analytics.Apple/Microsoft.AppCenter.Analytics.Apple.csproj +++ b/SDK/AppCenterAnalytics/Microsoft.AppCenter.Analytics.Apple/Microsoft.AppCenter.Analytics.Apple.csproj @@ -41,6 +41,9 @@ <Frameworks>IOKit</Frameworks> </NativeReference> </ItemGroup> + <ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'"> + <BundleResource Include="..\..\..\externals\apple\AppCenter-SDK-Apple\iOS\AppCenterAnalytics.framework\PrivacyInfo.xcprivacy" LogicalName="PrivacyInfo.xcprivacy" /> + </ItemGroup> <ItemGroup> <ProjectReference Include="..\..\AppCenter\Microsoft.AppCenter.Apple\Microsoft.AppCenter.Apple.csproj" /> </ItemGroup> diff --git a/SDK/AppCenterCrashes/Microsoft.AppCenter.Crashes.Apple/Microsoft.AppCenter.Crashes.Apple.Mono.csproj b/SDK/AppCenterCrashes/Microsoft.AppCenter.Crashes.Apple/Microsoft.AppCenter.Crashes.Apple.Mono.csproj index 9526f0c49..d3120ab52 100644 --- a/SDK/AppCenterCrashes/Microsoft.AppCenter.Crashes.Apple/Microsoft.AppCenter.Crashes.Apple.Mono.csproj +++ b/SDK/AppCenterCrashes/Microsoft.AppCenter.Crashes.Apple/Microsoft.AppCenter.Crashes.Apple.Mono.csproj @@ -35,6 +35,9 @@ <IsCxx>True</IsCxx> </NativeReference> </ItemGroup> + <ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'"> + <BundleResource Include="..\..\..\externals\apple\AppCenter-SDK-Apple\iOS\AppCenterCrashes.framework\PrivacyInfo.xcprivacy" LogicalName="PrivacyInfo.xcprivacy" /> + </ItemGroup> <ItemGroup> <ProjectReference Include="..\..\AppCenter\Microsoft.AppCenter.Apple\Microsoft.AppCenter.Apple.Mono.csproj" /> </ItemGroup> diff --git a/SDK/AppCenterCrashes/Microsoft.AppCenter.Crashes.Apple/Microsoft.AppCenter.Crashes.Apple.csproj b/SDK/AppCenterCrashes/Microsoft.AppCenter.Crashes.Apple/Microsoft.AppCenter.Crashes.Apple.csproj index 72f737626..528219023 100644 --- a/SDK/AppCenterCrashes/Microsoft.AppCenter.Crashes.Apple/Microsoft.AppCenter.Crashes.Apple.csproj +++ b/SDK/AppCenterCrashes/Microsoft.AppCenter.Crashes.Apple/Microsoft.AppCenter.Crashes.Apple.csproj @@ -46,6 +46,9 @@ <IsCxx>True</IsCxx> </NativeReference> </ItemGroup> + <ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'"> + <BundleResource Include="..\..\..\externals\apple\AppCenter-SDK-Apple\iOS\AppCenterCrashes.framework\PrivacyInfo.xcprivacy" LogicalName="PrivacyInfo.xcprivacy" /> + </ItemGroup> <ItemGroup> <ProjectReference Include="..\..\AppCenter\Microsoft.AppCenter.Apple\Microsoft.AppCenter.Apple.csproj" /> </ItemGroup> diff --git a/SDK/AppCenterDistribute/Microsoft.AppCenter.Distribute.Apple/Microsoft.AppCenter.Distribute.Apple.Mono.csproj b/SDK/AppCenterDistribute/Microsoft.AppCenter.Distribute.Apple/Microsoft.AppCenter.Distribute.Apple.Mono.csproj index 524ce6f55..53e9ad385 100644 --- a/SDK/AppCenterDistribute/Microsoft.AppCenter.Distribute.Apple/Microsoft.AppCenter.Distribute.Apple.Mono.csproj +++ b/SDK/AppCenterDistribute/Microsoft.AppCenter.Distribute.Apple/Microsoft.AppCenter.Distribute.Apple.Mono.csproj @@ -30,6 +30,9 @@ <Link>Resources\AppCenterDistributeResources.bundle\%(RecursiveDir)%(Filename)%(Extension)</Link> </BundleResource> </ItemGroup> + <ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'"> + <BundleResource Include="..\..\..\externals\apple\AppCenter-SDK-Apple\iOS\AppCenterDistribute.framework\PrivacyInfo.xcprivacy" LogicalName="PrivacyInfo.xcprivacy" /> + </ItemGroup> <ItemGroup> <ProjectReference Include="..\..\AppCenter\Microsoft.AppCenter.Apple\Microsoft.AppCenter.Apple.Mono.csproj" /> </ItemGroup> diff --git a/SDK/AppCenterDistribute/Microsoft.AppCenter.Distribute.Apple/Microsoft.AppCenter.Distribute.Apple.csproj b/SDK/AppCenterDistribute/Microsoft.AppCenter.Distribute.Apple/Microsoft.AppCenter.Distribute.Apple.csproj index ede98b465..3d50fa7a6 100644 --- a/SDK/AppCenterDistribute/Microsoft.AppCenter.Distribute.Apple/Microsoft.AppCenter.Distribute.Apple.csproj +++ b/SDK/AppCenterDistribute/Microsoft.AppCenter.Distribute.Apple/Microsoft.AppCenter.Distribute.Apple.csproj @@ -29,6 +29,9 @@ <Link>Resources\AppCenterDistributeResources.bundle\%(RecursiveDir)%(Filename)%(Extension)</Link> </BundleResource> </ItemGroup> + <ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'"> + <BundleResource Include="..\..\..\externals\apple\AppCenter-SDK-Apple\iOS\AppCenterDistribute.framework\PrivacyInfo.xcprivacy" LogicalName="PrivacyInfo.xcprivacy" /> + </ItemGroup> <ItemGroup> <ProjectReference Include="..\..\AppCenter\Microsoft.AppCenter.Apple\Microsoft.AppCenter.Apple.csproj" /> </ItemGroup>