I'm compiling a big iPhone app and am getting 24 of the same error...
cc1plus: note: obsolete option -I- used, please use -iquote instead cc1: error: -I- specified twice
Thi开发者_Go百科s error is repeated 24 times for the same prefix header file. Any idea what's going on?
Thanks!
The prefix header is being included in 24 source files. The option -I- is causing the error in the prefix header and the error is repeated 24 times.
I ran across this error when I began using XCode 4. For me, it ended up being my Schemes in XCode. I was naming them something like "MyApp - Ad Hoc". I renamed the Scheme to be "MyApp_Ad_Hoc" instead, and it cleared this up. Hopefully, this will help some people.
精彩评论