BranchMetrics/ios-branch-deep-linking-attribution

Version 1.42 crashes on ios 12.

Closed this issue · 5 comments

Version 1.42 is not compliant with iOS 12 and cause the app to crash.
The crash is due to LinkPresentation.framework not being found, it is a framework that is used for ios 13 and above and it's supposed to have a "weak link" on ios 12 .
I am not sure if iOS 12 is intended to be further supported, but it would be great to have this fixed.

I'm seeing the same issue, though I can just test in the simulator and getting:

dyld: Library not loaded: /System/Library/Frameworks/LinkPresentation.framework/LinkPresentation Referenced from: /Users/danielkramer/Library/Developer/CoreSimulator/Devices/B2E846A1-BE50-4FDA-B419-9E25A238C592/data/Containers/Bundle/Application/CDC663EC-8707-4079-9752-DAD95F88FFD8/Upwords.app/Frameworks/Branch.framework/Branch Reason: image not found

Same error here

dyld: Library not loaded: /System/Library/Frameworks/LinkPresentation.framework/LinkPresentation
  Referenced from: /Users/perth/Library/Developer/CoreSimulator/Devices/3BC82E69-E20F-4CCA-98CF-6DEFD4A3C1AB/data/Containers/Bundle/Application/920E3E8F-1C14-4682-9D50-A5646D119D14/Pomelo.app/Frameworks/Branch.framework/Branch
  Reason: image not found

This can be solved by adding then changing the LinkPresentation.framework to "Optional" under Link Binaries With Libraries. We'll be sure to update this to be the default in our next release.

We have released 1.43.1 that adds LinkPresentation.framework as a weak dependency in the podspec.