Too many arguments to function call, expected 0....

错误代码:

 objc_msgSend(self.beginRefreshingTaget, self.beginRefreshingAction, self);

解决方案:选中项目 - Project - Build Settings -Apple LLVM 6.0 - Preprocessing > ENABLE_STRICT Checking of objc_msgSend Calls  将其设置为 NO 

原文地址:https://www.cnblogs.com/Fc-ios/p/4249135.html