Same here Xcode Version 14.0.1 (14A400), app runs fine, but receiving that warning in AppDelegate.
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {....}
Post
Replies
Boosts
Views
Activity
Is there some solution about this issue?
I have tried to add following code to AppDelegate, it solves the issue but sounds continue playing when app runs in the background.
let audioSession = AVAudioSession.sharedInstance()
do {
// Set the audio session category, mode, and options.
try audioSession.setCategory(.playback, mode: .moviePlayback, options: [])
} catch {
print("Failed to set audio session category.")
}
Malloc 512 Bytes10x100a1ef50512 BytesSceneKit-[SCNRenderer setScene:completionHandler:]Malloc 512 Bytes10x100a8c410512 BytesFoundation-[NSXPCConnection remoteObjectProxyWithErrorHandler:]Malloc 64 Bytes10x2808d800064 BytesFoundation-[NSXPCConnection remoteObjectProxyWithErrorHandler:]Malloc 64 Bytes10x28064ee4064 BytesFoundation-[NSObject(NSKeyValueCoding) valueForKey:]App does not leak in iOS12.4.5, but in iOS 13.3.1 i am receiving following leaks above in "Leaks Instrument". Deinit is called in all my views and viewControllers without an issue.