diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-04-08 14:04:49 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-04-08 14:04:49 +0200 |
commit | 0e50807c55d4cb24a796e7ec2901cb78698e288b (patch) | |
tree | 7c6591d6ad0d8f56e026c1b51d0e626befd7c762 /platform/ios/export/export_plugin.cpp | |
parent | 7fa4698475ce0f267291397ad7504fef9b8af655 (diff) | |
parent | 30babfc789ad98adccc8c2f7be02849b8c841a84 (diff) | |
download | redot-engine-0e50807c55d4cb24a796e7ec2901cb78698e288b.tar.gz |
Merge pull request #90379 from bruvzg/ios_static_libs
[iOS Export] Fix adding static libs to the Xcode project.
Diffstat (limited to 'platform/ios/export/export_plugin.cpp')
-rw-r--r-- | platform/ios/export/export_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/export/export_plugin.cpp b/platform/ios/export/export_plugin.cpp index 82b4f6f904..dff4f844c7 100644 --- a/platform/ios/export/export_plugin.cpp +++ b/platform/ios/export/export_plugin.cpp @@ -1316,7 +1316,7 @@ Error EditorExportPlatformIOS::_export_additional_assets(const Ref<EditorExportP if (asset.begins_with("res://")) { Error err = _copy_asset(p_preset, p_out_dir, asset, nullptr, p_is_framework, p_should_embed, r_exported_assets); ERR_FAIL_COND_V(err != OK, err); - } else if (ProjectSettings::get_singleton()->localize_path(asset).begins_with("res://")) { + } else if (asset.is_absolute_path() && ProjectSettings::get_singleton()->localize_path(asset).begins_with("res://")) { Error err = _copy_asset(p_preset, p_out_dir, ProjectSettings::get_singleton()->localize_path(asset), nullptr, p_is_framework, p_should_embed, r_exported_assets); ERR_FAIL_COND_V(err != OK, err); } else { |