mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2026-11-18 20:15:11 +00:00
fix duplicate uuids
This commit is contained in:
1 parent
63bdd95a6b
commit
b71eb02496
2 files changed
+17
-16
No files matched your search
@@ -52,6 +52,7 @@ public class PBXProjGenerator {
|
||||
counter += 1
|
||||
uuid = "\(classAcronym)\(stringID)\(String(format: "%02d", counter))"
|
||||
} while (uuids.contains(uuid))
|
||||
uuids.insert(uuid)
|
||||
return uuid
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user