导入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,

posted @ 2019-05-15 10:26  小师傅啊小师傅  阅读(2151)  评论(0编辑  收藏  举报