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

Argument list too long: recursive header expansion failed #9

Open
vishalsiddhi opened this issue Aug 28, 2020 · 1 comment
Open

Argument list too long: recursive header expansion failed #9

vishalsiddhi opened this issue Aug 28, 2020 · 1 comment

Comments

@vishalsiddhi
Copy link

vishalsiddhi commented Aug 28, 2020

Screenshot 2020-08-28 at 6 10 14 PM

Argument list too long: recursive header expansion failed at /Users/iPhone/../../../../node_modules/react-native-audio-session/ios/../../../ios/Pods/React/node_modules/acorn-jsx/node_modules/acorn/src/loose.

Getting this error after linking.

Please help me to fix this issue.

"react-native-audio-session": "0.0.4",
"react-native": "^0.59.10",
"xcode": "11.3",

@vishalsiddhi
Copy link
Author

vishalsiddhi commented Aug 28, 2020

I solved by replacing "$(SRCROOT)/../../../ios" at framework search path with "$(SRCROOT)/../../../ios/Pods/react-native-audio-session"

  1. find and goto RNAudioSession.xcodepro in xcode
  2. goto target RNAudioSession
  3. goto build setting
  4. replace "$(SRCROOT)/../../../ios" at framework search path with "$(SRCROOT)/../../../ios/Pods/react-native-audio-session"

Ref : react-native-camera/react-native-camera#1407 (comment)

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

1 participant