Warning: no rule to process file '$(PROJECT_DIR)/YIFullScreenScrollDemo/../../Classes/UIViewController+YIFullScreenScroll.m' of type file for architecture i386
I am trying to implement YIFullScreenScrollDemo
After keep failing I just copy the whole .h and .m file to the main project. Actually I keep reference.
Now this code for example, pass compile check:
self.fullScreenScroll = [[YIFullScreenScroll alloc] initWithViewController:self scrollView:self.tableView];
Yet, at run time, I got:
YIFullScreenScrollDemo[82387:c07] -[FirstViewController setFullScreenScroll:]: unrecognized selector sent to instance 0x7577e80
Also I got these 4 warnings:
Warning: no rule to process file '$(PROJECT_DIR)/YIFullScreenScrollDemo/../../Classes/UIViewController+YIFullScreenScroll.m' of type file for architecture i386
Warning: no rule to process file '$(PROJECT_DIR)/YIFullScreenScrollDemo/../../Classes/YIFullScreenScroll.m' of type file for architecture i386
Warning: no rule to process file '$(PROJECT_DIR)/YIFullScreenScrollDemo/../Pods/JRSwizzle/JRSwizzle.m' of type file for architecture i386
Warning: no rule to process file '$(PROJECT_DIR)/YIFullScreenScrollDemo/../../Classes/UIView+YIFullScreenScroll.m' of type file for architecture i386
What is the problem?
Note: not duplicate of the other one compilation warning: no rule to process file for architecture i386
This one is for .m files. The other question is for .h file
Naturally we do need to include the .m files right?