导入C文件Xcode出现Could not build module 'Foundation'错误
#ifdef __OBJC__ #import <Foundation/Foundation.h> #import "UIImageView+WebCache.h" #import "AFNetworking.h" #import "SDAutoLayout.h" #import "SVProgressHUD.h" #import "YCButton.h" #import "AudioManager.h" #import "BaseNaviViewController.h" #import "UIImage+Extension.h" #import "YCUtils.h" #endif
在引用头文件开始加入#ifdef __OBJC__ 结束时加入#endif,