mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2026-03-18 20:02:25 +00:00
fix duplicate uuids
This commit is contained in:
@@ -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