tweak调动私有API方法报错该怎么解决呢

使用tweak调用私有API,使用传统OC调用方法报错:error: instance method not found (return type
defaults to ‘id’) [-Werror,-Wobjc-method-access],该怎么调用呢

error: instance method not found

但是这个方法是存在的啊,复制粘贴使用cycript调用是ok的

https://www.google.com/search?ie=UTF-8&q=error%3A+instance+method+not+found

http://cn.bing.com/search?q=error%3A+instance+method+not+found