Parse-SDK-iOS-OSX
Parse-SDK-iOS-OSX copied to clipboard
Xcode 11.7 shows 8 Analyzer errors
When running Xcode 11.7 Analyzer on our project with Parse 1.19, it shows the following 7 logic errors:
-
/Parse/Parse/Parse/PFPush.m:322:9: Converting a pointer value of type 'NSNumber *' to a primitive boolean value; instead, either compare the pointer to nil or call -boolValue
-
/Parse/Parse/Parse/Internal/PFCommandCache.m:250:21: Converting a pointer value of type 'NSNumber *' to a primitive boolean value; instead, either compare the pointer to nil or call -boolValue
and 5 more.
The last is a memory error: 8. /Parse/Parse/Parse/Internal/PFDateFormatter.m:85:5: nil returned from a method that is expected to return a non-null value
Thanks for reporting. Would you be willing to submit a PR?
This issue has been automatically marked as stale because it has not had recent activity. If you believe it should stay open, please let us know! As always, we encourage contributions, check out the Contributing Guide
I'll try if I can find the time.
Closing as release 2.0.0 supports import via Swift Package Manager.