Error : Argument list too long:recursive header expansion failed at /Applications/Adobe Acrobat 8 Professional/Adobe Acrobat Professional.app/

Viewed 26942

Can Any one tell why this error occur and how to resolve it

Check Dependencies

Argument list too long: recursive header expansion failed at /Applications/Adobe Acrobat 8 Professional/Adobe Acrobat Professional.app/Contents/Plug-ins/Comments.acroplugin/Contents/MacOS.

10 Answers

In my case, deleting the build folder worked.

rm -rf ios/build

the only thing to remove is search path from project information this solves my problem

I solved by revising Framework SearchPaths in .xcodeproj to

$(PROJECT_DIR)/../../../ios/Pods.

For future folks ... I faced this issue for a different reason.

Just check in your Project Settings that Build System is set to New Build System (Default)

Happy Coding

If you are using react native and run into this error, this helped me:

I had to use react-native unlink xxx to unlink the library i was trying to add which caused this error to occur (funny enough the error was about a different library not the one i just added)

After unlinking i followed the steps the library explained in its readme on how to add it manually without using the react native link, then it was happy after that.

Saw on reddit that a lot of people been complaining that react-native link breaks quite often and causes problems like this

Related