Skip to content

Argument list too long: recursive header expansion failed #29

@tommynordli

Description

@tommynordli

When linking using react-native link I get this error when building:
Argument list too long: recursive header expansion failed at /Users/tommy/GitHub/project_name/node_modules/react-native-segment-analytics/ios/../../../ios/build/Index/DataStore/v5/records/6W.

I read that Xcode is limited to the length of the search path it uses during compile, so it's probably because of that? This is how my search paths looks like, and react-native-segment-analytics is a little bit longer than the others:
screen shot 2017-12-07 at 19 40 59

This will probably be solved by using CocoaPods, but I don't want that. Any tips?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions