BranchMetrics / ios-branch-deep-linking-attribution

The Branch iOS SDK for deep linking and attribution. Branch helps mobile apps grow with deep links / deeplinks that power paid acquisition and re-engagement campaigns, referral programs, content sharing, deep linked emails, smart banners, custom user onboarding, and more.
https://help.branch.io/developers-hub/docs/ios-sdk-overview
MIT License
731 stars 228 forks source link

SDK-1217 workaround tvOS SPM issue #1381

Closed echo-branch closed 5 months ago

echo-branch commented 5 months ago

Reference

SDK-1217 workaround tvOS SPM issue

Summary

Added preprocessor guards on all files that are not valid on tvOS. With other integration methods we can conditionally exclude these files, but it seems SPM does not allow this.

Motivation

Allow tvOS builds using SPM.

Type Of Change

Testing Instructions

Integrate Branch SDK into a tvOS app using SPM. App should build properly.

cc @BranchMetrics/saas-sdk-devs for visibility.

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 51.13%. Comparing base (4842da0) to head (8ff3e14). Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1381 +/- ## ========================================== + Coverage 51.03% 51.13% +0.09% ========================================== Files 66 66 Lines 10158 10158 Branches 3724 3724 ========================================== + Hits 5184 5194 +10 + Misses 4716 4705 -11 - Partials 258 259 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.