Build Information
Failed to build UIPreview, reference 0.0.3 (036c76
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 09:35:40 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 -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0111b/UIPreview.git
Reference: 0.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/0111b/UIPreview
* tag 0.0.3 -> FETCH_HEAD
HEAD is now at 036c769 Merge pull request #9 from 0111b/develop
Cloned https://github.com/0111b/UIPreview.git
Revision (git rev-parse @):
036c76904e772bdfaa57c6509f299009022391f3
SUCCESS checkout https://github.com/0111b/UIPreview.git at 0.0.3
========================================
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": "uipreview",
"name": "UIPreview",
"url": "https://github.com/0111b/UIPreview.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/UIPreview",
"dependencies": [
]
}
]
}
Fetching https://github.com/0111b/UIPreview.git
[13/407] Fetching uipreview
Fetched https://github.com/0111b/UIPreview.git from cache (0.76s)
Creating working copy for https://github.com/0111b/UIPreview.git
Working copy of https://github.com/0111b/UIPreview.git resolved at 0.0.3 (036c769)
warning: '.resolve-product-dependencies': dependency 'uipreview' 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/0111b/UIPreview.git
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 -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/21] Compiling UIPreview UIViewControllerWrapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
2 | import SwiftUI
3 | #endif
4 | import UIKit
| `- error: no such module 'UIKit'
5 |
6 | @available(iOS 13, *)
[4/21] Compiling UIPreview UIViewWrapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
2 | import SwiftUI
3 | #endif
4 | import UIKit
| `- error: no such module 'UIKit'
5 |
6 | @available(iOS 13, *)
[5/22] Compiling UIPreview GroupItemView.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
2 | import SwiftUI
3 | #endif
4 | import UIKit
| `- error: no such module 'UIKit'
5 |
6 | @available(iOS 13, *)
[6/22] Compiling UIPreview Preview.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
2 | import SwiftUI
3 | #endif
4 | import UIKit
| `- error: no such module 'UIKit'
5 |
6 | @available(iOS 13, *)
[7/22] Compiling UIPreview View+UIViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
2 | import SwiftUI
3 | #endif
4 | import UIKit
| `- error: no such module 'UIKit'
5 |
6 | @available(iOS 13, *)
[8/22] Compiling UIPreview ColorSchemePreview.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
2 | import SwiftUI
3 | #endif
4 | import UIKit
| `- error: no such module 'UIKit'
5 |
6 | @available(iOS 13, *)
[9/22] Compiling UIPreview CatalogItemView.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
2 | import SwiftUI
3 | #endif
4 | import UIKit
| `- error: no such module 'UIKit'
5 |
6 | @available(iOS 13, *)
[10/22] Compiling UIPreview ExpandGroup.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
2 | import SwiftUI
3 | #endif
4 | import UIKit
| `- error: no such module 'UIKit'
5 |
6 | @available(iOS 13, *)
[11/22] Compiling UIPreview ComponentPreview.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
2 | import SwiftUI
3 | #endif
4 | import UIKit
| `- error: no such module 'UIKit'
5 |
6 | @available(iOS 13, *)
[12/22] Compiling UIPreview ScreenPreview.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
2 | import SwiftUI
3 | #endif
4 | import UIKit
| `- error: no such module 'UIKit'
5 |
6 | @available(iOS 13, *)
[13/22] Compiling UIPreview ForEach+Raw.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
2 | import SwiftUI
3 | #endif
4 | import UIKit
| `- error: no such module 'UIKit'
5 |
6 | @available(iOS 13, *)
[14/22] Compiling UIPreview View+Any.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
2 | import SwiftUI
3 | #endif
4 | import UIKit
| `- error: no such module 'UIKit'
5 |
6 | @available(iOS 13, *)
[15/22] Compiling UIPreview UICatalog.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
2 | import SwiftUI
3 | #endif
4 | import UIKit
| `- error: no such module 'UIKit'
5 |
6 | @available(iOS 13, *)
[16/22] Compiling UIPreview UICatalogPresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
2 | import SwiftUI
3 | #endif
4 | import UIKit
| `- error: no such module 'UIKit'
5 |
6 | @available(iOS 13, *)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/22] Emitting module UIPreview
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
2 | import SwiftUI
3 | #endif
4 | import UIKit
| `- error: no such module 'UIKit'
5 |
6 | @available(iOS 13, *)
[18/22] Compiling UIPreview PreviewConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
2 | import SwiftUI
3 | #endif
4 | import UIKit
| `- error: no such module 'UIKit'
5 |
6 | @available(iOS 13, *)
[19/22] Compiling UIPreview PreviewDescriptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
2 | import SwiftUI
3 | #endif
4 | import UIKit
| `- error: no such module 'UIKit'
5 |
6 | @available(iOS 13, *)
[20/22] Compiling UIPreview PreviewItemStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
2 | import SwiftUI
3 | #endif
4 | import UIKit
| `- error: no such module 'UIKit'
5 |
6 | @available(iOS 13, *)
[21/22] Compiling UIPreview PreviewLegend.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
2 | import SwiftUI
3 | #endif
4 | import UIKit
| `- error: no such module 'UIKit'
5 |
6 | @available(iOS 13, *)
[22/22] Compiling UIPreview ViewCoordinator.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
2 | import SwiftUI
3 | #endif
4 | import UIKit
| `- error: no such module 'UIKit'
5 |
6 | @available(iOS 13, *)
BUILD FAILURE 6.0 macosSpm