xcode6 framework missing submodule xxx 警告

xcode6 framework missing submodule xxx 警告xcode

從xcode6開始,iOS能夠直接建立生成framework了ui

如:code

建立 framework 項目,TFKit.frameworkget

則 會自動生成TFKit.hit

而後咱們再添加一些自已的類,並對外提供 TFA.h,TFB.hio

那麼須要先在 TFKit.h 裏面import

#import <TFKit/TFA.h>module

#import <TFKit/TFB.h>im

最後在build 生成 TFKit.framework使用時,stackoverflow

直接使用 

#import <TFKit/TFKit.h> 便可

 

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

相關文章
相關標籤/搜索