Issue title: Can't Install Lottie with Carthage
 Issue body: <!--
## Lottie-iOS Issue
Hello! Sorry, you're having an Issue! Please help us make Lottie better by filling everything below out with as much information as you can, so we can try to reproduce and fix the issue!
-->

## Check these before submitting:
- [] The issue doesn't involve an [Unsupported Feature](https://github.com/airbnb/lottie-ios/blob/master/README.md#supported-after-effects-features)
- [] This issue isn't related to another open issue

## This issue is a:
- [] Non-Crashing Bug (Visual or otherwise)
- 
## Which Version of Lottie are you using?

Lottie 3.0

## What Platform are you on? 
<!-- (Specify Platform Version) -->
- [] iOS

## What Language are you in?
- [] Swift

## Expected B
Can be installed with Carthage
<!-- Screenshots encouraged -->

## Actual Behavior
<img width="577" alt="Screen Shot 2021-12-13 at 12 06 58" src="https://user-images.githubusercontent.com/95082093/145755602-0e6bbae3-3b09-4626-8487-eba7e3bc2cd5.png">
ehavior 
<!-- Screenshots encouraged -->
Cannot install lottie library with carthage

## Code Example
<img width="365" alt="Screen Shot 2021-12-13 at 12 08 06" src="https://user-images.githubusercontent.com/95082093/145755672-bcf6387e-8be8-4869-acf5-f299df1fedf7.png">


## Animation JSON
<!-- Adding the animation JSON helps us debug the issue faster!  If you don't want to publicly share the Animation, please email me amanda48@example.net -->

 Comments: 
 Comment 0: https://github.com/airbnb/lottie-ios/issues/1448#issuecomment-996612284
 Comment 1: @jliussuweno25, does the fix discussed in https://github.com/airbnb/lottie-ios/issues/1448#issuecomment-998960232 work for you?
{'source': 'GithubIssues', 'repo_name_with_owner': 'airbnb/lottie-ios', 'issue_id': 1078094000, 'repo_stars': 23907.0}