Declaration of ‘objc_property_t’ must be imported from module ‘ObjectiveC.run…

Declaration of ‘objc_property_t’ must be imported from module ‘ObjectiveC.runtime’ before it is required

如果提示这个错误信息,加头文件#import <objc/runtime.h>

Leave a Reply