iOS 協同開發 問題

問題描述:在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!

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章