Skip to content

Commit

Permalink
Update MacTemplateTest.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpeppers committed Jan 21, 2025
1 parent e438467 commit 882c45e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ public void CheckPrivacyManifestForiOS(string id, string config, string framewor
{
buildWithCodeSignProps.Add("EnableCodeSigning=true");
}
buildWithCodeSignProps.Add("TrimMode=full"); // Project has trimmer warnings with TrimMode=partial

Assert.IsTrue(DotnetInternal.New(id, projectDir, framework), $"Unable to create template {id}. Check test output for errors.");
Assert.IsTrue(DotnetInternal.Build(projectFile, config, framework: $"{framework}-ios", properties: buildWithCodeSignProps, msbuildWarningsAsErrors: true),
Expand Down

0 comments on commit 882c45e

Please sign in to comment.