while i'm trying to build my project (on simulator) i'm getting an error which says :
as you can see that my error is occurring in this class , but when i'm building my project on a real device all errors are gone dont know whats wrong here.
if anybody knows then let me know how can i fix it...
P.S. we do have a similar question right here but that question didn't got any attention and my case is a bit different.