Can Any one tell why this error occur and how to resolve it
Check Dependencies
Argument list too long: recursive header expansion failed at
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.