-
-
Save chamons/84baa6983aa6b9f8cec5bf81b023aa00 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- All msbuild target logic needs to be inside a project tag --> | |
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<!-- These targets will fire after mmp creates your bundle but before code signing --> | |
<PropertyGroup> | |
<CreateAppBundleDependsOn>$(CreateAppBundleDependsOn);DeleteDysymFiles</CreateAppBundleDependsOn> | |
</PropertyGroup> | |
<Target Name="DeleteDysymFiles"> | |
<PropertyGroup> | |
<MonoBundleFullPath>$([System.IO.Path]::GetFullPath(`$(AppBundleDir)/Contents/MonoBundle/`))</MonoBundleFullPath> | |
</PropertyGroup> | |
<ItemGroup> | |
<FoldersInsideMonoBundle Include="$([System.IO.Directory]::GetDirectories(`$(MonoBundleFullPath)`))" /> | |
<DebugSymbolFolders Include="@(FoldersInsideMonoBundle)" Condition="%(Extension) == '.dSYM'" /> | |
</ItemGroup> | |
<RemoveDir Directories="@(DebugSymbolFolders)" /> | |
</Target> | |
</Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment