Skip to content

Xcode 11.7 shows 8 Analyzer errors #1547

@funnel20

Description

@funnel20

When running Xcode 11.7 Analyzer on our project with Parse 1.19, it shows the following 7 logic errors:

  1. /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

    Screenshot 2020-09-17 at 14 14 21
  2. /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

    Screenshot 2020-09-17 at 14 15 18

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

Screenshot 2020-09-17 at 14 17 53

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:featureNew feature or improvement of existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions