RxSwiftCommunity / RxRealm

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

Fix `Realm` link error #trivial #213

Closed p-x9 closed 2 months ago

p-x9 commented 2 months ago

I use RxRealm via SPM. Thanks.

By the way, When I build on an Apple Silicon Mac, I get the following error (Xcode 15.2, MacOS 14.4.1(23E224))

Swift package target 'Realm' is linked as a static library by 'RxRealmTests' and 'Realm', but cannot be built dynamically because there is a package product with the same name.

I noticed that there is no need to include Realm directly in the dependency on the RxRealm side, since RealmSwift is already linked to Realm.

JoeMatt commented 2 months ago

/rebase

JoeMatt commented 2 months ago

Thank you. This was also fixed in #215

I don't have enough access control to rebase and change the default branch to develop, so everything was merged to main.

I'm hoping this didn't break things but I made a new PR to fix cocoapods release anyway here #216 216