Skip to content

Xcode 16.4 - SPM loads some dependencies slow #1109

@findthebug

Description

@findthebug

We are using Tart VM in combination with Xcode 16.4 to build apps (triggered via GitLab pipelines).

Since upgrading to Xcode 16.4 last week, we’ve noticed that some Swift package dependencies (random ones) are loaded extremely slowly inside the VM, even though they are small packages. Some downloads take up to 20 minutes.

Image

The same project resolves all dependencies within seconds on the host machine.

Internet inside the VM & Host is confirmed to be fast—e.g., direct downloads and pings are quick—so this doesn't seem to be a raw network issue.

Environment:
VM Image: ghcr.io/cirruslabs/macos-sequoia-xcode:latest
Executor Version: 1.25.1
Tart Version: 2.28.2
Xcode Version: 16.4

Notes:

  • Issue started with Xcode 16.4.
  • Affects Swift Package Manager (SPM) dependency resolution.
  • The issue seems random and doesn’t affect the same packages consistently.
  • No problems on host macOS using the same project setup.
  • Since some dependencies take then up to 50minutes we run into pipeline timeouts.

Looking for any ideas or known issues related to:

  • Networking or I/O in Tart VM
  • SPM changes in Xcode 16.4
  • VM image performance quirks

Today I updated everything, but the behavior is the same as with the older versions.
Is anyone else experiencing this issue? I'm running out of ideas.

Is there a way to get some logs from the network stack in tart?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions