Skip to content
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

Can't build due to "Argument list too long" error #209

Closed
giladno opened this issue Nov 7, 2017 · 6 comments
Closed

Can't build due to "Argument list too long" error #209

giladno opened this issue Nov 7, 2017 · 6 comments

Comments

@giladno
Copy link

giladno commented Nov 7, 2017

When trying to run my app using react-native run-ios, I receive the following error:

=== BUILD TARGET RNAdMobManager OF PROJECT RNAdMobManager WITH CONFIGURATION Debug ===


Check dependencies

Argument list too long: recursive header expansion failed at /Users/gilad/MyProject/node_modules/react-native-admob/ios/../../../ios/Pods/React/node_modules/fsevents/node_modules/ajv/dist.



** BUILD FAILED **

I have the following in my package.json:

    "react-native-admob": "^2.0.0-beta.2",

And inside my Podfile:

  pod 'Google-Mobile-Ads-SDK'

I've tried to clean my build folder, as well as XCode's DerivedData - but it doesn't help...

@patw0929
Copy link
Contributor

patw0929 commented Nov 14, 2017

Same here.

Argument list too long: recursive header expansion failed at /Users/patw/Projects/news/node_modules/react-native-admob/ios/../../../ios/Pods/Target Support Files/Pods-news.

--
Update:

I solved by revising Framework SearchPaths in RNAdMobManager.xcodeproj to $(PROJECT_DIR)/../../../ios/Pods.

@cinder92
Copy link

same issue here

Argument list too long: recursive header expansion failed at /Users/dantecervantes/Documents/react-native/FinanceApp/node_modules/react-native-admob/ios/../../../ios/Pods/React/node_modules/react-tools/src/isomorphic.

@NabilZaki
Copy link

Same error here :
Argument list too long: recursive header expansion failed at /Users/username/Documents/work/repos/Mobile/node_modules/react-native-admob/ios/../../../ios/Pods/React/node_modules/react-tools/src/renderers/dom/client/__tests__.

any solution ?

@muhammetdemirci
Copy link

same issue

@Young-Je
Copy link

Young-Je commented Mar 9, 2018

the same issue, I even uninstalled the Xcode, but the issue still hangs there.

@Furqankhanzada
Copy link

Same issue

Argument list too long: recursive header expansion failed at /Users/USERNAME/Documents/work/repos/APPNAME/node_modules/react-native-admob/ios/../../../ios/Pods/React/node_modules/react-tools/src/renderers/dom/client/__tests__.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants