class Xcodeproj::Project::Object::PBXContainerItemProxy


xcodeproj to raise because ti can’t find the UUID.
as the container portal might not be initialized leading
@todo: This class needs some work to support targets across workspaces,
targets.
other objects should not increase the retain count of the
part of another project. This implies that the references to
creating proper relationships because the other objects might be
@note This class references the other objects by UUID instead of
it usage see the specs of that class.
This class is referenced by {PBXTargetDependency} for information about
project contained in the same workspace of the project document.
Apparently a proxy for another object which might belong another

def proxied_object

Returns:
  • (AbstractObject) -
def proxied_object
  if remote?
    container_portal_file_ref = project.objects_by_uuid[container_portal]
    container_portal_object = Project.open(container_portal_file_ref.real_path)
  else
    container_portal_object = project
  end
  container_portal_object.objects_by_uuid[remote_global_id_string]
end

def remote?

Returns:
  • (Bool) -
def remote?
  project.root_object.uuid != container_portal
end