-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Argument list too long: recursive header expansion failed #294
Comments
Please check your Header paths in xCode, there seems to be an issue with the paths which are being set. |
I am experiencing this issue too after migrating from 1.x to 2.0.5. |
@vsrboth Have you installed
And remove the manual linking.
|
I'm not too sure with the problem, but seems like we need to add the following to the pod file
Then everything is working fine without any track of error or duplication anymore. |
@vsrboth This is already part of the installation instructions: http://invertase.io/react-native-firebase/#/installation-ios?id=_21-add-the-required-pods |
it would be great to update the source to specifically tell developer to add that into the pod file. |
@vsrboth what do you mean by the source? |
@Ehesp Sorry for my typo. I mean it would be great to mention directly in the instruction http://invertase.io/react-native-firebase/#/installation-ios?id=_21-add-the-required-pods. |
@vsrboth It does already say to add React and Yoga if you do not already have them as pods |
@chrisbianca It's a bit confusing to me. Sorry if I'm being non-sense here (bow) |
I have updated the wording to read:
|
@chrisbianca Thank you so much. It's very understandable now comparing to the previous text
|
I fixed my problem. In my case, I already have React in my Xcode project and added React in Pod again. In my case, after removing Xcode's Derived Data, it works. |
@vsrboth I try to add yoga and react like you but I can't fix my problem, Can you explain me more how you fixed this thank :) |
I have the code provided by @vsrboth on the 2nd of August in my PodFile and still get the error... |
Same problem when I want to run my application via Xcode. Error message is: Argument list too long: recursive header expansion failed at /Users/bsevindi/Desktop/projects/aracqr/node_modules/react-native-firebase/ios/../../../ios/Pods/React/node_modules/yeoman-generator/node_modules/inquirer/lib. My development environment is: |
@inventrix I have the same issue, I can confirm this bug |
@matyasfodor, in my case I got "Argument list too long" after running "pod update". So I revert the changes that pod update made and the problem disappeared. |
@inventrix I managed to solve it by removing |
Same here, also can't find the related documentation (about setting react and yoga in the podfile) Did some digging, the error is coming from framework search paths in the build settings of the library : Problem is some users might need it depending on how they install dependencies. |
@chrisbianca a quick fix that worked for me was to replace |
@tirrorex Where did you make this replacement? |
Headers search path in the library build settings, but FirebaseCore is not enough. |
@tirrorex I'm facing this issue with react-native-fcm |
@Luckygirlllll it should be the same. |
Does replacing Header Search Paths really solves this issue? Anyone can confirm? |
It's a workaround and i wouldn't use that if you don't know what you are doing, because chances are you will need to add more paths to Header Search Paths after replacing the one provided. |
I have the same bug, headers do nothing for me |
@paperview did you delete the path that was causing the error? the all point of the workaround it to replace it with something that won't trigger the error |
@tirrorex I tried the replacing and still have the same error |
@chrisbianca this link (http://invertase.io/react-native-firebase/#/installation-ios?id=_21-add-the-required-pods) just takes me to the homepage. Where can I see this instruction? |
still having the same problem by changing podfile to:
|
My issue was that various pods were using different versions of React. I needed a unified reference. Auto-removing them in the podfile fixed this issue and others.
|
I had the same issue and following resolved my issue.
My problem is gone. |
Getting the same Error when using with React-native-contacts |
Was getting a similar error with a different library. Turns out I had linked a library that was added to podfile directly. Resolved the issue by removing that pod entry and linking the library manually by copying it to |
Same issue using lottie (but using v2.5.0 since 2.3.2 had other non related issues). I have to use pods way since already using pod for Firebase. As a workaround, manually installing |
Alright, I fixed it. My solution was to leave pods only for Lottie manual link process (v2.5.0:
|
@vsrboth @Ehesp @ohtangza @chrisbianca @paranat9221 i am getting an error like this, can any one please respond how to fix it |
For me, this fix all my problems: https://github.com/orta/cocoapods-fix-react-native |
Remove the derived data and set all the header search path as non-recursive and then clean the project. |
Remove the derived data |
@matyasfodor worked for me. Thanks |
I deleted the "ios/build" folder and executed "react-native run-ios" and it worked! |
where is ios/build folder, not seen in my project.
|
I keep having this error no matter after installing
react-native-firebase
Argument list too long: recursive header expansion failed at /var/www/upwork/bus5app/node_modules/react-native-fbsdk/ios/../../../ios/Pods/React/node_modules/vinyl-fs/node_modules/through2.
Also there is another issue as well:
(Please write your issue here along with the environment details below. Include any key files which will help us to debug, such as your
Podfile
and/orapp/build.gradle
file).Environment
The text was updated successfully, but these errors were encountered: