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?
What mojtaba said works for .m files (+1) in the event that you don't have the .h issue people are referring to.
Click on the Product menu, hold ALT to enable the "Clean Build Folder..." option and then recompile. Error went away.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With