Error: Argument list too long: recursive header
See original GitHub issueThis 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.
-
What version of RN and react-native-fcm are you running? “react-native”: “^0.44.0”, “react-native-fcm”: “^10.0.3”
-
What device are you using? (e.g iOS9 emulator, Android 6 device)? iOS11
-
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
Issue Analytics
- State:
- Created 6 years ago
- Comments:16 (8 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the same issue with react-native-fcm, how to fix that?
@Ghostrick can you try the master branch or provide a repo with this issue?