Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix deprecation warning when targeting macOS 13 (#814)
Another attempt at #710 Short description: Fixes this deprecation warning when targeting macOS 13: ``` Sources/XcodeProj/Extensions/String+md5.swift:63:16: warning: 'init(bytesNoCopy:length:encoding:freeWhenDone:)' was deprecated in macOS 13: String does not support no-copy initialization return String(bytesNoCopy: ptr, length: hexLen, encoding: .utf8, freeWhenDone: true)! ``` Solution: * cherry-picked an [updated version from swift-crypto](https://github.com/apple/swift-crypto/blob/606608da0875e3dee07cb37da3b38585420db111/Sources/Crypto/Util/PrettyBytes.swift#L40-L54)
- Loading branch information