passforios/pass.xcodeproj
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
..
project.xcworkspace Fix building issue 2022-05-22 21:40:35 -07:00
xcshareddata/xcschemes Consume ObjectiveGit through a binary Swift package (#528) 2021-12-28 15:17:11 -08:00
project.pbxproj Force weak linking of CryptoTokenKit (#543) 2022-05-22 22:35:53 -07:00