Skip to content

Commit 0e50807

Browse files
committed
Merge pull request godotengine#90379 from bruvzg/ios_static_libs
[iOS Export] Fix adding static libs to the Xcode project.
2 parents 7fa4698 + 30babfc commit 0e50807

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/ios/export/export_plugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1316,7 +1316,7 @@ Error EditorExportPlatformIOS::_export_additional_assets(const Ref<EditorExportP
13161316
if (asset.begins_with("res://")) {
13171317
Error err = _copy_asset(p_preset, p_out_dir, asset, nullptr, p_is_framework, p_should_embed, r_exported_assets);
13181318
ERR_FAIL_COND_V(err != OK, err);
1319-
} else if (ProjectSettings::get_singleton()->localize_path(asset).begins_with("res://")) {
1319+
} else if (asset.is_absolute_path() && ProjectSettings::get_singleton()->localize_path(asset).begins_with("res://")) {
13201320
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);
13211321
ERR_FAIL_COND_V(err != OK, err);
13221322
} else {

0 commit comments

Comments
 (0)