1. 程式人生 > >xcode no rule to process file "xxx" of type解決

xcode no rule to process file "xxx" of type解決

在Xcode編譯的時候,黃色警告提示:【WARN】warning:no rule to process file 'XXX' of type sourcecode.c.h for architecture armv7.

出現這種警告的原因大致就是,檢測到 'XXX' 該檔案出現在編譯列表中

解決方法:【Target】-->【Build Phases】-->【Compile Sources】找到 'XXX' 檔案,點選下方 的 “ - ” 即可。