skpaymentqueue canmakepayments memory leak checks

2019-03-11 16:36发布

问题:

I run Instrument to check Leaks in my app. It got 1 new leaks [SKPaymentQueue canMakePayments] every time start up even no code for payment is called.

回答1:

According to this date, SKPaymentQueue's CanMakePayments has memory leak and you can not do anything with it because it's Apple's one. There are lots of tickets opened in Apple's with the same issue. It exists on iOS 10 too. Hope they will fix this issue. ref: https://forums.developer.apple.com/thread/22312