I installed the Realm iOS SDK into my Xcode project using CocoaPods, as described in your documentation. However, I noticed that the Realm CocoaPod has taken up over 500MB of additional space in my project. Upon further inspection, it looks like the “culprit” files are located in
Pods/Realm/core/realm-monorepo.xcframework, where each folder inside that
realm-monorepo.xcframework folder contains a
librealm-monorepo.a that is 30 to 123MB big.
I commit all my CocoaPods into my GitHub repository, so when trying to commit the Realm files to my repo, GitHub told me that one of the
librealm-monorepo.a files was so large that it would not allow the file to be included in the repository. It looks like I will need to use Git Large File Storage to accommodate it, which is probably doable but inconvenient.
Do you guys have a particular recommendation for how to handle this large CocoaPod in our project? Is using Git Large File Storage what you’d recommend?