Open ZSaberLv0 opened 6 years ago
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.
it's something like this
/* Begin PBXBuildFile section */
04FE6AFC20D37C48008D2E1A /* zfsrc in Resources */ = {isa = PBXBuildFile; fileRef = 04FE6AFB20D37C48008D2E1A /* zfsrc */; };
04FE6AFE20D37CFC008D2E1A /* zfsrc in Resources */ = {isa = PBXBuildFile; fileRef = 04FE6AFD20D37CFB008D2E1A /* zfsrc */; };
...
/* Begin PBXFileReference section */
04FE6AFB20D37C48008D2E1A /* zfsrc */ = {isa = PBXFileReference; lastKnownFileType = folder; name = zfsrc; path = ../../../../../ZF/ZFCore/zfsrc; sourceTree = "<group>"; };
04FE6AFD20D37CFB008D2E1A /* zfsrc */ = {isa = PBXFileReference; lastKnownFileType = folder; name = zfsrc; path = ../../../../../ZF/ZFAlgorithm/zfsrc; sourceTree = "<group>"; };
...
/* Begin PBXGroup section */
E26189EC36AF05F05B0E5289D2564D10 /* ProjectFiles */ = {
isa = PBXGroup;
children = (
04FE6AFB20D37C48008D2E1A /* zfsrc */,
04FE6AFD20D37CFB008D2E1A /* zfsrc */,
...
/* Begin PBXResourcesBuildPhase section */
83745D09F71B763541FB81C529246249 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
04FE6AFE20D37CFC008D2E1A /* zfsrc in Resources */,
04FE6AFC20D37C48008D2E1A /* zfsrc in Resources */,
note:
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:
Create folder references
instead of the defaultCreate groups
note: when add same folder ref to different group, this issue won't happen
PS: