[iOS] Fix embedding of plugin libraries
This commit is contained in:
parent
eba982b9a3
commit
6d67827f4e
1 changed files with 3 additions and 2 deletions
|
@ -1359,8 +1359,9 @@ Error EditorExportPlatformIOS::_export_ios_plugins(const Ref<EditorExportPreset>
|
||||||
// Export plugin binary.
|
// Export plugin binary.
|
||||||
String plugin_main_binary = get_plugin_main_binary(plugin, p_debug);
|
String plugin_main_binary = get_plugin_main_binary(plugin, p_debug);
|
||||||
String plugin_binary_result_file = plugin.binary.get_file();
|
String plugin_binary_result_file = plugin.binary.get_file();
|
||||||
|
// We shouldn't embed .xcframework that contains static libraries.
|
||||||
err = _copy_asset(dest_dir, plugin_main_binary, &plugin_binary_result_file, true, true, r_exported_assets);
|
// Static libraries are not embedded anyway.
|
||||||
|
err = _copy_asset(dest_dir, plugin_main_binary, &plugin_binary_result_file, true, false, r_exported_assets);
|
||||||
|
|
||||||
ERR_FAIL_COND_V(err, err);
|
ERR_FAIL_COND_V(err, err);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue