我的.pch文件:
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#improt "Constant.h" // here there is a error:
#endif
line:#improt" constant.h"获取错误
Invalid preprocessing directive
怎么了?
使用" #import
"而不是" #improt
",您应该可以。
"无效的预处理指令"只是说"语法"(或拼写)错误的另一种奇特方式。