Introduce 'drivers/apple_embedded' abstract platform for code reuse

This commit is contained in:
Ricardo Sanchez-Saez 2025-05-14 12:04:10 +01:00
parent 34f005d810
commit 457299449d
Failed to extract signature
84 changed files with 6107 additions and 5411 deletions

View file

@ -406,7 +406,7 @@ namespace GodotTools.Export
{
if (platform == OS.Platforms.iOS && path.EndsWith(".dat", StringComparison.OrdinalIgnoreCase))
{
AddIosBundleFile(path);
AddAppleEmbeddedPlatformBundleFile(path);
}
else
{
@ -453,7 +453,7 @@ namespace GodotTools.Export
throw new InvalidOperationException("Failed to generate xcframework.");
}
AddIosEmbeddedFramework(xcFrameworkPath);
AddAppleEmbeddedPlatformEmbeddedFramework(xcFrameworkPath);
}
}

View file

@ -82,7 +82,7 @@ namespace {
String get_hostfxr_file_name() {
#if defined(WINDOWS_ENABLED)
return "hostfxr.dll";
#elif defined(MACOS_ENABLED) || defined(IOS_ENABLED)
#elif defined(MACOS_ENABLED) || defined(APPLE_EMBEDDED_ENABLED)
return "libhostfxr.dylib";
#else
return "libhostfxr.so";