question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Argument list too long: recursive header expansion ...

See original GitHub issue

As was suggested in comments of PR https://github.com/tinycreative/react-native-intercom/pull/163

Could we improve this by being more specific? $(SRCROOT)/../../../ios/Pods/Intercom/

This library is not working for me not with manual install nor with pod based install (pod 'react-native-intercom', :path => '../node_modules/react-native-intercom') due to this error.

Is there some specific reason why this library has to search through everything in Pods?

Edit: btw. the problem, at least for me, is definitely when React is installed in Pods dir, there are just too many files to go through recursively as React brings a little something called node_modules into the play 😃

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:9
  • Comments:10

github_iconTop GitHub Comments

5reactions
mistenktcommented, Oct 8, 2018

Works fine on a fresh project with manual install, but as soon as i try to integrate this into an existing project that uses pods we get this issue.

Edit: Changing the Framework Search Paths in RNIntercom.xcodeproj fixes it.

Change this:

FRAMEWORK_SEARCH_PATHS = (
    $(inherited)",
    "~/Documents/Intercom",
    "$(SRCROOT)/../../../ios/**",
    "$(SRCROOT)/../../../ios/Pods/**",
    "$(SRCROOT)/../../../ios/Carthage/Build/**",
);

to this:

FRAMEWORK_SEARCH_PATHS = (
    $(inherited)",
    "$(SRCROOT)/../../../ios",
);
Read more comments on GitHub >

github_iconTop Results From Across the Web

Argument list too long: recursive header expansion failed #1407
Which implementation are you using. I'm using RNCamera. Steps to reproduce. following documentation ( npm install react-native-camera --save); react-native ...
Read more >
Argument list too long: recursive header expansion failed
I ran into a similar issue and had to go in and remove a few header search paths, as described here:.
Read more >
You have to edit your Framework Search Paths of ... - Medium
You have to edit your Framework Search Paths of RNCamera.xcodeproj. Go to,. “Argument list too long: recursive header expansion failed at…
Read more >
Argument list too long: recursive header expansion failed ...
Coding example for the question Argument list too long: recursive header expansion failed react-native-fcm (React Native)
Read more >
Issuehunt
Argument list too long : recursive header expansion failed #1407 · Which implementation are you using · Steps to reproduce · Expected behaviour...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found