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.

Error: Argument list too long: recursive header

See original GitHub issue

This error appears when I try to build my app. Any suggestions on how to fix it are appreciated.

Error: Showing All Messages Argument list too long: recursive header expansion failed at …/node_modules/react-native-fcm/ios/…/…/…/ios/Pods/React/node_modules/resolve/test/dotdot/abc.

  1. What version of RN and react-native-fcm are you running? “react-native”: “^0.44.0”, “react-native-fcm”: “^10.0.3”

  2. What device are you using? (e.g iOS9 emulator, Android 6 device)? iOS11

  3. Is your app running in foreground, background or not running? I can not start my app. I can not get the app to boot after upgrading fcm, my old version also no longer worked. I used the Cocoa Pods install method.

PodFile
target 'example' do
  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
  # use_frameworks!

  # Pods for Stripe
pod 'Stripe', '~> 11.2.0'
pod 'CodePush', :path => '../node_modules/react-native-code-push'
# Pods for CodePush
  # Your 'node_modules' directory is probably in the root of your project,
  # but if not, adjust the `:path` accordingly
  pod 'React', :path => '../node_modules/react-native', :subspecs => [
    'Core',
    'DevSupport', # Include this to enable In-App Devmenu if RN >= 0.43
    'RCTText',
    'RCTNetwork',
    'RCTWebSocket', # needed for debugging
    # Add any other subspecs you want to use in your project
  ]
# Explicitly include Yoga if you are using RN >= 0.42.0
 pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
 pod 'FirebaseMessaging'

# inherit! :search_paths

end

screenshot 2017-12-11 12 05 24

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:16 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
Luckygirlllllcommented, Feb 3, 2018

I have the same issue with react-native-fcm, how to fix that?

1reaction
evollucommented, Dec 13, 2017

@Ghostrick can you try the master branch or provide a repo with this issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

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 >
Argument list too long: recursive header expansion failed #1407
I had version 0.12.0, then I tried to upgrade to 1.1.4 and got the "Argument list..." error. Tried all solutions in this issue,...
Read more >
Argument list too long: recursive header expansion failed
Argument list too long: recursive header expansion failed. In the project's build settings, User Search Header Paths and Header Search Paths are two...
Read more >
Error : Argument list too long: recursive header expansion failed at ...
Error : Argument list too long: recursive header expansion failed at…” is published by Sandeep Kumar.
Read more >
Developers - IOS: Argument list too long: recursive header ...
I am getting below error while running from Xcode. Argument list too long: recursive header expansion failed at /node_modules/react-native-youtube/../.
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