5

这是我的播客文件:

platform :ios, '8.0'
use_frameworks!

target 'myApp' do
    pod 'PureLayout', '~> 2.0.6'
    pod 'MMDrawerController', '~> 0.5.7'
    pod 'SwiftyJSON', '~> 2.2.0'
end

这是我的新娘头:

#import <PureLayout/PureLayout.h>
#import <MMDrawerController/MMDrawerController.h>
#import <MMDrawerController/MMDrawerVisualState.h>

当我设置这个变量时var drawerController: MMDrawerController!,我得到这个错误:

Use of undeclared type 'MMDrawerController'

我试过删除所有的 pod 和 running pod install,清除pod cache和 running pod update,但是我仍然没有运气。任何帮助是极大的赞赏 :)

我的桥头一定有问题,因为我可以完全删除这些行:

#import <MMDrawerController/MMDrawerController.h>
#import <MMDrawerController/MMDrawerVisualState.h>

只要我导入MMDrawerController正在使用它的文件,程序就会运行良好。然而,这不起作用,反之亦然

4

0 回答 0