Objc_msgSend can be used with arguments before Xcode 6. Too many arguments to function call after Xcode 6. ;
The solution
Build Settings -> Enable Strict Checking of objc_msgSend Calls to NO.
br>
<>nt> p>
this method fails in Xcode 12.
2, Through type casting
((void (*)(id, SEL, id))objc_msgSend)(target, sel, value);
The number of parameters to be passed is self-defined
Read More:
- Matlab: successfully solve too many input arguments
- error[E0061]: this function takes 1 argument but 2 arguments were supplied
- [Qt] error: call to non-static member function without an object argument
- A call to an OS function failed
- PHP Fatal error: Call to a member function query() on a non-object in
- Call to undefined function oci_ Connect() problem solving
- call to member function bind_param() on boolean………..
- Fatal error: Call to a member function bind_param() on a non-object in
- 【ERROR_2】Call to a member function bind_param() on a non-object
- Call to a member function fetch_assoc() on a non-object
- Call to undefined function mysql_ Connect() solution summary
- Uncaught Error: Call to undefined function mysql_select_db()
- PHP connection PostgreSQL error call to undefined function PG_ connect()
- PHP error: call to undefined function curl_ init() window
- PHP connection to MySQL database error: call to undefined function MySQL_ connect()
- Interrupted function call accept failed when idea starts Tomcat
- Fatal error: Uncaught Error: Call to undefined function mysql_ Connect() problem solving
- An undetermined call to function ‘shell’: missing ‘. Stop. Problem encountered when using shell command in makefile
- Uncaught error: call to undefined function MySQL when building sqli lab environment with phpstudy_ Connect() error
- bug-JAVA call SAP function Connect to SAP gateway failed