您的位置:首页 > 产品设计 > UI/UE

"Counld not build module "UIKit" Counld not build module "Foundation""

2016-11-14 14:24 148 查看

当引入被人的sdk,出现这样的问题。

unknow type name 'NSting'

counld not 'UIKit'

Counld not build module "UIKit"

Counld not build module "Foundation"

解决办法如下

在pch文件中加入

#ifdef __OBJC__
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import "UIImageView+WebCache.h"
#import <TKWebViewApp/TKWebViewApp.h>
#import <TKOpen/TKOpen.h>

#import <Availability.h>
#import "AppDelegate.h"
//#import "GTMBase64.h"
#import "ZYConstant.h"
#import "KKUConstant.h"
#import "Utils.h"
#import "Urls.h"
#import "SimpleConstant.h"
#import "SQCoreMacros.h"
#import "SQCoreContext.h"
#import "UIColor+stock.h"
#import "UIColor+Hex.h"
#endif
这样可以了
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: