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

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

Metadata

Metadata

Assignees

Labels

msbuildIssues affecting our msbuild tasks/targets

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions