You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
[iOS Export] Fix adding static libs to the Xcode project.
(cherry picked from commit 30babfc789)
This commit is contained in:
@@ -1220,7 +1220,7 @@ Error EditorExportPlatformIOS::_export_additional_assets(const String &p_out_dir
|
||||
if (asset.begins_with("res://")) {
|
||||
Error err = _copy_asset(p_out_dir, asset, nullptr, p_is_framework, p_should_embed, r_exported_assets);
|
||||
ERR_FAIL_COND_V(err, 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_out_dir, ProjectSettings::get_singleton()->localize_path(asset), nullptr, p_is_framework, p_should_embed, r_exported_assets);
|
||||
ERR_FAIL_COND_V(err, err);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user