Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix recursive header expansion error #290

Merged
merged 2 commits into from
Apr 27, 2018
Merged

Conversation

bmourat
Copy link
Contributor

@bmourat bmourat commented Apr 24, 2018

Fixes #246

@dhei
Copy link
Member

dhei commented Apr 24, 2018

@bmourat VSTS build (https://msmobilecenter.visualstudio.com/_permalink/_build/index?collectionId=27bf89de-9697-418a-accf-1aa125b22914&projectId=c5683969-a866-4281-b5c4-3a18f2414bc6&buildId=153026) failed probably because there's a release in flight and the npm version not yet exist. Just wait a bit and trigger the build again after the release.

@bmourat
Copy link
Contributor Author

bmourat commented Apr 24, 2018

@dhei thanks!

"$(SRCROOT)/../../react-native/React/Base",
"$(SRCROOT)/../../react-native/React/Modules",
"$(SRCROOT)/../../react-native/React/CSSLayout",
"$(SRCROOT)/../../react-native/React/Views",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding "$(SRCROOT)/../../../ios/Pods/Headers/Public/React/**" or non recursive variants would solve issues where React is added via CocoaPods

@dhei dhei closed this Apr 25, 2018
@dhei dhei reopened this Apr 25, 2018
@dhei
Copy link
Member

dhei commented Apr 25, 2018

Once #296 is merged, the Eslint error should go away.

@guperrot guperrot closed this Apr 25, 2018
@guperrot guperrot reopened this Apr 25, 2018
@guperrot guperrot closed this Apr 25, 2018
@guperrot guperrot reopened this Apr 25, 2018
@bmourat bmourat closed this Apr 25, 2018
@bmourat bmourat reopened this Apr 25, 2018
"$(inherited)",
);
HEADER_SEARCH_PATHS = "$(SRCROOT)/../../react-native/React/**";
HEADER_SEARCH_PATHS = (
"$(SRCROOT)/../../react-native/React/Base",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why narrowing down the header search paths from ** to 4 specific modules?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can't have recursive at root as it causes #246. So we try to limit to what we need.

@dhei
Copy link
Member

dhei commented Apr 26, 2018

Hi @bmourat, please verify react-native link on TestApp and blank new RN app. I will merge it once it's verified.

@dhei dhei merged commit 0b9407c into develop Apr 27, 2018
@dhei dhei deleted the fix/recursive-header-error branch April 27, 2018 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants