Skip to content

Copy dSYMs from xcframeworks next to the app's dSYM #23076

Description

@rolfbjarne

Copy dSYMs from xcframeworks next to the app's dSYM, so that they're added to the archive when the app is archived.

A workaround is to add this to the app's csproj:

<Target Name="CopydSYMsFromXCFrameworks" AfterTargets="_GenerateDSym">
    <ItemGroup>
        <dSYMsForXCFrameworks Include="@(_FrameworkNativeReference->'%(RootDir)%(Directory)/../dSYMs/%(Filename).framework.dSYM')" />
    </ItemGroup>
    <Copy SourceFolders="@(dSYMsForXCFrameworks)" DestinationFolder="$(AppBundleDir)/../" />
</Target>

See also #17318 and #14598.

Activity

  1. added
    msbuild
    on Jun 18, 2025
  2. modified the milestones: Future, .NET 10 on Jun 18, 2025
  3. added theissue type on Jun 18, 2025
  4. modified the milestones: .NET 10, .NET 11 on Oct 22, 2025
  5. self-assigned this
    on Jul 8, 2026
  6. added a commit that references this issue on Jul 23, 2026
    367be9b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

msbuild

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions