You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I set RxCocoa as a dependency (version 5.0.1) I see that Accio attempts to build RxSwift twice. From the logs:
✨ Found cached build products for RxSwift in local cache - skipping build.
✨ Found cached build products for RxRelay in local cache - skipping build.
✨ Found cached build products for RxSwift in local cache - skipping build.
✨ Found cached build products for RxCocoa in local cache - skipping build.
Seems like this is because RxCocoa depends on RxSwift and RxRelay, and RxRelay depends on RxSwift. Is this intended behaviour? Shouldn't Accio, after dependency resolution, only attempt to build the necessary dependencies once?
Thanks,
Andres
The text was updated successfully, but these errors were encountered:
Thanks for reporting this 👍 I was able to reconstruct this, and actually, Accio doesn't detect if a framework is required by multiple frameworks. This can probably be easily fixed by using a Set here:
It's correct that this is the case and I never thought this would be a problem since there's always at least a local caching in place which will skip the rendering. I just didn't go the extra mile since I didn't see much benefit in it, but you guys seem to do, so let me review #53 and merge it. Thanks, @fredpi!
Hi,
When I set
RxCocoa
as a dependency (version 5.0.1) I see that Accio attempts to buildRxSwift
twice. From the logs:Seems like this is because
RxCocoa
depends onRxSwift
andRxRelay
, andRxRelay
depends onRxSwift
. Is this intended behaviour? Shouldn't Accio, after dependency resolution, only attempt to build the necessary dependencies once?Thanks,
Andres
The text was updated successfully, but these errors were encountered: