         if let name = buildRule.name {
             identifiers.append(name)
         }
+
+        // Build rule
         if buildRule.reference.temporary {
             buildRule.reference.fix(generate(identifiers: identifiers))
         }

            self.proj = nil
        }

        // Projects and targets
        let identifiers = [String(describing: project), project.name]
        generateProjectAndTargets(project: project, identifiers: identifiers)

        // Groups
        if let mainGroup: PBXGroup = try? project.mainGroupReference.object() {
            try generateGroupReferences(mainGroup, identifiers: identifiers)
        }

            identifiers.append(name)
        }

        // Build phase
        if buildPhase.reference.temporary {
            buildPhase.reference.fix(generate(identifiers: identifiers))
        }

        // Build files
        buildPhase.filesReferences.forEach { buildFileReference in
            if !buildFileReference.temporary { return }

