"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
这样可以了
相关文章推荐
- could not build module ‘Foundation’, could not build module ‘UIKit’……23个错误
- could not build module ‘Foundation’, could not build module ‘UIKit’……23个错误
- could not build module ‘Foundation’, could not build module ‘UIKit’……23个错误
- iOS开发,导入c文件引发的Could not build module 'Foundation'问题(转)
- could not build module foundation
- 莫名其妙的错误:could not build module 'Foundation'
- iOS开发,导入c文件引发的Could not build module 'Foundation'问题
- 解决pyinstaller 打包后运行exe程序出现的"ModuleNotFindError"
- Xcode 出现Could not build module 'Foundation'错误
- could not build module foundation
- pch文件导入uikit报错 could not build module 'uikit'
- could not build module foundation错误解决方案
- 引用.c 文件 Xcode出现 Could not build module 'Foundation'的错误
- Could not build module 'UIKit'问题
- "javax.servlet.http.HttpServlet" was not found on the Java Build Path
- iOS错误之---fatal error: could not build module 'UIKit'
- Could not build module 'UIKit' 或者加入C++文件 错误
- Could not build module "Darwin"
- IOS Could not build module 'foundation'
- "javax.servlet.http.HttpServlet" was not found on the Java Build Path