Skip to content

folder reference with same name has conflict hash value after xunique #47

@ZSaberLv0

Description

@ZSaberLv0

to reproduce:

  1. in XCode, add folder to a group,
    choose Create folder references instead of the default Create groups
  2. add another folder with same name, to the same group
  3. run xunique
  4. the folder reference with same name would result same hash values,
    cause others disappear from XCode

note: when add same folder ref to different group, this issue won't happen

PS:

  • why I need folder reference with same name:
    • add generated source files
    • add header and sources references for convenient for code browsing,
      headers and sources are come from many sub modules with same folder structure
  • why not add to different group:
    • that requires additional group and section names in pbxproj file
    • when sub modules changes, the pbxproj file changes,
      further more, the order of the sections in pbxproj file would change,
      causing the pbxproj file more inconvenient to manage by version control,
      especially when the pbxproj file are generated by script files

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions