Skip to content

Instantly share code, notes, and snippets.

@Iron-Ham
Created March 4, 2026 22:35
Show Gist options
  • Select an option

  • Save Iron-Ham/ab33bbf4bf2f4bada354145b8f2c1a8e to your computer and use it in GitHub Desktop.

Select an option

Save Iron-Ham/ab33bbf4bf2f4bada354145b8f2c1a8e to your computer and use it in GitHub Desktop.
Minimal repro: Tuist 4.153.1+ archive failure with xcassets on static targets (tuist/tuist#9721)
import SwiftUI
@main
struct ReproApp: App {
var body: some Scene {
WindowGroup {
Text("Hello")
}
}
}
{
"colors": [
{
"color": {
"color-space": "srgb",
"components": {
"alpha": "1.000",
"blue": "0.400",
"green": "0.200",
"red": "0.800"
}
},
"idiom": "universal"
}
],
"info": {
"author": "xcode",
"version": 1
}
}
import Foundation
public struct MyStaticLib {
public static let version = "1.0"
}
// swift-tools-version: 6.0
import PackageDescription
let package = Package(
name: "Dependencies",
dependencies: []
)
import ProjectDescription
let project = Project(
name: "ReproApp",
targets: [
.target(
name: "ReproApp",
destinations: .iOS,
product: .app,
bundleId: "com.example.reproapp",
deploymentTargets: .iOS("17.0"),
sources: ["Sources/App/**"],
resources: [],
dependencies: [
.target(name: "MyStaticLib"),
]
),
.target(
name: "MyStaticLib",
destinations: .iOS,
product: .staticLibrary,
bundleId: "com.example.mystaticlib",
deploymentTargets: .iOS("17.0"),
sources: ["Sources/MyStaticLib/**"],
resources: ["Resources/MyStaticLib/**"]
),
]
)
import ProjectDescription
let config = Config()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment