Description
I was running analysis on my app and found 8 possible leaks in the SDK.
They are as follows:
1- PFPush.m (Line 322) :Converting a pointer value of type 'NSNumber *' to a primitive boolean value; instead, either compare the pointer to nil or call -boolValue
2- PFCommandCache.m (Line 250): Converting a pointer value of type 'NSNumber *' to a primitive boolean value; instead, either compare the pointer to nil or call -boolValue
3- PFOperationSet.m (Line 119): Converting a pointer value of type 'NSNumber *' to a primitive boolean value; instead, either compare the pointer to nil or call -boolValue
4- PFSQLiteDatabaseResult.m (Line 169): Converting a pointer value of type 'NSNumber *' to a primitive boolean value; instead, either compare the pointer to nil or call -boolValue
5- PFRESTPushCommand.m (Linde 46): Converting a pointer value of type 'NSNumber *' to a primitive boolean value; instead, either compare the pointer to nil or call -boolValue
6- PFCommandURLRequestConstructor.m (Line 113): Converting a pointer value of type 'NSNumber *' to a primitive boolean value; instead, either compare the pointer to nil or call -boolValue
7- PFQuery.m (Line 1092): Converting a pointer value of type 'NSNumber *' to a primitive boolean value; instead, either compare the pointer to nil or call -boolValue
8- PFDateFormatter.m (Method: preciseStringFromDate): nil returned from a method that is expected to return a non-null value
I'm using Xcode 12.2 and Parse SDK Version 1.19.1