swift-cross-ui icon indicating copy to clipboard operation
swift-cross-ui copied to clipboard

Fix release build speed

Open stackotter opened this issue 6 months ago • 1 comments

Whenever I perform a clean release build of a SwiftCrossUI project, it takes way longer than it should. There are a few places it often seems to get stuck;

  1. ImageFormat's BytesConvertible.swift
  2. Swift Syntax

We don't have much control over the later, and Swift Syntax prebuilts should help alleviate it anyway.

The former is interesting, because when I perform a clean release build of swift-image-formats on its own it only takes 15 seconds. Perhaps SwiftPM is lying and it's actually hanging in some other step (or an internal step that doesn't get logged), or maybe SwiftCrossUI interacts with swift-image-formats in strange ways?

stackotter avatar Jun 25 '25 15:06 stackotter