Skip to content

Xcode 11.7 shows 8 Analyzer errors #1547

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
funnel20 opened this issue Sep 17, 2020 · 4 comments · Fixed by #1622
Closed

Xcode 11.7 shows 8 Analyzer errors #1547

funnel20 opened this issue Sep 17, 2020 · 4 comments · Fixed by #1622
Labels
type:feature New feature or improvement of existing feature

Comments

@funnel20
Copy link

funnel20 commented Sep 17, 2020

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

@TomWFox
Copy link
Contributor

TomWFox commented Sep 17, 2020

Thanks for reporting. Would you be willing to submit a PR?

@stale
Copy link

stale bot commented Nov 8, 2020

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

@stale stale bot added the Stale label Nov 8, 2020
@funnel20
Copy link
Author

funnel20 commented Nov 8, 2020

I'll try if I can find the time.

@mtrezza
Copy link
Member

mtrezza commented Jan 29, 2023

Closing as release 2.0.0 supports import via Swift Package Manager.

@mtrezza mtrezza closed this as completed Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature New feature or improvement of existing feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants