passforios/pass
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
..
Assets.xcassets Consume ObjectiveGit through a binary Swift package (#528) 2021-12-28 15:17:11 -08:00
Base.lproj Fix PGP URL download controller issue 2021-12-29 16:00:27 -08:00
Controllers fix error when importing key using http (#556) 2022-05-22 22:23:25 -07:00
de.lproj Remove unused elements (#530) 2021-12-30 22:35:17 -08:00
en.lproj Remove unused elements (#530) 2021-12-30 22:35:17 -08:00
Helpers Fix building issue in CI 2022-01-09 22:31:46 -08:00
Models Fix the QRKeyScanner issue on reading footer 2021-01-09 16:26:56 -08:00
Services Force weak linking of CryptoTokenKit (#543) 2022-05-22 22:35:53 -07:00
Views Remove unused elements (#530) 2021-12-30 22:35:17 -08:00
AppDelegate.swift Initial implementation of using YubiKey for decryption (#533) 2022-01-09 21:38:39 -08:00
Info.plist Initial implementation of using YubiKey for decryption (#533) 2022-01-09 21:38:39 -08:00
pass.entitlements Initial implementation of using YubiKey for decryption (#533) 2022-01-09 21:38:39 -08:00
passBeta.entitlements Initial implementation of using YubiKey for decryption (#533) 2022-01-09 21:38:39 -08:00