passforios/pass/Services
Bradley Walters 6f5385fe4a
Force weak linking of CryptoTokenKit (#543)
Apple's CryptoTokenKit is only present in iOS 13.0+ however it exports
symbols with availability annotations going back to iOS 10.0.

In the Pass app we have a deployment target of iOS 12.0. Apple's
automatic weak linking system apparently only looks at the
symbol-level availability annotations so it assumes the symbols
we use will always be present (even though they won't pre-iOS-13).

We can work around this issue by forcing weak linking using the
"Optional" framework setting. (Note that this workaround would not
work if CryptoTokenKit was used from a third-party swift package.)

This is necessary to restore iOS 12 support after #533.

For further history see https://github.com/mssun/passforios/issues/539
2022-05-22 22:35:53 -07:00
..
PasswordDecryptor.swift Force weak linking of CryptoTokenKit (#543) 2022-05-22 22:35:53 -07:00
PasswordEncryptor.swift Add missing file headers (#503) 2021-09-02 17:50:40 -07:00
PasswordManager.swift Show notification with OTP after providing password through extension (#509) 2021-09-20 00:50:05 -07:00
PasswordNavigationDataSource.swift Rename method 2021-08-27 22:03:00 -07:00