Caksu Sethi

Results 10 comments of Caksu Sethi

How we will solve this I am getting the same error?

> @Sethi1998 I decided to switch to another library Which Library ?

> @snowtema when is this happening? I'm using this library too, on iOS 16 iPhone 13 Pro, and it's working fine for me It is crashing in iPhone 11 and...

> > both > > I found that it works fine in the simulator,crashes in real devices(IOS16) yes its working in simulator have anyone solved it I got the error...

> pod '[SwiftAudioPlayer](https://github.com/Kuama-IT/SwiftAudioPlayer.git)' , :git => 'https://github.com/Kuama-IT/SwiftAudioPlayer.git', :branch => 'fix-ios-16-crash' > > solve the problem Thanks working now

The error is solved but if are playing from a list then its stucks on the screen and there is no crash but its stuck in the same

the main crash was in this line " lastDescription.deallocate()"

> @Sethi1998 can you provide a little snippet to reproduce the error? there is no error if I have used your methods which you have changed

" if outPacketDescriptions?.pointee == nil { outPacketDescriptions?.pointee = UnsafeMutablePointer.allocate(capacity: 1) if let lastDescription = selfAudioConverter.converterDescriptions { lastDescription.deallocate() } } "