Property with 'retain (or strong)' attribute must be of object type
2016-12-29 23:47
671 查看
RongIMKit.framework/Headers/RCMessageModel.h:94:30: Unknown type name ‘RCReadReceiptInfo’ (2)RongIMKit.framework/Headers/RCMessageModel.h:94:1: Property with ‘retain (or strong)’ attribute must be of object type
Solution:
add @class RCReadReceiptInfo; at the top of the header file
an article:
assign,retain,strong,weak,unsafe_unretained,copy
http://www.jianshu.com/p/4a1d1921284b
Solution:
add @class RCReadReceiptInfo; at the top of the header file
an article:
assign,retain,strong,weak,unsafe_unretained,copy
http://www.jianshu.com/p/4a1d1921284b
相关文章推荐
- XCode中互相包含引起的"property with 'retain(or strong)' attribute must be of object type"错误与解决
- Property with 'retain(or strong) attribute must be of object type
- AFNetworking 2.0 ERROR:Property with 'retain (or strong)' attribute must be of object type [duplicat
- Property with 'retain(or strong)' attribute must be of object type
- 解决 s.dependency 'AFNetworking' 出现 Property with 'retain (or strong)' attribute must be of object typ
- Property with 'retain (or strong)' attribute must be of object type
- Property with 'retain (or strong)' attribute must be of object type
- [问题记录]Property with 'retain (or strong)' attribute must be of object type
- 『IOS』Property with 'retain (or strong)' attribute must be of object type
- spring同时使用aop和spel表达式出错:Property or field 'instrument' cannot be found on object of type 'com.sun.pr
- spring同时使用aop和spel表达式出错:Property or field 'instrument' cannot be found on object of type 'com.sun.pr
- Property or field 'str' cannot be found on object of type 'com.yubai.EL.DemoService' - maybe not pub
- Element type "property" must be followed by either attribute specifications, ">" or "/>"
- Property or field 'siteUrl' cannot be found on object of type 'xx' - maybe not public?
- 错误:Property or field 'default' cannot be found on object of type 'com.netflix.appinfo.InstanceInfo'
- 【spring-security】 Property or field 'ROLE_USER' cannot be found on object of type 'org.springframewo
- type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds int,java.lang.Object
- Element type "import" must be followed by either attribute specifications, ">" or "/>".
- org.xml.sax.SAXParseException: Element type "beans" must be followed by either attribute specifications, ">" or "/>".
- Attribute name "aphmodel" associated with an element type "mxg" must be followed by the ' = ' charac