Build Information
Failed to build Orb, reference main (a48fc3
), with Swift 6.0 for macOS (SPM) on 3 Dec 2024 02:07:56 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Build Log
========================================
RunAll
========================================
Builder version: 4.58.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/metasidd/Orb.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/metasidd/Orb
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a48fc33 Add missing property
Cloned https://github.com/metasidd/Orb.git
Revision (git rev-parse @):
a48fc3382ad40905ca4aa9691c6b504004740ad1
SUCCESS checkout https://github.com/metasidd/Orb.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "orb",
"name": "Orb",
"url": "https://github.com/metasidd/Orb.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Orb",
"dependencies": [
]
}
]
}
Fetching https://github.com/metasidd/Orb.git
[1/98] Fetching orb
Fetched https://github.com/metasidd/Orb.git from cache (0.73s)
Creating working copy for https://github.com/metasidd/Orb.git
Working copy of https://github.com/metasidd/Orb.git resolved at main (a48fc33)
warning: '.resolve-product-dependencies': dependency 'orb' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/metasidd/Orb.git
{
"dependencies" : [
],
"manifest_display_name" : "Orb",
"name" : "Orb",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "tvos",
"version" : "17.0"
},
{
"name" : "watchos",
"version" : "10.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "Orb",
"targets" : [
"Orb"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Orb",
"module_type" : "SwiftTarget",
"name" : "Orb",
"path" : "Sources",
"product_memberships" : [
"Orb"
],
"sources" : [
"Config/OrbConfiguration.swift",
"Extensions/RealisticShadows.swift",
"OrbView/OrbView.swift",
"OrbView/Subviews/ParticlesView.swift",
"OrbView/Subviews/RotatingGlowView.swift",
"OrbView/Subviews/WavyBlobView.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/9] Compiling Orb WavyBlobView.swift
[4/9] Compiling Orb OrbView.swift
[5/9] Compiling Orb RealisticShadows.swift
[6/9] Compiling Orb OrbConfiguration.swift
[7/9] Emitting module Orb
/Users/admin/builder/spi-builder-workspace/Sources/OrbView/Subviews/ParticlesView.swift:19:16: error: cannot find type 'UIColor' in scope
17 | init(
18 | size: CGSize,
19 | color: UIColor,
| `- error: cannot find type 'UIColor' in scope
20 | speedRange: ClosedRange<Double>,
21 | sizeRange: ClosedRange<CGFloat>,
/Users/admin/builder/spi-builder-workspace/Sources/OrbView/Subviews/ParticlesView.swift:11:16: error: cannot find type 'UIColor' in scope
9 |
10 | class ParticleScene: SKScene {
11 | let color: UIColor
| `- error: cannot find type 'UIColor' in scope
12 | let speedRange: ClosedRange<Double>
13 | let sizeRange: ClosedRange<CGFloat>
[8/9] Compiling Orb RotatingGlowView.swift
[9/9] Compiling Orb ParticlesView.swift
/Users/admin/builder/spi-builder-workspace/Sources/OrbView/Subviews/ParticlesView.swift:19:16: error: cannot find type 'UIColor' in scope
17 | init(
18 | size: CGSize,
19 | color: UIColor,
| `- error: cannot find type 'UIColor' in scope
20 | speedRange: ClosedRange<Double>,
21 | sizeRange: ClosedRange<CGFloat>,
/Users/admin/builder/spi-builder-workspace/Sources/OrbView/Subviews/ParticlesView.swift:11:16: error: cannot find type 'UIColor' in scope
9 |
10 | class ParticleScene: SKScene {
11 | let color: UIColor
| `- error: cannot find type 'UIColor' in scope
12 | let speedRange: ClosedRange<Double>
13 | let sizeRange: ClosedRange<CGFloat>
/Users/admin/builder/spi-builder-workspace/Sources/OrbView/Subviews/ParticlesView.swift:115:24: error: cannot find 'UIGraphicsImageRenderer' in scope
113 | private func createParticleTexture() -> SKTexture {
114 | let size = CGSize(width: 8, height: 8) // Smaller size for better performance
115 | let renderer = UIGraphicsImageRenderer(size: size)
| `- error: cannot find 'UIGraphicsImageRenderer' in scope
116 |
117 | let image = renderer.image { context in
/Users/admin/builder/spi-builder-workspace/Sources/OrbView/Subviews/ParticlesView.swift:119:13: error: cannot find 'UIColor' in scope
117 | let image = renderer.image { context in
118 | // Simple filled white circle
119 | UIColor.white.setFill()
| `- error: cannot find 'UIColor' in scope
120 | let circlePath = UIBezierPath(ovalIn: CGRect(origin: .zero, size: size))
121 | circlePath.fill()
/Users/admin/builder/spi-builder-workspace/Sources/OrbView/Subviews/ParticlesView.swift:120:30: error: cannot find 'UIBezierPath' in scope
118 | // Simple filled white circle
119 | UIColor.white.setFill()
120 | let circlePath = UIBezierPath(ovalIn: CGRect(origin: .zero, size: size))
| `- error: cannot find 'UIBezierPath' in scope
121 | circlePath.fill()
122 | }
/Users/admin/builder/spi-builder-workspace/Sources/OrbView/Subviews/ParticlesView.swift:138:20: error: cannot find 'UIColor' in scope
136 | let scene = ParticleScene(
137 | size: CGSize(width: 300, height: 300), // Use fixed size
138 | color: UIColor(color),
| `- error: cannot find 'UIColor' in scope
139 | speedRange: speedRange,
140 | sizeRange: sizeRange,
/Users/admin/builder/spi-builder-workspace/Sources/OrbView/Subviews/ParticlesView.swift:136:34: error: extra arguments at positions #1, #3, #4, #5, #6 in call
34 | }
35 |
36 | required init?(coder aDecoder: NSCoder) {
| `- note: 'init(coder:)' declared here
37 | fatalError("init(coder:) has not been implemented")
38 | }
:
134 |
135 | var scene: SKScene {
136 | let scene = ParticleScene(
| `- error: extra arguments at positions #1, #3, #4, #5, #6 in call
137 | size: CGSize(width: 300, height: 300), // Use fixed size
138 | color: UIColor(color),
/Users/admin/builder/spi-builder-workspace/Sources/OrbView/Subviews/ParticlesView.swift:144:28: error: cannot infer contextual base in reference to member 'aspectFit'
142 | opacityRange: opacityRange
143 | )
144 | scene.scaleMode = .aspectFit
| `- error: cannot infer contextual base in reference to member 'aspectFit'
145 | return scene
146 | }
BUILD FAILURE 6.0 macosSpm