RxSwiftCommunity / RxRealm

RxSwift extension for RealmSwift's types
MIT License
1.15k stars 263 forks source link

Add RxRealm.xcframework.zip to Github releases without dependencies #182

Closed anuragajwani closed 2 years ago

anuragajwani commented 2 years ago

Thanks for adding the XCFramework for this project to the Github releases.

I have noticed that the XCFramework is quite large (> 800Mb). I assume that the binary contains its dependencies too. However I would like to reference an XCFramework in Github releases that does not contain any dependencies within as these are added separately to my project for other targets.

Basically I don't want to have two copies of Realm within my end app build.

Let me know if I can assist in any way to make this happen.

Anurag.

freak4pc commented 2 years ago

Hey, To my understanding xcframeworks don't have dependencies per-we, so the direct dependencies are usually bundled.

This doesn't necessarily mean you'll have two copies of Realm during linking. In my experience the compiler is smart enough to dynamically link just one instance as long as all versions match up.