-
Notifications
You must be signed in to change notification settings - Fork 26
Build fails with "Argument list too long: recursive header expansion failed" #44
Comments
I believe these lines were added automatically by https://github.com/react-community/create-react-native-app. I can't immediately confirm though since I'm using npm 5.x and that project only supports npm 4. |
Thanks for the reply, I'm not sure I understand though. I've never used Or do you mean that Just to be clear: the issue is that whenever ↑ This is the RCTSmooch target in Xcode. ↑↓ These are the search paths that need to be changed from "recursive" to "non-recursive". I have traced the source of these settings to these lines in the |
Sorry, I meant react-native-create-library not create-react-native-app. But yes I believe that tool was used in #13 to bootstrap this repo as a distributable library, and the project file was automatically generated there. |
Ah ok, didn't know about that lib. Do you guys have a testing process set up for this package? I'd like to submit a PR to change those two lines, but I have no way of knowing if it will screw everything up for consumers of this package. |
We haven't been able to reproduce this issue on our side so we wouldn't really be able to verify if your fix is working as intended. Maybe you could make your changes in a fork and use that instead of the official package, until we see more occurrences of this issue from different users? |
Hi, these lines are causing my build to fail:
and
I get the "Argument list too long: recursive header expansion failed" error. If I change these two settings in xcode to "non-recursive" instead of "recursive", the build succeeds, until the next time I restart my mac and then the build fails with the same error again.
Are these lines actually used? If not, would you accept a PR that removes them?
Thanks very much.
The text was updated successfully, but these errors were encountered: