Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release/8.0.1xx-sr7] [msbuild] Fix BundleResource defaults for iOS and MacCatalyst #23836

Merged

Conversation

github-actions[bot]
Copy link
Contributor

Backport of #23835 to release/8.0.1xx-sr7

/cc @PureWeen @dalexsoto

Fixes: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2172694
Fixes: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2172757

This PR #21350 added the new `PrivacyInfo.xcprivacy` to our default templates (new requirement from Apple) when building from Windows we try to bundle this resource and unfortunately we are missing the required Link metadata when this is done from single project triggering a condition where the path is incorrectly calculated when zipped in windows and once the zip archive is transfered to the mac host it is unable to unarchive the file. To fix this we simply unify the logic with what the macios SDK currently does [1] this ensures the right bundling happens.

[1]: https://github.com/xamarin/xamarin-macios/blob/main/dotnet/targets/Microsoft.Sdk.DefaultItems.template.props#L77
@github-actions github-actions bot requested a review from a team as a code owner July 25, 2024 19:36
@github-actions github-actions bot requested review from Eilon and rmarinho and removed request for a team July 25, 2024 19:36
@PureWeen
Copy link
Member

/azp run

Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@PureWeen PureWeen merged commit 911f058 into release/8.0.1xx-sr7 Jul 25, 2024
5 of 6 checks passed
@PureWeen PureWeen deleted the backport/pr-23835-to-release/8.0.1xx-sr7 branch July 25, 2024 22:12
@github-actions github-actions bot locked and limited conversation to collaborators Sep 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants