Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

objc_msgSend too many arguments to function call,expected 0, have3 #1471

Closed
hbzhuhj opened this issue Oct 21, 2020 · 1 comment
Closed

objc_msgSend too many arguments to function call,expected 0, have3 #1471

hbzhuhj opened this issue Oct 21, 2020 · 1 comment

Comments

@hbzhuhj
Copy link

hbzhuhj commented Oct 21, 2020

// 回调

if ([self.beginRefreshingTaget respondsToSelector:self.beginRefreshingAction]) {
   objc_msgSend(self.beginRefreshingTaget, self.beginRefreshingAction, self); // zhhj 2020.10.20 
}

编绎报错,objc_msgSend too many arguments to function call,expected 0, have3

网上提供:选中项目 - Project - Build Settings - ENABLE_STRICT_OBJC_MSGSEND 将其设置为 NO

但xcode12 没有ENABLE_STRICT_OBJC_MSGSEND

@hbzhuhj hbzhuhj added the bug label Oct 21, 2020
@wolfcon wolfcon removed the bug label Oct 21, 2020
@wolfcon
Copy link
Collaborator

wolfcon commented Oct 21, 2020

image
Xcode 12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants