-
Notifications
You must be signed in to change notification settings - Fork 279
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 at #40
Comments
@ferbass Any idea why you closed this? I'm trying to integrate this library right now and I'm coming up with the same error. Thanks |
@zibs wow maybe i close it by mistake, i can't solve my problem |
Installing Intercom SDK through @zibs might be useful to add this to the installation instructions. I suppose |
I had a similar problem with react-native-camera, and to fix it i just removed the library from 'Link Binary With Libraries` then added it again. |
just shorten the project path/name, and it works for me! |
It looks like this library recursively searches through And here's what my Framework Search Paths look like, post-fix: 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. |
@holmesal I had the same issue. I had moved my DerivedData folder to be relative the project root in the Preferences->Locations. It allowed me to easily find and blow out the folder. However, when I moved it back to Default, everything worked. This issue can happen with other dependencies depending on your configuration. |
Fwiw this commit solved the same error in a similar library: |
I get the same error in iOS (using Pod). Is there any fix on the library itself or we need to try these fixes one by one? Thanks! @holmesal I added the |
I get an error for a different file than the OP (@ferbass) mentioned: It fails at Actually, I removed the Pod of |
Closes Issue tinycreative#40 Based on other implementations: evollu/react-native-firebase-analytics@e8559a2 microsoft/appcenter-sdk-react-native#211
) Closes Issue #40 Based on other implementations: evollu/react-native-firebase-analytics@e8559a2 microsoft/appcenter-sdk-react-native#211
I have follow all the instruction given in (as listed https://github.com/intercom/intercom-ios#cocoapods) I am facing this issue in build Argument list too long: recursive header expansion failed at ../node_modules/react-native-intercom/iOS/../../../ios/Pods/React/node_modules/is-buffer. Argument list too long: recursive header expansion failed at ../node_modules/react-native-intercom/iOS/../../../ios/Pods/React/node_modules/seek-bzip/bin. failed: No suchfile or directory Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/$(MY_APP.app)/Info.plist Anyone can suggest any solution that will be help |
works for me |
That PR was merged in March, but another one added back the @browniefed I can make a PR to remove the |
@peacechen Can you please make that PR again and write a description (and link to this issue) why this is really needed? Maybe the person that took it out was not aware of this problem. Thanks! |
There's been a lot of back & forth on the framework search paths and creating another PR will just continue that cycle. The problems stem from conflicting path requirements for manual linking vs pods. However that broke manual linking, so #219 reverted that. That's puzzling because in my case I manually linked and the latest reversion doesn't work. One fix only works for some cases but breaks it for others. Vice versa for the other fix. I'm starting to suspect that different versions of Xcode or RN may handle this differently. |
This caused problems because expanding that particular path could get too long, effectively breaking the build. More information at tinycreative#40
Removing the react-native-camera/react-native-camera#1407 (comment) Sometimes this failed, so we had to update RNIntercom.xcodeproj in xcode: "YourProj -> Libraries -> RNIntercom.xcodeproj -> build settings -> search paths -> framework search paths: |
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
The text was updated successfully, but these errors were encountered: