-
Notifications
You must be signed in to change notification settings - Fork 459
Closed
Description
After integrating react-native-app-auth with our project, our iOS build is now failing with the following error:
Check dependencies
Argument list too long: recursive header expansion failed at /Users/username/app_name/node_modules/react-native-app-auth/ios/../../../ios/build/Index/DataStore/v5/records/UW.
The problem seems to be the result of an overly aggressive HEADER_SEARCH_PATHS build setting causing Xcode to give up after it recurses through too many sub-directories for RNAppAuth's required header files. Other react native libraries have similar issues reported, and have resolved the issue by modifying HEADER_SEARCH_PATHS to be more specific than the current $(PROJECT_DIR)/../../../ios/**
I tried setting the HEADER_SEARCH_PATHS to $(PROJECT_DIR)/../../../ios/Pods/**
but that produced other build errors.
Other libraries with similar problems:
react-native-camera/react-native-camera#1407
microsoft/appcenter-sdk-react-native#209
southerneer
Metadata
Metadata
Assignees
Labels
No labels