Too many arguments to function call, expected 0, have 3

后端 未结 11 1430
情话喂你
情话喂你 2020-12-12 18:55

This compiles/works fine with Xcode 5, but causes a compile error with Xcode 6 Beta 4:

objc_msgSend(anItem.callback_object,
NSSelectorFrom         


        
11条回答
  •  离开以前
    2020-12-12 19:30

    I was getting this error with QuickDialog. Following on to james_alvarez's answer but for AppCode, go to Project Settings, then click on QuickDialog under Project/Shared Settings, scroll down to ENABLE_STRICT_OBJC_MSGSEND and enter NO for Debug and Release.

提交回复
热议问题