未验证 提交 282c394b 编写于 作者: A Aleksey Kliger (λgeek) 提交者: GitHub

[AppleAppBuilder] misc Catalyst fixes (#51668)

上级 f39d544d
......@@ -40,7 +40,7 @@ set(HARDENED_RUNTIME_USE_ENTITLEMENTS_FILE
)
if("${HARDENED_RUNTIME}")
set_target_properties(%ProjectName% PROPERTIES XCODE_ATTRIBUTE_HARDENED_RUNTIME "YES")
set_target_properties(%ProjectName% PROPERTIES XCODE_ATTRIBUTE_ENABLE_HARDENED_RUNTIME "YES")
if("${HARDENED_RUNTIME_USE_ENTITLEMENTS_FILE}")
set_target_properties(%ProjectName% PROPERTIES XCODE_ATTRIBUTE_CODE_SIGN_ENTITLEMENTS "app.entitlements")
endif()
......
......@@ -57,7 +57,7 @@ public Xcode(string target, string arch)
string? nativeMainSource = null)
{
// bundle everything as resources excluding native files
var excludes = new List<string> { ".dll.o", ".dll.s", ".dwarf", ".m", ".h", ".a", ".bc", "libmonosgen-2.0.dylib" };
var excludes = new List<string> { ".dll.o", ".dll.s", ".dwarf", ".m", ".h", ".a", ".bc", "libmonosgen-2.0.dylib", "libcoreclr.dylib" };
if (stripDebugSymbols)
{
excludes.Add(".pdb");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册