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 ascii_plist_annotation
def ascii_plist_annotation " #{isa} " end
def container_portal_annotation
def container_portal_annotation if remote? " #{File.basename(project.objects_by_uuid[container_portal].real_path)} " else project.root_object.ascii_plist_annotation end end
def container_portal_object
def container_portal_object if remote? container_portal_file_ref = project.objects_by_uuid[container_portal] Project.open(container_portal_file_ref.real_path) else project end end
def proxied_object
-
(AbstractObject)-
def proxied_object container_portal_object.objects_by_uuid[remote_global_id_string] end
def remote?
-
(Bool)-
def remote? project.root_object.uuid != container_portal end
def to_hash_as(method = :to_hash)
def to_hash_as(method = :to_hash) hash = super if method == :to_ascii_plist hash['containerPortal'] = Nanaimo::String.new(container_portal, container_portal_annotation) end hash end