summaryrefslogtreecommitdiff
path: root/platform/iphone
diff options
context:
space:
mode:
authorIgnacio Roldán Etcheverry <neikeq@users.noreply.github.com>2021-10-17 22:38:03 +0200
committerGitHub <noreply@github.com>2021-10-17 22:38:03 +0200
commit5b278ad7bcf3d2a177a0c629869bc0cb800705b1 (patch)
tree3b41cfb7511a33252f6f11b2990bcfa0202b627a /platform/iphone
parent468b987aa38b21b55c1cd8a8d4c03b8e1b2a1373 (diff)
iOS: Don't embed project static frameworks/libs
Previously, files added via `add_ios_project_static_libs` where being added as embedded frameworks. This commit fixes that. Static frameworks/libs should never be embedded into IPAs.
Diffstat (limited to 'platform/iphone')
-rw-r--r--platform/iphone/export/export_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/iphone/export/export_plugin.cpp b/platform/iphone/export/export_plugin.cpp
index a561da41c0..60fcbb68d3 100644
--- a/platform/iphone/export/export_plugin.cpp
+++ b/platform/iphone/export/export_plugin.cpp
@@ -1105,7 +1105,7 @@ Error EditorExportPlatformIOS::_export_additional_assets(const String &p_out_dir
for (int j = 0; j < project_static_libs.size(); j++) {
project_static_libs.write[j] = project_static_libs[j].get_file(); // Only the file name as it's copied to the project
}
- err = _export_additional_assets(p_out_dir, project_static_libs, true, true, r_exported_assets);
+ err = _export_additional_assets(p_out_dir, project_static_libs, true, false, r_exported_assets);
ERR_FAIL_COND_V(err, err);
Vector<String> ios_bundle_files = export_plugins[i]->get_ios_bundle_files();