[英]cycript TypeError("undefined is not an object when following tutorial
I am attempting to follow this tutorial - http://resources.infosecinstitute.com/ios-application-security-part-8-method-swizzling-using-cycript/#article 我正在尝试按照本教程 - http://resources.infosecinstitute.com/ios-application-security-part-8-method-swizzling-using-cycript/#article
Close to the bottom of the article, I am at the part where you type: 靠近文章的底部,我在你输入的部分:
ViewController.messages['validateLogin'] = function() { return true;}
but I don't get the response that the author gets, instead I get a TypeError 但是我没有得到作者得到的回复,而是得到了一个TypeError
throw new TypeError("undefined is not an object (evaluating 'ViewController.messages.validateLogin=function(){return 1}')"
I am running iOS 9.0.2 and have Cycript 0.9.594 我正在运行iOS 9.0.2并且有Cycript 0.9.594
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.