If you’re getting the following error on app launch when trying to include iOS 12 devices for instance:
dyld: Library not loaded: /System/Library/Frameworks/CryptoKit.framework/CryptoKit
Xcode is not properly adding
CryptoKit to the linked frameworks list. To solve this issue, you must manually add the
-weak_framework CryptoKit flag in your app’s target.