0 Replies
      Latest reply on Apr 2, 2019 5:17 AM by flarosa
      flarosa Level 1 Level 1 (0 points)

        Does the Leaks tool work properly with Swift 5 code? Is it better to do leak checking with a simulator or a real device?


        I ran a leaks check yesterday on my app and it came up with a fair number of "leaks" that seem like pretty straightforward and ordinary code to me, such as the allocation point of the root Navigation view for my app, or the dequeueReusableCell method on a tableview.


        I tried again with another app and found similar problems. Both apps are primarily simple table views with a navigation stack, with nothing suspicious or unusual about how they are using memory.


        Most of the reported leaks are small, but I'd like to understand what's going on in case I made some fundamental mistake somewhere.


        The "Analyze" tool doesn't find any problems.