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

前端 未结 10 1460
时光说笑
时光说笑 2021-02-06 22:38

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

Check Dependencies

Argument list too long: recursive header expansion failed at

相关标签:
10条回答
  • 2021-02-06 23:19

    I solved by revising Framework SearchPaths in .xcodeproj to

    $(PROJECT_DIR)/../../../ios/Pods.
    
    0 讨论(0)
  • the only thing to remove is search path from project information this solves my problem

    0 讨论(0)
  • 2021-02-06 23:23

    I'll share another scenario where you can have the same error.

    I had the same problem in my case was related with the Derived Data. After clean the Derived Data folder the problem disappeared.

    0 讨论(0)
  • 2021-02-06 23:26

    A different solution for me. I am using a static lib in my XCode project. In XCode preferences > Source trees I set up the lib as follows:

    Setting Name: MY_IPHONE_LIB

    Display Name: MY_IPHONE_LIB

    Path: ../../MyIphoneLib

    Then in the project and target build options User Header Search Paths I add recursive path to $(MY_IPHONE_LIB) this shows as ../../MyIphoneLib** in the build settings

    My problem was I had a trailing space after the path in project trees so instead of "../../MyIphoneLib" I had entered "../../MyIphoneLib "

    So this all looked fine in the settings but I got the 'argument list too long' error for a completely unrelated file!. Removing the trailing space fixed it.

    0 讨论(0)
提交回复
热议问题