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 failed at

See original GitHub issue

I’m receiving the following message when try to build my project

Argument list too long: recursive header expansion failed at /Users/my-project/node_modules/react-native-intercom/iOS/../../../ios/Pods/React/node_modules/react-tools/src/renderers/dom/shared.

I’m trying to link the project manually

Any ideas?

Thank you in advanced

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:5
  • Comments:17 (1 by maintainers)

github_iconTop GitHub Comments

13reactions
holmesalcommented, Sep 28, 2017

It looks like this library recursively searches through $(SRCROOT)/../../../ios (recursive) by default, which can contain a ton of files. Changing the Framework Search Path to $(SRCROOT)/../../../ios/Pods (recursive) solves the problem for me.

Here’s the line of code.

And here’s what my Framework Search Paths look like, post-fix:

image

FYI, it was my DerivedData folder that was making my arguments list blow up. If I manually nuked that and then did a build it would work fine, but once that folder existed (and it’s got many, many files in it) builds would fail as well as cleans with an error message like @ferbass had originally.

6reactions
Xaber20110202commented, Oct 29, 2018
  1. open ./node_modules/react-native-intercom/iOS/RNIntercom.xcodeproj/project.pbxproj
  2. follow this change https://github.com/tinycreative/react-native-intercom/pull/163/files

works for me

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