Digger icon indicating copy to clipboard operation
Digger copied to clipboard

'deinitialize()' is unavailable: the default argument to deinitialize(count:) has been removed, please specify the count explicitly

Open dutypro opened this issue 4 years ago • 1 comments

Since upgrading to Swift 5, I get the following errors:

valuePointer.deinitialize() //'deinitialize()' is unavailable: the default argument to deinitialize(count:) has been removed, please specify the count explicitly

valuePointer.deallocate(capacity: 1) //'deallocate(capacity:)' is unavailable: Swift currently only supports freeing entire heap blocks, use deallocate() instead

let message = data.withUnsafeBytes { bytes -> [UInt8] in
                return Array(UnsafeBufferPointer(start: bytes, count: data.count))
            } //'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead

When can we expect a fix on this? I see it is out of date and needs some maintenance ASAP.

dutypro avatar Nov 12 '19 20:11 dutypro

see pod 'Digger',:git => 'https://github.com/mazz/Digger.git', :commit =>'49537de4d3e68549cdb0bf466dbb351d017dc63d'

8secz-johndpope avatar Apr 27 '21 05:04 8secz-johndpope