iOS開發之Debug之Unknown type name

注:只是其中一種情況,做記錄用,不喜勿噴。 背景:工程中導入使用C、C++等編寫的庫或者文件。 現象: 解決方法: 在頭文件中使用 #ifdef __OBJC__ #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> #import"xxxx.h" #endif
相關文章
相關標籤/搜索