{ path: 'reactnative/main.m', group: 'reactnative', buildPhase: 'resources' } -> reactnative is added as a directory
I believe the problem might be with reactnative being both the target name and directory with sources. If I change the reactnative directory name to HelloWorld, and then use { path: 'HelloWorld/main.m', group: 'reactnative', buildPhase: 'resources' } as source, main.m will be added correctly under the reactnative group.
My goal is to list the
reactnative
directory, which contains all my sources, as a group.I've tried different combinations specifying
sources: []
, e.g.{ path: 'reactnative', group: 'reactnative' }
->reactnative
is added as a directory{ path: 'reactnative', group: 'reactnative', buildPhase: 'resources' }
->xcodegen
freezes{ path: 'reactnative/main.m', group: 'reactnative', buildPhase: 'resources' }
->reactnative
is added as a directoryI believe the problem might be with
reactnative
being both the target name and directory with sources. If I change thereactnative
directory name toHelloWorld
, and then use{ path: 'HelloWorld/main.m', group: 'reactnative', buildPhase: 'resources' }
as source,main.m
will be added correctly under thereactnative
group.Any advice? 🙇