Skip to content

error: 'deallocate(capacity:)' is deprecated #166

Description

@mssun

I'm using Xcode version 9.3 (9E145) to build from Carthage.

Checkouts/OneTimePassword/Sources/Crypto.swift:33:20: error: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
    defer { macOut.deallocate(capacity: hashLength) }
                   ^

** ARCHIVE FAILED **


The following build commands failed:
        CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
        CompileSwift normal arm64
(2 failures)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions