From 252a6dc09a4bb6d1468cb1e1e83e66dc523179ff Mon Sep 17 00:00:00 2001 From: truebit Date: Sun, 7 Sep 2014 02:11:13 +0800 Subject: [PATCH] Fixes #11: PBXContainerItemProxy may be duplicated with PBXReferenceProxy --- xUnique.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xUnique.py b/xUnique.py index 6901d2b..231a6c7 100755 --- a/xUnique.py +++ b/xUnique.py @@ -293,7 +293,7 @@ def file_dir_cmp(x, y): def __unique_project(self, project_hex): '''PBXProject. It is root itself, no parents to it''' self.vprint('uniquify PBXProject') - self.vprint('uniquify PBXGroup and PBXFileRef') + self.vprint('uniquify PBX*Group and PBX*Reference*') self.__unique_group_or_ref(project_hex, self.main_group_hex) self.vprint('uniquify XCConfigurationList') bcl_hex = self.root_node['buildConfigurationList'] @@ -354,7 +354,7 @@ def __unique_target_dependency(self, parent_hex, target_dependency_hex): def __unique_container_item_proxy(self, parent_hex, container_item_proxy_hex): '''PBXContainerItemProxy''' self.vprint('uniquify PBXContainerItemProxy') - self.__set_to_result(parent_hex, container_item_proxy_hex, 'remoteInfo') + self.__set_to_result(parent_hex, container_item_proxy_hex, ('isa','remoteInfo')) cur_path = self.__result[container_item_proxy_hex]['path'] current_node = self.nodes[container_item_proxy_hex] # re-calculate remoteGlobalIDString to a new length 32 MD5 digest