In the previously developed code, it was necessary to forcefully use some of Apple's private APIs, and the objc_msgSend method was used for invocation. Recently, when compiling with the latest version of Xcode, it consistently failed to pass. Later, I found a solution through Baidu and recorded it here. The modification method is also very simple: set the value of ENABLE_STRICT_OBJC_MSGSEND property to NO, and at least for now, no issues have been found with the program.
Reference links: http://www.ruanman.net/swift/learn/10443.html http://blog.sina.com.cn/s/blog_916e0cff0102vdnj.html