You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The same treatment that was done for FileReferences in: #633 needs to be considered for GroupReferences since groups can be nested in sub groups that use relative paths.
This can cause miscalculations like skipping over the parent group's folder while outputting the absolute file path.
Here is an example structure that would cause this:
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<Group
location = "group:MyGroup"
name = "MyGroup">
<Group
location = "group:MyRelativeToGroupSubGroup"
name = "MyRelativeToGroupSubGroup">
<FileRef
location = "group:Project1/Project1.xcodeproj">
</FileRef>
where Project1 is located at /path/to/workspace/MyGroup/MyRelativeToGroupSubGroup/Project1.xcodeproj. However FileReference.absolute_path now returns /path/to/workspace/MyRelativeToGroupSubGroup/Project1.xcodeproj
The text was updated successfully, but these errors were encountered:
Xcodeproj/lib/xcodeproj/workspace/group_reference.rb
Line 57 in e008997
The same treatment that was done for FileReferences in: #633 needs to be considered for GroupReferences since groups can be nested in sub groups that use relative paths.
This can cause miscalculations like skipping over the parent group's folder while outputting the absolute file path.
Here is an example structure that would cause this:
where
Project1
is located at/path/to/workspace/MyGroup/MyRelativeToGroupSubGroup/Project1.xcodeproj
. HoweverFileReference.absolute_path
now returns/path/to/workspace/MyRelativeToGroupSubGroup/Project1.xcodeproj
The text was updated successfully, but these errors were encountered: