-
Notifications
You must be signed in to change notification settings - Fork 32
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
Bump min iOS version to 13 #257
Conversation
7129cb0
to
bb6fc82
Compare
Codecov ReportBase: 95.92% // Head: 96.04% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #257 +/- ##
==========================================
+ Coverage 95.92% 96.04% +0.11%
==========================================
Files 100 100
Lines 5056 4976 -80
==========================================
- Hits 4850 4779 -71
+ Misses 206 197 -9
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
## Changes - Bump iOS Deployment target to iOS 13 so that we can start using new features like Swift Concurrency without sprinkling `#if` blocks everywhere.
## Changes - Fix iOS 13 deprecations. - Remove `SecTrust` validation from `SecCertificate.publicKey()` extraction method, as the new `SecTrustEvaluateWithError` API checks against the keychain and validates expiration, which isn't relevant for public key extraction. It would also require regenerating new certificates every now and then for UTs, which we avoid via `SecTrustSetVerifyDate` on the `SecTrust.make` test helper. - Improve certificate generation documentation, configs and scripts as I went thru the process of generating new certificates before realizing that I didn't have to.
## Changes - Remove all deprecated iOS version checks and APIs, mostly iOS 11 in AlicerceAutoLayout. - Replace deprecated `PthreadLock` with iOS 16+ `AllocatedUnfairLock` in `Lock.`
bb6fc82
to
9620eed
Compare
Checklist
master
Motivation and Context
features like Swift Concurrency without sprinkling
#if
blockseverywhere.
Description
SecTrust
validation fromSecCertificate.publicKey()
extraction method, as the new
SecTrustEvaluateWithError
API checksagainst the keychain and validates expiration, which isn't relevant for
public key extraction. It would also require regenerating new
certificates every now and then for UTs, which we avoid via
SecTrustSetVerifyDate
on theSecTrust.make
test helper.I went thru the process of generating new certificates before realizing
that I didn't have to.
AlicerceAutoLayout.
PthreadLock
with iOS 16+AllocatedUnfairLock
inLock.