Digger
Digger copied to clipboard
'deinitialize()' is unavailable: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
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.
see pod 'Digger',:git => 'https://github.com/mazz/Digger.git', :commit =>'49537de4d3e68549cdb0bf466dbb351d017dc63d'