OBJC_META_CLASS 问题

OBJC_META_CLASS Issue

嗨,团队我在我的单视图应用程序项目中使用了以下 pod 文件

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'

target 'projectbase' do
# Uncomment this line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!

# Pods for projectbase

target 'projectbaseTests' do
inherit! :search_paths
pod 'AFNetworking'
pod 'LGSideMenuController'
pod 'SDWebImage'
pod 'MBProgressHUD'
end

target 'projectbaseUITests' do
inherit! :search_paths
# Pods for testing
end

end

但是当我在 viewcontroller.h 中使用 "LGSideMenuController" 时,我收到了 Meta class 错误,下面是错误的代码和屏幕截图

#import <UIKit/UIKit.h>
#import <LGSideMenuController.h>

@interface ViewController : LGSideMenuController
@end

编译以下行即可

#import <LGSideMenuController.h>

但正如我使用的那样

@interface ViewController : LGSideMenuController

发生错误

谁能帮我解决这个问题 Xcode 版本为 8.3.2

请用以下代码替换 pod 文件。

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'

target 'projectbase' do
# Uncomment this line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!

pod 'AFNetworking'
pod 'LGSideMenuController'
pod 'SDWebImage'
pod 'MBProgressHUD'

target 'projectbaseTests' do
inherit! :search_paths
end

target 'projectbaseUITests' do
inherit! :search_paths
# Pods for testing
end

end