xcode6 framework missing submodule xxx 警告

时间:2015-07-14 17:00:58   收藏:0   阅读:8077

xcode6 framework missing submodule xxx 警告

从xcode6开始,iOS可以直接创建生成framework了

如:

创建 framework 项目,TFKit.framework

则 会自动生成TFKit.h

然后我们再添加一些自已的类,并对外提供 TFA.h,TFB.h

那么需要先在 TFKit.h 里面

#import <TFKit/TFA.h>

#import <TFKit/TFB.h>

最后在build 生成 TFKit.framework使用时,

直接使用 

#import <TFKit/TFKit.h> 即可

 

参考:http://stackoverflow.com/questions/25800301/xcode-missing-submodule-warning

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!