Undefined symbols for architecture x86_64
cchamnab opened this issue · 2 comments
cchamnab commented
Below It is my code :
`HomeNavigationController *mainVC = [[UIStoryboard storyboardWithName:@"Main" bundle:nil] instantiateViewControllerWithIdentifier:@"idMainNav"];
DrawerViewController *drawerVC = [[UIStoryboard storyboardWithName:@"Main" bundle:nil] instantiateViewControllerWithIdentifier:@"idDrawer"];
self.drawerController = [[MMDrawerController alloc] initWithCenterViewController:mainVC leftDrawerViewController:drawerVC];
[self.drawerController setShowsShadow:YES];
[self.drawerController setOpenDrawerGestureModeMask:MMOpenDrawerGestureModeAll];
[self.drawerController setCloseDrawerGestureModeMask:MMCloseDrawerGestureModeAll];
[self.window setRootViewController:self.drawerController];
`
When i'm building the app, I've got following error :
Undefined symbols for architecture x86_64:
"OBJC_CLASS$_MMDrawerController", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
altagir commented
did you include the pod correctly and opened the workspace ?
cchamnab commented
I imported code manually So I think problem because of that.