[iOS Export] Fix adding static libs to the Xcode project.
This commit is contained in:
parent
e5b4ef8e95
commit
30babfc789
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue