iosxcode6armv7

-E or - x required when input is from standard input


I have created a Static Library for one of my project and now I am adding this library to my another project. Everything seems to work well but when I build I get the following error

[Error] -E or - x required when input is from standard input

I am attaching a snapshot of error log also.

Error Log


Solution

  • You've got a solitary - in your clang command line, which signifies that the source file is to be read via stdin. This probably crept in via a project setting - go through your settings and check for a stray -.