Skip to content

Require CryptoKit (Xcode 11+)#230

Merged
mattrubin merged 2 commits intodevelopfrom
require-cryptokit
Apr 30, 2021
Merged

Require CryptoKit (Xcode 11+)#230
mattrubin merged 2 commits intodevelopfrom
require-cryptokit

Conversation

@mattrubin
Copy link
Copy Markdown
Owner

The CryptoKit library was introduced with iOS 13, so every version of Xcode with the iOS 13+ SDK (Xcode 11+) can build code that imports CryptoKit. This change doesn't affect OneTimePassword's runtime support for earlier iOS versions, because the runtime check and CommonCrypto fallback remain.

Also, delete pre-Swift 5.0 code paths that should have been removed in the previous PR.

The CryptoKit library was introduced with iOS 13, so every version of Xcode with the iOS 13+ SDK (Xcode 11+) can build code that imports CryptoKit. This change doesn't affect OneTimePassword's runtime support for earlier iOS versions, because the runtime check and CommonCrypto fallback remain.
The codebase no longer supports compiling with Swift 4.2
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 30, 2021

Codecov Report

Merging #230 (0e6c8c9) into develop (90df7e8) will increase coverage by 0.62%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #230      +/-   ##
===========================================
+ Coverage    96.35%   96.97%   +0.62%     
===========================================
  Files            6        6              
  Lines          384      364      -20     
===========================================
- Hits           370      353      -17     
+ Misses          14       11       -3     
Impacted Files Coverage Δ
Sources/Crypto.swift 100.00% <ø> (+5.88%) ⬆️
Sources/Generator.swift 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 90df7e8...0e6c8c9. Read the comment docs.

@mattrubin mattrubin merged commit 8f45c66 into develop Apr 30, 2021
@mattrubin mattrubin deleted the require-cryptokit branch April 30, 2021 01:23
@mattrubin mattrubin added this to the 3.3.0 milestone May 15, 2021
mattrubin added a commit that referenced this pull request Dec 28, 2022
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

Successfully merging this pull request may close these issues.

1 participant