[DF-1970] Fix iOS compilation error