5
Warning: no rule to process file '$(PROJECT_DIR)/YIFullScreenScrollDemo/../../Classes/UIViewController+YIFullScreenScroll.m' of type file for architecture i386
我想實現YIFullScreenScrollDemo什麼是無法處理文件的意思?
持續失敗我只是整體的.h和.m文件複製到主項目後。其實我一直參考。
下面這段代碼,例如,通過編譯檢查:
self.fullScreenScroll = [[YIFullScreenScroll alloc] initWithViewController:self scrollView:self.tableView];
然而,在運行時,我得到:
YIFullScreenScrollDemo[82387:c07] -[FirstViewController setFullScreenScroll:]: unrecognized selector sent to instance 0x7577e80
而且我得到了這4個警告:
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
問題是什麼?
注:不能重複這一個是.m文件,另一個compilation warning: no rule to process file for architecture i386
的。另一個問題是.h文件
當然,我們需要包含.m文件嗎?
重複:請參閱http://stackoverflow.com/questions/6509600/compilation-warning-no-rule-to-process-file-for-architecture-i386 –
這是爲.h文件。這是.m文件 –
你試過這個答案嗎? –