Skip to content

Fix mono ios build with /p:KeepNativeSymbols=true #118525

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

BrzVlad
Copy link
Member

@BrzVlad BrzVlad commented Aug 8, 2025

No description provided.

BrzVlad added 2 commits August 8, 2025 12:02
…round

If we build repo with `/p:KeepNativeSymbols` they are not created and build fails.
@Copilot Copilot AI review requested due to automatic review settings August 8, 2025 10:59
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes the Mono iOS build when using the /p:KeepNativeSymbols=true parameter by updating file existence checks in the MSBuild configuration to be more precise about which files actually exist before including them as artifacts.

  • Replaces broad framework directory existence checks with specific file existence checks for DWARF symbol files
  • Removes redundant framework directory checks when the Versions directory structure is present
  • Ensures proper artifact inclusion for both release and debug framework configurations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants