After updating the Xcode to 12.5 and updating all the pods , i start getting the above error in all files where mapping is happening
Reference to generic type 'Map' requires arguments in <...> Insert '<<#Key: _MapKey#>, <#Value: RealmCollectionValue#>>'
class DayPartData: Object, Mappable {
@objc dynamic var code = 0
@objc dynamic var text : String?
required convenience init?(map: Map) {
self.init()
}
func mapping(map: Map) {
code <- map["code"]
text <- map["text"]
}
}
Run Code Online (Sandbox Code Playgroud)
am I missing something here?