解决方案 »

  1.   

    你是不是在申明js_private_decrypt这个方法之前就使用了这个方法?
      

  2.   

    我也遇到了这个问题:
    64位编译就报错,32位正常运行。
    Implicit declaration of function 'class_getProperty' is invalid in C99.
    if (class_getProperty([aViewController class], "block"))
        {
            // it has that property!
            [aViewController setBlock:block];
        }
      

  3.   

    已经解决这个问题了,报错原因是找不到这个函数,在文件中 引入 函数所在的头文件 即可 #import <objc/runtime.h>