From 11426cb0f7e56c0ba793ff3cff0c76f9b5537e33 Mon Sep 17 00:00:00 2001 From: Stephan Dilly Date: Sat, 19 Sep 2020 15:09:36 +0200 Subject: [PATCH] add iOS Simulator platform without this we have to manually drop a `x86_64` builds of gdnative libs into the Xcode project to allow running in `iOS Simulator` (cherry picked from commit f49199bcc36311db7a74bc204d7bca047706bb62) --- modules/gdnative/gdnative_library_editor_plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/gdnative/gdnative_library_editor_plugin.cpp b/modules/gdnative/gdnative_library_editor_plugin.cpp index dbace8c16b3..bc05e5776a9 100644 --- a/modules/gdnative/gdnative_library_editor_plugin.cpp +++ b/modules/gdnative/gdnative_library_editor_plugin.cpp @@ -343,6 +343,7 @@ GDNativeLibraryEditor::GDNativeLibraryEditor() { platform_ios.name = "iOS"; platform_ios.entries.push_back("armv7"); platform_ios.entries.push_back("arm64"); + platform_ios.entries.push_back("x86_64"); // iOS can use both Static and Dynamic libraries. // Frameworks is actually a folder with files. platform_ios.library_extension = "*.framework; Framework, *.xcframework; Binary Framework, *.a; Static Library, *.dylib; Dynamic Library";