在xcode 5中的build settings ->build options ->Scan all source files and Includes设置为YES即可! 转载于:https://www.cnblogs.com/yipu/p/3610462.html