Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dutypro opened this issue Nov 12, 2019 · 1 comment

Comments

@dutypro
Copy link

dutypro commented Nov 12, 2019

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.

@8secz-johndpope
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants