Open sainttail opened 3 years ago
Use weak linking. See readme like https://github.com/SDWebImage/SDWebImageSwiftUI#using-for-backward-deployment-and-weak-linking-swiftui. Or I can update readme as well.
Other Linker Flags: -weak_framework LinkPresentation -framework CoreServices
Seems there are no CoreServices on iOS 11.
Apple rename MobileCoreServices to CoreServices start with iOS 12 :)
So this cause issue. Can you try to use source files to compile instead of pre-build binary ? Because clang compiler will know this suck and provide fallback.
Or our framework has to change source code to use MobileCoreServices
instead.
To give you update using Carthage
--no-use-binaries
option still does not solve the problem.
What was work for me is to copy the source code and make it as part of the project instead.
On iOS 13+ and 12+, this work fines I have a code to check for availibity of LinkPresentation framework and will use it accordingly but when it runs on iOS 11. It always crash with this error
Is there a way for us to make this work? on iOS 11