RxDataSources icon indicating copy to clipboard operation
RxDataSources copied to clipboard

Extended package resolution time via SPM

Open mitschlagel opened this issue 8 months ago • 0 comments

Hello

When resolving dependencies, RxDataSources takes significantly longer than all other dependencies to resolve, sometimes hanging and never resolving.

When resolving via command line, we often get the following:

Checking out 5.0.2 of package ‘RxDataSources’ Couldn’t update repository submodules: Submodule 'Carthage/Checkouts/RxSwift' (https://github.com/ReactiveX/RxSwift.git) registered for path 'Carthage/Checkouts/RxSwift' Cloning into '/Users/346352/Library/Developer/Xcode/DerivedData/FNB-Beta-aphmtxtcxvdndkcwaaysglkzgjyz/SourcePackages/checkouts/RxDataSources/Carthage/Checkouts/RxSwift'... fatal: --stdin requires a git repository fatal: fetch-pack: invalid index-pack output fatal: clone of 'https://github.com/ReactiveX/RxSwift.git' into submodule path '/Users/346352/Library/Developer/Xcode/DerivedData/FNB-Beta-aphmtxtcxvdndkcwaaysglkzgjyz/SourcePackages/checkouts/RxDataSources/Carthage/Checkouts/RxSwift' failed Failed to clone 'Carthage/Checkouts/RxSwift'. Retry scheduled Cloning into '/Users/346352/Library/Developer/Xcode/DerivedData/FNB-Beta-aphmtxtcxvdndkcwaaysglkzgjyz/SourcePackages/checkouts/RxDataSources/Carthage/Checkouts/RxSwift'... error: RPC failed; curl 18 Transferred a partial file error: 4297 bytes of body are still expected fetch-pack: unexpected disconnect while reading sideband packet fatal: early EOF fatal: fetch-pack: invalid index-pack output fatal: clone of 'https://github.com/ReactiveX/RxSwift.git' into submodule path '/Users/346352/Library/Developer/Xcode/DerivedData/FNB-Beta-aphmtxtcxvdndkcwaaysglkzgjyz/SourcePackages/checkouts/RxDataSources/Carthage/Checkouts/RxSwift' failed Failed to clone 'Carthage/Checkouts/RxSwift' a second time, aborting

Steps taken so far:

  1. Reset package caches
  2. restarting xcode many times
  3. clean build + deleting derived data
  4. remove dependency and re-add

We are using 5.0.2.

Thanks.

mitschlagel avatar Mar 28 '25 18:03 mitschlagel