You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in XCode, add folder to a group,
choose Create folder references instead of the default Create groups
add another folder with same name, to the same group
run xunique
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
The text was updated successfully, but these errors were encountered:
Sorry for the late reply.
Do you know what's the entry for folder references in Xcode project file? something starts with PBX???, like PBXGroup for groups.
when added as folder reference, it also adds to Copy Bundle Resources in Build Phases,
but for header and source files, it's not we want and typically we would remove it manually in Build Phases
to reproduce:
choose
Create folder references
instead of the defaultCreate groups
cause others disappear from XCode
note: when add same folder ref to different group, this issue won't happen
PS:
headers and sources are come from many sub modules with same folder structure
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
The text was updated successfully, but these errors were encountered: