thekevinbrown/react-native-schemes-manager

Mono Repo Support

Closed this issue · 1 comments

Currently, we're working with a mono repo, using workspaces, along with a few other tools. None of which directly relate to the issue.

A common step after running yarn, is for us to go ahead and change header search paths in certain dependencies, from

${SRCROOT}/../../../ios/Pods/Headers/Public
to
${SRCROOT}/../../../mobile/ios/Pods/Headers/Public

Steps to reproduce the behavior

Change header search paths to fit your project's structure (would need to have a structure that's atypical).

Expected behavior

Using this package, everything seems to be building correctly, except it seems to not be respecting the altered header search paths. The interesting thing is that if I use an original scheme, it builds just fine. Its only when using a custom scheme that this becomes an issue.

Actual behavior

Build fails, saying it cannot find a file.

My issue actually wasn't related to mono repos at all, but rather #52