Skip to content

Extended package resolution time via SPM #430

@mitschlagel

Description

@mitschlagel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions