問題描述:在A機器上新建項目 然後拷貝到B機器上 工程配置文件報錯。
fatal error: file '***-Prefix.pch' has been modified since the precompiled header was built
解決方案:
1.找到 ***.Prefix.pch文件 註釋掉:
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#endif
編譯項目
2.打開1.中的註釋
再次編譯
至此, ok!