Build Information
Failed to build UIPreview, reference master (036c76
), with Swift 6.1 for watchOS using Xcode 16.3 on 26 Apr 2025 04:44:39 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme UIPreview -destination generic/platform=watchOS
Build Log
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:6:8: note: add @available attribute to enclosing generic struct
struct GroupItemView<Content>: View where Content: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:6:52: error: 'View' is only available in watchOS 6.0 or newer
struct GroupItemView<Content>: View where Content: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:6:8: note: add @available attribute to enclosing generic struct
struct GroupItemView<Content>: View where Content: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:26:24: error: 'some' return types are only available in watchOS 6.0.0 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:26:14: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:25:8: note: add @available attribute to enclosing struct
struct GroupItem_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:26:29: error: 'View' is only available in watchOS 6.0 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:26:14: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:25:8: note: add @available attribute to enclosing struct
struct GroupItem_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:10:18: error: 'AnyView' is only available in watchOS 6.0 or newer
init(_ view: AnyView, title: String) {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:10:5: note: add @available attribute to enclosing initializer
init(_ view: AnyView, title: String) {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:9:17: note: add @available attribute to enclosing struct
public struct Preview {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:15:23: error: 'some' return types are only available in watchOS 6.0.0 or newer
func preview() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:15:10: note: add @available attribute to enclosing instance method
func preview() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:9:17: note: add @available attribute to enclosing struct
public struct Preview {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:15:28: error: 'View' is only available in watchOS 6.0 or newer
func preview() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:15:10: note: add @available attribute to enclosing instance method
func preview() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:9:17: note: add @available attribute to enclosing struct
public struct Preview {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:24:39: error: cannot find type 'UIViewController' in scope
public func asViewController() -> UIViewController {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:29:15: error: 'AnyView' is only available in watchOS 6.0 or newer
let view: AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:9:17: note: add @available attribute to enclosing struct
public struct Preview {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift:25:29: error: cannot find type 'UIContentSizeCategory' in scope
contentSize: [UIContentSizeCategory] = [.unspecified],
^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift:60:15: error: 'ColorScheme' is only available in watchOS 6.0 or newer
var scheme: ColorScheme {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift:60:7: note: add @available attribute to enclosing property
var scheme: ColorScheme {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift:59:1: note: add @available attribute to enclosing extension
extension UICatalog.Theme {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift:70:22: error: 'ColorScheme' is only available in watchOS 6.0 or newer
var colorSchemes: [ColorScheme] { themes.map(\.scheme) }
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift:70:7: note: add @available attribute to enclosing property
var colorSchemes: [ColorScheme] { themes.map(\.scheme) }
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift:69:1: note: add @available attribute to enclosing extension
extension UICatalog.PreviewConfiguration {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift:71:29: error: 'ContentSizeCategory' is only available in watchOS 6.0 or newer
var contentSizeCategory: [ContentSizeCategory] {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift:71:7: note: add @available attribute to enclosing property
var contentSizeCategory: [ContentSizeCategory] {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift:69:1: note: add @available attribute to enclosing extension
extension UICatalog.PreviewConfiguration {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewDescriptor.swift:10:24: error: 'AnyView' is only available in watchOS 6.0 or newer
let builder: () -> AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewDescriptor.swift:9:17: note: add @available attribute to enclosing struct
public struct PreviewDescriptor: Identifiable, Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:10:22: error: 'AnyView' is only available in watchOS 6.0 or newer
func body(content: AnyView, configuration: Self.Configuration) -> AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:10:8: note: add @available attribute to enclosing instance method
func body(content: AnyView, configuration: Self.Configuration) -> AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:5:17: note: add @available attribute to enclosing protocol
public protocol PreviewItemStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:10:69: error: 'AnyView' is only available in watchOS 6.0 or newer
func body(content: AnyView, configuration: Self.Configuration) -> AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:10:8: note: add @available attribute to enclosing instance method
func body(content: AnyView, configuration: Self.Configuration) -> AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:5:17: note: add @available attribute to enclosing protocol
public protocol PreviewItemStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:21:24: error: 'ColorScheme' is only available in watchOS 6.0 or newer
public let scheme: ColorScheme
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:19:17: note: add @available attribute to enclosing struct
public struct PreviewItemStyleConfiguration {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:22:26: error: 'ContentSizeCategory' is only available in watchOS 6.0 or newer
public let category: ContentSizeCategory
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:19:17: note: add @available attribute to enclosing struct
public struct PreviewItemStyleConfiguration {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:28:24: error: 'AnyView' is only available in watchOS 6.0 or newer
func body(content: AnyView, configuration: Configuration) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:28:10: note: add @available attribute to enclosing instance method
func body(content: AnyView, configuration: Configuration) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:27:10: note: add @available attribute to enclosing struct
struct DefaultPreviewItemStyle: PreviewItemStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:28:66: error: 'AnyView' is only available in watchOS 6.0 or newer
func body(content: AnyView, configuration: Configuration) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:28:10: note: add @available attribute to enclosing instance method
func body(content: AnyView, configuration: Configuration) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:27:10: note: add @available attribute to enclosing struct
struct DefaultPreviewItemStyle: PreviewItemStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:38:18: error: 'AnyView' is only available in watchOS 6.0 or newer
let content: AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:37:10: note: add @available attribute to enclosing struct
struct DefaultPreviewItemStyleView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:41:15: error: 'some' return types are only available in watchOS 6.0.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:41:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:37:10: note: add @available attribute to enclosing struct
struct DefaultPreviewItemStyleView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:41:20: error: 'View' is only available in watchOS 6.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:41:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:37:10: note: add @available attribute to enclosing struct
struct DefaultPreviewItemStyleView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:71:34: error: 'some' return types are only available in watchOS 6.0.0 or newer
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:71:8: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:68:16: note: add @available attribute to enclosing struct
private struct SizeModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:71:39: error: 'View' is only available in watchOS 6.0 or newer
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:71:8: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:68:16: note: add @available attribute to enclosing struct
private struct SizeModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:84:24: error: 'some' return types are only available in watchOS 6.0.0 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:84:14: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:83:8: note: add @available attribute to enclosing struct
struct DefaultPreviewItemStyle_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:84:29: error: 'View' is only available in watchOS 6.0 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:84:14: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:83:8: note: add @available attribute to enclosing struct
struct DefaultPreviewItemStyle_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:91:23: error: 'AnyView' is only available in watchOS 6.0 or newer
static var content: AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:91:14: note: add @available attribute to enclosing static property
static var content: AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:83:8: note: add @available attribute to enclosing struct
struct DefaultPreviewItemStyle_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:7:4: error: 'State' is only available in watchOS 6.0 or newer
@State var isExpanded: Bool = false
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:6:8: note: add @available attribute to enclosing struct
struct PreviewLegend: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:9:13: error: 'some' return types are only available in watchOS 6.0.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:9:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:6:8: note: add @available attribute to enclosing struct
struct PreviewLegend: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:9:18: error: 'View' is only available in watchOS 6.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:9:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:6:8: note: add @available attribute to enclosing struct
struct PreviewLegend: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:15:23: error: 'some' return types are only available in watchOS 6.0.0 or newer
var previewContent: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:15:7: note: add @available attribute to enclosing property
var previewContent: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:6:8: note: add @available attribute to enclosing struct
struct PreviewLegend: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:15:28: error: 'View' is only available in watchOS 6.0 or newer
var previewContent: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:15:7: note: add @available attribute to enclosing property
var previewContent: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:6:8: note: add @available attribute to enclosing struct
struct PreviewLegend: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:45:24: error: 'some' return types are only available in watchOS 6.0.0 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:45:14: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:44:8: note: add @available attribute to enclosing struct
struct PreviewLegend_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:45:29: error: 'View' is only available in watchOS 6.0 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:45:14: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:44:8: note: add @available attribute to enclosing struct
struct PreviewLegend_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:62:11: error: 'ContentSizeCategory' is only available in watchOS 6.0 or newer
extension ContentSizeCategory {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:62:1: note: add @available attribute to enclosing extension
extension ContentSizeCategory {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift:23:45: error: 'AnyView' is only available in watchOS 6.0 or newer
func preview(with model: PreviewModel) -> AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift:23:8: note: add @available attribute to enclosing instance method
func preview(with model: PreviewModel) -> AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift:7:17: note: add @available attribute to enclosing protocol
public protocol UICatalogPresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift:28:59: error: 'AnyView' is only available in watchOS 6.0 or newer
public static func preview(with model: PreviewModel) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift:28:22: note: add @available attribute to enclosing static method
public static func preview(with model: PreviewModel) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift:27:1: note: add @available attribute to enclosing extension
extension UICatalogPresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift:35:52: error: 'AnyView' is only available in watchOS 6.0 or newer
public func preview(with model: PreviewModel) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift:35:15: note: add @available attribute to enclosing instance method
public func preview(with model: PreviewModel) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift:34:1: note: add @available attribute to enclosing extension
extension UICatalogPresentable where Self: UIView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UIKitWrapper/UIViewControllerWrapper.swift:8:52: error: cannot find type 'UIViewController' in scope
public struct UIViewControllerWrapper<ContentView: UIViewController>: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UIKitWrapper/UIViewControllerWrapper.swift:22:45: error: cannot find type 'Context' in scope
public func makeUIViewController(context: Context) -> ContentView {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UIKitWrapper/UIViewControllerWrapper.swift:26:80: error: cannot find type 'Context' in scope
public func updateUIViewController(_ uiViewController: ContentView, context: Context) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UIKitWrapper/UIViewControllerWrapper.swift:8:71: error: cannot find type 'UIViewControllerRepresentable' in scope
public struct UIViewControllerWrapper<ContentView: UIViewController>: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UIKitWrapper/UIViewWrapper.swift:8:42: error: cannot find type 'UIView' in scope
public struct UIViewWrapper<ContentView: UIView>: UIViewRepresentable {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UIKitWrapper/UIViewWrapper.swift:22:35: error: cannot find type 'Context' in scope
public func makeUIView(context: Context) -> ContentView {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UIKitWrapper/UIViewWrapper.swift:26:60: error: cannot find type 'Context' in scope
public func updateUIView(_ uiView: ContentView, context: Context) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UIKitWrapper/UIViewWrapper.swift:8:51: error: cannot find type 'UIViewRepresentable' in scope
public struct UIViewWrapper<ContentView: UIView>: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
Failed frontend command:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/ForEach+Raw.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewDescriptor.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalog.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UIKitWrapper/UIViewControllerWrapper.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UIKitWrapper/UIViewWrapper.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UIKitWrapper/ViewCoordinator.swift -target arm64_32-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/arm64_32/UIPreview_const_extract_protocols.json -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -enable-experimental-feature DebugDescriptionMacro -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name UIPreview -frontend-parseable-output -disable-clang-spi -target-sdk-version 11.4 -target-sdk-name watchos11.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/arm64_32/UIPreview.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/arm64_32/UIPreview.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/arm64_32/UIPreview-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/arm64_32/UIPreview-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/arm64_32/UIPreview-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/arm64_32/UIPreview.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/arm64_32/UIPreview.abi.json
SwiftCompile normal arm64_32 Compiling\ ComponentPreview.swift,\ ScreenPreview.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift (in target 'UIPreview' from project 'UIPreview')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ CatalogItemView.swift,\ ExpandGroup.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift (in target 'UIPreview' from project 'UIPreview')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ UICatalog.swift,\ UICatalogPresentable.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalog.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift (in target 'UIPreview' from project 'UIPreview')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalog.swift (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ View+UIViewController.swift,\ ColorSchemePreview.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift (in target 'UIPreview' from project 'UIPreview')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ ForEach+Raw.swift,\ View+Any.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/ForEach+Raw.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift (in target 'UIPreview' from project 'UIPreview')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/ForEach+Raw.swift (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal armv7k Emitting\ module\ for\ UIPreview (in target 'UIPreview' from project 'UIPreview')
Failed frontend command:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/ForEach+Raw.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewDescriptor.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalog.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UIKitWrapper/UIViewControllerWrapper.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UIKitWrapper/UIViewWrapper.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UIKitWrapper/ViewCoordinator.swift -target armv7k-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/armv7k/UIPreview_const_extract_protocols.json -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -enable-experimental-feature DebugDescriptionMacro -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name UIPreview -frontend-parseable-output -disable-clang-spi -target-sdk-version 11.4 -target-sdk-name watchos11.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/armv7k/UIPreview.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/armv7k/UIPreview.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/armv7k/UIPreview-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/armv7k/UIPreview-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/armv7k/UIPreview-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/armv7k/UIPreview.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/armv7k/UIPreview.abi.json
EmitSwiftModule normal armv7k (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/ForEach+Raw.swift:6:11: error: 'ForEach' is only available in watchOS 6.0 or newer
extension ForEach where Data.Element: Hashable, ID == Data.Element, Content: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/ForEach+Raw.swift:6:1: note: add @available attribute to enclosing extension
extension ForEach where Data.Element: Hashable, ID == Data.Element, Content: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/ForEach+Raw.swift:6:78: error: 'View' is only available in watchOS 6.0 or newer
extension ForEach where Data.Element: Hashable, ID == Data.Element, Content: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/ForEach+Raw.swift:6:1: note: add @available attribute to enclosing extension
extension ForEach where Data.Element: Hashable, ID == Data.Element, Content: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:5:24: error: 'AnyView' is only available in watchOS 6.0 or newer
func eraseToAny() -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:5:8: note: add @available attribute to enclosing instance method
func eraseToAny() -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:4:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:4:11: error: 'View' is only available in watchOS 6.0 or newer
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:4:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:8:37: error: cannot find type 'UIViewController' in scope
public func asViewController() -> UIViewController {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:7:11: error: 'View' is only available in watchOS 6.0 or newer
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:7:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:8:38: error: 'some' return types are only available in watchOS 6.0.0 or newer
public func previewLightTheme() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:8:15: note: add @available attribute to enclosing instance method
public func previewLightTheme() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:6:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:8:43: error: 'View' is only available in watchOS 6.0 or newer
public func previewLightTheme() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:8:15: note: add @available attribute to enclosing instance method
public func previewLightTheme() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:6:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:13:37: error: 'some' return types are only available in watchOS 6.0.0 or newer
public func previewDarkTheme() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:13:15: note: add @available attribute to enclosing instance method
public func previewDarkTheme() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:6:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:13:42: error: 'View' is only available in watchOS 6.0 or newer
public func previewDarkTheme() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:13:15: note: add @available attribute to enclosing instance method
public func previewDarkTheme() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:6:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:6:11: error: 'View' is only available in watchOS 6.0 or newer
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:6:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:19:11: error: 'ColorScheme' is only available in watchOS 6.0 or newer
extension ColorScheme {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:19:1: note: add @available attribute to enclosing extension
extension ColorScheme {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:36:23: error: 'ColorScheme' is only available in watchOS 6.0 or newer
private let scheme: ColorScheme
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:34:8: note: add @available attribute to enclosing generic struct
struct ColorSchemePreview<Preview: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:38:16: error: 'ColorScheme' is only available in watchOS 6.0 or newer
init(scheme: ColorScheme, @ViewBuilder builder: @escaping () -> Preview) {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:38:3: note: add @available attribute to enclosing initializer
init(scheme: ColorScheme, @ViewBuilder builder: @escaping () -> Preview) {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:34:8: note: add @available attribute to enclosing generic struct
struct ColorSchemePreview<Preview: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:38:30: error: 'ViewBuilder' is only available in watchOS 6.0 or newer
init(scheme: ColorScheme, @ViewBuilder builder: @escaping () -> Preview) {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:38:3: note: add @available attribute to enclosing initializer
init(scheme: ColorScheme, @ViewBuilder builder: @escaping () -> Preview) {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:34:8: note: add @available attribute to enclosing generic struct
struct ColorSchemePreview<Preview: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:43:13: error: 'some' return types are only available in watchOS 6.0.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:43:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:34:8: note: add @available attribute to enclosing generic struct
struct ColorSchemePreview<Preview: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:43:18: error: 'View' is only available in watchOS 6.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:43:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:34:8: note: add @available attribute to enclosing generic struct
struct ColorSchemePreview<Preview: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:34:36: error: 'View' is only available in watchOS 6.0 or newer
struct ColorSchemePreview<Preview: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:34:8: note: add @available attribute to enclosing generic struct
struct ColorSchemePreview<Preview: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:8:39: error: 'some' return types are only available in watchOS 6.0.0 or newer
public func previewAsComponent() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:8:15: note: add @available attribute to enclosing instance method
public func previewAsComponent() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:6:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:8:44: error: 'View' is only available in watchOS 6.0 or newer
public func previewAsComponent() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:8:15: note: add @available attribute to enclosing instance method
public func previewAsComponent() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:6:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:6:11: error: 'View' is only available in watchOS 6.0 or newer
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:6:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:15:14: warning: static property 'smallestAndLargest' is not concurrency-safe because non-'Sendable' type '[ContentSizeCategory]' may have shared mutable state; this is an error in the Swift 6 language mode
static let smallestAndLargest = [allCases.first!, allCases.last!]
^
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
@frozen public struct Array<Element> : _DestructorSafeContainer {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:15:14: note: add '@MainActor' to make static property 'smallestAndLargest' part of global actor 'MainActor'
static let smallestAndLargest = [allCases.first!, allCases.last!]
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:15:14: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let smallestAndLargest = [allCases.first!, allCases.last!]
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:14:11: error: 'ContentSizeCategory' is only available in watchOS 6.0 or newer
extension ContentSizeCategory {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:14:1: note: add @available attribute to enclosing extension
extension ContentSizeCategory {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:26:13: error: 'some' return types are only available in watchOS 6.0.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:26:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:23:8: note: add @available attribute to enclosing generic struct
struct ComponentPreview<Component: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:26:18: error: 'View' is only available in watchOS 6.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:26:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:23:8: note: add @available attribute to enclosing generic struct
struct ComponentPreview<Component: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:23:36: error: 'View' is only available in watchOS 6.0 or newer
struct ComponentPreview<Component: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:23:8: note: add @available attribute to enclosing generic struct
struct ComponentPreview<Component: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift:20:78: error: 'some' return types are only available in watchOS 6.0.0 or newer
public func previewAsScreen(deviceNames: [String] = defaultDeviceNames) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift:20:15: note: add @available attribute to enclosing instance method
public func previewAsScreen(deviceNames: [String] = defaultDeviceNames) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift:18:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift:20:83: error: 'View' is only available in watchOS 6.0 or newer
public func previewAsScreen(deviceNames: [String] = defaultDeviceNames) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift:20:15: note: add @available attribute to enclosing instance method
public func previewAsScreen(deviceNames: [String] = defaultDeviceNames) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift:18:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift:18:11: error: 'View' is only available in watchOS 6.0 or newer
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift:18:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift:30:13: error: 'some' return types are only available in watchOS 6.0.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift:30:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift:26:8: note: add @available attribute to enclosing generic struct
struct ScreenPreview<Screen: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift:30:18: error: 'View' is only available in watchOS 6.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift:30:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift:26:8: note: add @available attribute to enclosing generic struct
struct ScreenPreview<Screen: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift:26:30: error: 'View' is only available in watchOS 6.0 or newer
struct ScreenPreview<Screen: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift:26:8: note: add @available attribute to enclosing generic struct
struct ScreenPreview<Screen: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift:10:13: error: 'some' return types are only available in watchOS 6.0.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift:10:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift:7:8: note: add @available attribute to enclosing generic struct
struct CatalogItemView<Content: UICatalogPresentable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift:10:18: error: 'View' is only available in watchOS 6.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift:10:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift:7:8: note: add @available attribute to enclosing generic struct
struct CatalogItemView<Content: UICatalogPresentable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift:11:23: error: cannot find type 'UIContentSizeCategory' in scope
let contentSize: [UIContentSizeCategory]
^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift:29:24: error: 'some' return types are only available in watchOS 6.0.0 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift:29:14: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift:28:8: note: add @available attribute to enclosing struct
struct CatalogItem_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift:29:29: error: 'View' is only available in watchOS 6.0 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift:29:14: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift:28:8: note: add @available attribute to enclosing struct
struct CatalogItem_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift:39:31: error: cannot find type 'UILabel' in scope
private final class TestView: UILabel, UICatalogPresentable {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift:40:14: warning: static property 'previewModels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var previewModels = [
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift:40:14: note: convert 'previewModels' to a 'let' constant to make 'Sendable' shared state immutable
static var previewModels = [
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift:40:14: note: add '@MainActor' to make static property 'previewModels' part of global actor 'MainActor'
static var previewModels = [
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift:40:14: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var previewModels = [
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift:34:44: error: cannot find type 'UIView' in scope
extension UICatalogPresentable where Self: UIView {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift:40:44: error: cannot find type 'UIView' in scope
extension UICatalogPresentable where Self: UIView {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:12:4: error: 'State' is only available in watchOS 6.0 or newer
@State private var defaultIsExpanded: Bool = false
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:11:8: note: add @available attribute to enclosing generic struct
struct ExpandGroup<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:13:27: error: 'Binding' is only available in watchOS 6.0 or newer
private var isExpanded: Binding<Bool>?
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:11:8: note: add @available attribute to enclosing generic struct
struct ExpandGroup<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:18:20: error: 'Binding' is only available in watchOS 6.0 or newer
init(isExpanded: Binding<Bool>,
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:18:3: note: add @available attribute to enclosing initializer
init(isExpanded: Binding<Bool>,
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:11:8: note: add @available attribute to enclosing generic struct
struct ExpandGroup<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:27:39: error: 'Text' is only available in watchOS 6.0 or newer
where S: StringProtocol, Caption == Text {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:24:3: note: add @available attribute to enclosing initializer
init<S>(_ caption: S,
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:11:8: note: add @available attribute to enclosing generic struct
struct ExpandGroup<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:25:23: error: 'Binding' is only available in watchOS 6.0 or newer
isExpanded: Binding<Bool>,
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:24:3: note: add @available attribute to enclosing initializer
init<S>(_ caption: S,
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:11:8: note: add @available attribute to enclosing generic struct
struct ExpandGroup<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:38:39: error: 'Text' is only available in watchOS 6.0 or newer
where S: StringProtocol, Caption == Text {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:36:3: note: add @available attribute to enclosing initializer
init<S>(_ caption: S,
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:11:8: note: add @available attribute to enclosing generic struct
struct ExpandGroup<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:42:28: error: 'Binding' is only available in watchOS 6.0 or newer
private init(isExpanded: Binding<Bool>?,
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:42:11: note: add @available attribute to enclosing initializer
private init(isExpanded: Binding<Bool>?,
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:11:8: note: add @available attribute to enclosing generic struct
struct ExpandGroup<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:50:13: error: 'some' return types are only available in watchOS 6.0.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:50:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:11:8: note: add @available attribute to enclosing generic struct
struct ExpandGroup<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:50:18: error: 'View' is only available in watchOS 6.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:50:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:11:8: note: add @available attribute to enclosing generic struct
struct ExpandGroup<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:11:59: error: 'View' is only available in watchOS 6.0 or newer
struct ExpandGroup<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:11:8: note: add @available attribute to enclosing generic struct
struct ExpandGroup<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:11:74: error: 'View' is only available in watchOS 6.0 or newer
struct ExpandGroup<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:11:8: note: add @available attribute to enclosing generic struct
struct ExpandGroup<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:61:4: error: 'Binding' is only available in watchOS 6.0 or newer
@Binding var isExpanded: Bool
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:60:16: note: add @available attribute to enclosing generic struct
private struct ExpandGroupImp<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:66:29: error: 'some' return types are only available in watchOS 6.0.0 or newer
private var chevronImage: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:66:15: note: add @available attribute to enclosing property
private var chevronImage: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:60:16: note: add @available attribute to enclosing generic struct
private struct ExpandGroupImp<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:66:34: error: 'View' is only available in watchOS 6.0 or newer
private var chevronImage: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:66:15: note: add @available attribute to enclosing property
private var chevronImage: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:60:16: note: add @available attribute to enclosing generic struct
private struct ExpandGroupImp<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:73:13: error: 'some' return types are only available in watchOS 6.0.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:73:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:60:16: note: add @available attribute to enclosing generic struct
private struct ExpandGroupImp<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:73:18: error: 'View' is only available in watchOS 6.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:73:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:60:16: note: add @available attribute to enclosing generic struct
private struct ExpandGroupImp<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:72:4: error: 'ViewBuilder' is only available in watchOS 6.0 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:60:16: note: add @available attribute to enclosing generic struct
private struct ExpandGroupImp<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:60:70: error: 'View' is only available in watchOS 6.0 or newer
private struct ExpandGroupImp<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:60:16: note: add @available attribute to enclosing generic struct
private struct ExpandGroupImp<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:60:85: error: 'View' is only available in watchOS 6.0 or newer
private struct ExpandGroupImp<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:60:16: note: add @available attribute to enclosing generic struct
private struct ExpandGroupImp<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:99:24: error: 'some' return types are only available in watchOS 6.0.0 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:99:14: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:98:8: note: add @available attribute to enclosing struct
struct ExpandGroup_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:99:29: error: 'View' is only available in watchOS 6.0 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:99:14: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:98:8: note: add @available attribute to enclosing struct
struct ExpandGroup_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:14:13: error: 'some' return types are only available in watchOS 6.0.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:14:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:6:8: note: add @available attribute to enclosing generic struct
struct GroupItemView<Content>: View where Content: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:14:18: error: 'View' is only available in watchOS 6.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:14:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:6:8: note: add @available attribute to enclosing generic struct
struct GroupItemView<Content>: View where Content: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:6:52: error: 'View' is only available in watchOS 6.0 or newer
struct GroupItemView<Content>: View where Content: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:6:8: note: add @available attribute to enclosing generic struct
struct GroupItemView<Content>: View where Content: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:26:24: error: 'some' return types are only available in watchOS 6.0.0 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:26:14: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:25:8: note: add @available attribute to enclosing struct
struct GroupItem_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:26:29: error: 'View' is only available in watchOS 6.0 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:26:14: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:25:8: note: add @available attribute to enclosing struct
struct GroupItem_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:10:18: error: 'AnyView' is only available in watchOS 6.0 or newer
init(_ view: AnyView, title: String) {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:10:5: note: add @available attribute to enclosing initializer
init(_ view: AnyView, title: String) {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:9:17: note: add @available attribute to enclosing struct
public struct Preview {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:15:23: error: 'some' return types are only available in watchOS 6.0.0 or newer
func preview() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:15:10: note: add @available attribute to enclosing instance method
func preview() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:9:17: note: add @available attribute to enclosing struct
public struct Preview {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:15:28: error: 'View' is only available in watchOS 6.0 or newer
func preview() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:15:10: note: add @available attribute to enclosing instance method
func preview() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:9:17: note: add @available attribute to enclosing struct
public struct Preview {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:24:39: error: cannot find type 'UIViewController' in scope
public func asViewController() -> UIViewController {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:29:15: error: 'AnyView' is only available in watchOS 6.0 or newer
let view: AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:9:17: note: add @available attribute to enclosing struct
public struct Preview {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift:25:29: error: cannot find type 'UIContentSizeCategory' in scope
contentSize: [UIContentSizeCategory] = [.unspecified],
^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift:60:15: error: 'ColorScheme' is only available in watchOS 6.0 or newer
var scheme: ColorScheme {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift:60:7: note: add @available attribute to enclosing property
var scheme: ColorScheme {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift:59:1: note: add @available attribute to enclosing extension
extension UICatalog.Theme {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift:70:22: error: 'ColorScheme' is only available in watchOS 6.0 or newer
var colorSchemes: [ColorScheme] { themes.map(\.scheme) }
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift:70:7: note: add @available attribute to enclosing property
var colorSchemes: [ColorScheme] { themes.map(\.scheme) }
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift:69:1: note: add @available attribute to enclosing extension
extension UICatalog.PreviewConfiguration {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift:71:29: error: 'ContentSizeCategory' is only available in watchOS 6.0 or newer
var contentSizeCategory: [ContentSizeCategory] {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift:71:7: note: add @available attribute to enclosing property
var contentSizeCategory: [ContentSizeCategory] {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift:69:1: note: add @available attribute to enclosing extension
extension UICatalog.PreviewConfiguration {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewDescriptor.swift:10:24: error: 'AnyView' is only available in watchOS 6.0 or newer
let builder: () -> AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewDescriptor.swift:9:17: note: add @available attribute to enclosing struct
public struct PreviewDescriptor: Identifiable, Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:10:22: error: 'AnyView' is only available in watchOS 6.0 or newer
func body(content: AnyView, configuration: Self.Configuration) -> AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:10:8: note: add @available attribute to enclosing instance method
func body(content: AnyView, configuration: Self.Configuration) -> AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:5:17: note: add @available attribute to enclosing protocol
public protocol PreviewItemStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:10:69: error: 'AnyView' is only available in watchOS 6.0 or newer
func body(content: AnyView, configuration: Self.Configuration) -> AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:10:8: note: add @available attribute to enclosing instance method
func body(content: AnyView, configuration: Self.Configuration) -> AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:5:17: note: add @available attribute to enclosing protocol
public protocol PreviewItemStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:21:24: error: 'ColorScheme' is only available in watchOS 6.0 or newer
public let scheme: ColorScheme
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:19:17: note: add @available attribute to enclosing struct
public struct PreviewItemStyleConfiguration {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:22:26: error: 'ContentSizeCategory' is only available in watchOS 6.0 or newer
public let category: ContentSizeCategory
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:19:17: note: add @available attribute to enclosing struct
public struct PreviewItemStyleConfiguration {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:28:24: error: 'AnyView' is only available in watchOS 6.0 or newer
func body(content: AnyView, configuration: Configuration) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:28:10: note: add @available attribute to enclosing instance method
func body(content: AnyView, configuration: Configuration) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:27:10: note: add @available attribute to enclosing struct
struct DefaultPreviewItemStyle: PreviewItemStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:28:66: error: 'AnyView' is only available in watchOS 6.0 or newer
func body(content: AnyView, configuration: Configuration) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:28:10: note: add @available attribute to enclosing instance method
func body(content: AnyView, configuration: Configuration) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:27:10: note: add @available attribute to enclosing struct
struct DefaultPreviewItemStyle: PreviewItemStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:38:18: error: 'AnyView' is only available in watchOS 6.0 or newer
let content: AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:37:10: note: add @available attribute to enclosing struct
struct DefaultPreviewItemStyleView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:41:15: error: 'some' return types are only available in watchOS 6.0.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:41:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:37:10: note: add @available attribute to enclosing struct
struct DefaultPreviewItemStyleView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:41:20: error: 'View' is only available in watchOS 6.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:41:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:37:10: note: add @available attribute to enclosing struct
struct DefaultPreviewItemStyleView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:71:34: error: 'some' return types are only available in watchOS 6.0.0 or newer
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:71:8: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:68:16: note: add @available attribute to enclosing struct
private struct SizeModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:71:39: error: 'View' is only available in watchOS 6.0 or newer
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:71:8: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:68:16: note: add @available attribute to enclosing struct
private struct SizeModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:84:24: error: 'some' return types are only available in watchOS 6.0.0 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:84:14: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:83:8: note: add @available attribute to enclosing struct
struct DefaultPreviewItemStyle_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:84:29: error: 'View' is only available in watchOS 6.0 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:84:14: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:83:8: note: add @available attribute to enclosing struct
struct DefaultPreviewItemStyle_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:91:23: error: 'AnyView' is only available in watchOS 6.0 or newer
static var content: AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:91:14: note: add @available attribute to enclosing static property
static var content: AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:83:8: note: add @available attribute to enclosing struct
struct DefaultPreviewItemStyle_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:7:4: error: 'State' is only available in watchOS 6.0 or newer
@State var isExpanded: Bool = false
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:6:8: note: add @available attribute to enclosing struct
struct PreviewLegend: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:9:13: error: 'some' return types are only available in watchOS 6.0.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:9:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:6:8: note: add @available attribute to enclosing struct
struct PreviewLegend: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:9:18: error: 'View' is only available in watchOS 6.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:9:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:6:8: note: add @available attribute to enclosing struct
struct PreviewLegend: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:15:23: error: 'some' return types are only available in watchOS 6.0.0 or newer
var previewContent: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:15:7: note: add @available attribute to enclosing property
var previewContent: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:6:8: note: add @available attribute to enclosing struct
struct PreviewLegend: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:15:28: error: 'View' is only available in watchOS 6.0 or newer
var previewContent: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:15:7: note: add @available attribute to enclosing property
var previewContent: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:6:8: note: add @available attribute to enclosing struct
struct PreviewLegend: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:45:24: error: 'some' return types are only available in watchOS 6.0.0 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:45:14: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:44:8: note: add @available attribute to enclosing struct
struct PreviewLegend_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:45:29: error: 'View' is only available in watchOS 6.0 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:45:14: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:44:8: note: add @available attribute to enclosing struct
struct PreviewLegend_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:62:11: error: 'ContentSizeCategory' is only available in watchOS 6.0 or newer
extension ContentSizeCategory {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:62:1: note: add @available attribute to enclosing extension
extension ContentSizeCategory {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift:23:45: error: 'AnyView' is only available in watchOS 6.0 or newer
func preview(with model: PreviewModel) -> AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift:23:8: note: add @available attribute to enclosing instance method
func preview(with model: PreviewModel) -> AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift:7:17: note: add @available attribute to enclosing protocol
public protocol UICatalogPresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift:28:59: error: 'AnyView' is only available in watchOS 6.0 or newer
public static func preview(with model: PreviewModel) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift:28:22: note: add @available attribute to enclosing static method
public static func preview(with model: PreviewModel) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift:27:1: note: add @available attribute to enclosing extension
extension UICatalogPresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift:35:52: error: 'AnyView' is only available in watchOS 6.0 or newer
public func preview(with model: PreviewModel) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift:35:15: note: add @available attribute to enclosing instance method
public func preview(with model: PreviewModel) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift:34:1: note: add @available attribute to enclosing extension
extension UICatalogPresentable where Self: UIView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UIKitWrapper/UIViewControllerWrapper.swift:8:52: error: cannot find type 'UIViewController' in scope
public struct UIViewControllerWrapper<ContentView: UIViewController>: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UIKitWrapper/UIViewControllerWrapper.swift:22:45: error: cannot find type 'Context' in scope
public func makeUIViewController(context: Context) -> ContentView {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UIKitWrapper/UIViewControllerWrapper.swift:26:80: error: cannot find type 'Context' in scope
public func updateUIViewController(_ uiViewController: ContentView, context: Context) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UIKitWrapper/UIViewControllerWrapper.swift:8:71: error: cannot find type 'UIViewControllerRepresentable' in scope
public struct UIViewControllerWrapper<ContentView: UIViewController>: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UIKitWrapper/UIViewWrapper.swift:8:42: error: cannot find type 'UIView' in scope
public struct UIViewWrapper<ContentView: UIView>: UIViewRepresentable {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UIKitWrapper/UIViewWrapper.swift:22:35: error: cannot find type 'Context' in scope
public func makeUIView(context: Context) -> ContentView {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UIKitWrapper/UIViewWrapper.swift:26:60: error: cannot find type 'Context' in scope
public func updateUIView(_ uiView: ContentView, context: Context) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UIKitWrapper/UIViewWrapper.swift:8:51: error: cannot find type 'UIViewRepresentable' in scope
public struct UIViewWrapper<ContentView: UIView>: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
SwiftCompile normal arm64_32 Compiling\ GroupItemView.swift,\ Preview.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift (in target 'UIPreview' from project 'UIPreview')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ ViewCoordinator.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UIKitWrapper/ViewCoordinator.swift (in target 'UIPreview' from project 'UIPreview')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UIKitWrapper/ViewCoordinator.swift (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k Compiling\ ForEach+Raw.swift,\ View+Any.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/ForEach+Raw.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift (in target 'UIPreview' from project 'UIPreview')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/ForEach+Raw.swift (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ UIPreview (in target 'UIPreview' from project 'UIPreview')
Command SwiftEmitModule failed with a nonzero exit code
** BUILD FAILED **
The following build commands failed:
EmitSwiftModule normal arm64_32 (in target 'UIPreview' from project 'UIPreview')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ UIPreview (in target 'UIPreview' from project 'UIPreview')
SwiftEmitModule normal armv7k Emitting\ module\ for\ UIPreview (in target 'UIPreview' from project 'UIPreview')
EmitSwiftModule normal armv7k (in target 'UIPreview' from project 'UIPreview')
SwiftEmitModule normal arm64 Emitting\ module\ for\ UIPreview (in target 'UIPreview' from project 'UIPreview')
Building workspace spi-builder-workspace with scheme UIPreview
(6 failures)
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
UIPreview: /Users/admin/builder/spi-builder-workspace
resolved source packages: UIPreview
{
"dependencies" : [
],
"manifest_display_name" : "UIPreview",
"name" : "UIPreview",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
}
],
"products" : [
{
"name" : "UIPreview",
"targets" : [
"UIPreview"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "UIPreviewTests",
"module_type" : "SwiftTarget",
"name" : "UIPreviewTests",
"path" : "Tests/UIPreviewTests",
"sources" : [
"UIPreviewTests.swift"
],
"target_dependencies" : [
"UIPreview"
],
"type" : "test"
},
{
"c99name" : "UIPreview",
"module_type" : "SwiftTarget",
"name" : "UIPreview",
"path" : "Sources/UIPreview",
"product_memberships" : [
"UIPreview"
],
"sources" : [
"Extensions/ForEach+Raw.swift",
"Extensions/View+Any.swift",
"Extensions/View+UIViewController.swift",
"Preview/ColorSchemePreview.swift",
"Preview/ComponentPreview.swift",
"Preview/ScreenPreview.swift",
"UICatalog/CatalogItemView.swift",
"UICatalog/ExpandGroup.swift",
"UICatalog/GroupItemView.swift",
"UICatalog/Preview.swift",
"UICatalog/PreviewConfiguration.swift",
"UICatalog/PreviewDescriptor.swift",
"UICatalog/PreviewItemStyle.swift",
"UICatalog/PreviewLegend.swift",
"UICatalog/UICatalog.swift",
"UICatalog/UICatalogPresentable.swift",
"UIKitWrapper/UIViewControllerWrapper.swift",
"UIKitWrapper/UIViewWrapper.swift",
"UIKitWrapper/ViewCoordinator.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"UIPreview"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme UIPreview -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme UIPreview -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
UIPreview: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'UIPreview' in project 'UIPreview'
➜ Explicit dependency on target 'UIPreview' in project 'UIPreview'
Target 'UIPreview' in project 'UIPreview' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: e59b0552731d38ab142f8c13757bd6d0
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/e59b0552731d38ab142f8c13757bd6d0.xcbuilddata
ClangStatCache /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache
SwiftDriver UIPreview normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name UIPreview -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/arm64_32/UIPreview.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target arm64_32-apple-watchos5.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/arm64_32/UIPreview-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/arm64_32/UIPreview.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/arm64_32/UIPreview_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/arm64_32/UIPreview-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver UIPreview normal arm64 com.apple.xcode.tools.swift.compiler (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name UIPreview -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/arm64/UIPreview.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target arm64-apple-watchos5.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/arm64/UIPreview-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/arm64/UIPreview.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/arm64/UIPreview_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/arm64/UIPreview-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver UIPreview normal armv7k com.apple.xcode.tools.swift.compiler (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name UIPreview -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/armv7k/UIPreview.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target armv7k-apple-watchos5.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/armv7k/UIPreview-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/armv7k/UIPreview.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/armv7k/UIPreview_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/armv7k/UIPreview-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal armv7k Emitting\ module\ for\ UIPreview (in target 'UIPreview' from project 'UIPreview')
EmitSwiftModule normal armv7k (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/ForEach+Raw.swift:6:11: error: 'ForEach' is only available in watchOS 6.0 or newer
extension ForEach where Data.Element: Hashable, ID == Data.Element, Content: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/ForEach+Raw.swift:6:1: note: add @available attribute to enclosing extension
extension ForEach where Data.Element: Hashable, ID == Data.Element, Content: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/ForEach+Raw.swift:6:78: error: 'View' is only available in watchOS 6.0 or newer
extension ForEach where Data.Element: Hashable, ID == Data.Element, Content: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/ForEach+Raw.swift:6:1: note: add @available attribute to enclosing extension
extension ForEach where Data.Element: Hashable, ID == Data.Element, Content: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:5:24: error: 'AnyView' is only available in watchOS 6.0 or newer
func eraseToAny() -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:5:8: note: add @available attribute to enclosing instance method
func eraseToAny() -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:4:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:4:11: error: 'View' is only available in watchOS 6.0 or newer
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:4:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:8:37: error: cannot find type 'UIViewController' in scope
public func asViewController() -> UIViewController {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:7:11: error: 'View' is only available in watchOS 6.0 or newer
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:7:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:8:38: error: 'some' return types are only available in watchOS 6.0.0 or newer
public func previewLightTheme() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:8:15: note: add @available attribute to enclosing instance method
public func previewLightTheme() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:6:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:8:43: error: 'View' is only available in watchOS 6.0 or newer
public func previewLightTheme() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:8:15: note: add @available attribute to enclosing instance method
public func previewLightTheme() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:6:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:13:37: error: 'some' return types are only available in watchOS 6.0.0 or newer
public func previewDarkTheme() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:13:15: note: add @available attribute to enclosing instance method
public func previewDarkTheme() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:6:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:13:42: error: 'View' is only available in watchOS 6.0 or newer
public func previewDarkTheme() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:13:15: note: add @available attribute to enclosing instance method
public func previewDarkTheme() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:6:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:6:11: error: 'View' is only available in watchOS 6.0 or newer
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:6:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:19:11: error: 'ColorScheme' is only available in watchOS 6.0 or newer
extension ColorScheme {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:19:1: note: add @available attribute to enclosing extension
extension ColorScheme {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:36:23: error: 'ColorScheme' is only available in watchOS 6.0 or newer
private let scheme: ColorScheme
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:34:8: note: add @available attribute to enclosing generic struct
struct ColorSchemePreview<Preview: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:38:16: error: 'ColorScheme' is only available in watchOS 6.0 or newer
init(scheme: ColorScheme, @ViewBuilder builder: @escaping () -> Preview) {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:38:3: note: add @available attribute to enclosing initializer
init(scheme: ColorScheme, @ViewBuilder builder: @escaping () -> Preview) {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:34:8: note: add @available attribute to enclosing generic struct
struct ColorSchemePreview<Preview: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:38:30: error: 'ViewBuilder' is only available in watchOS 6.0 or newer
init(scheme: ColorScheme, @ViewBuilder builder: @escaping () -> Preview) {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:38:3: note: add @available attribute to enclosing initializer
init(scheme: ColorScheme, @ViewBuilder builder: @escaping () -> Preview) {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:34:8: note: add @available attribute to enclosing generic struct
struct ColorSchemePreview<Preview: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:43:13: error: 'some' return types are only available in watchOS 6.0.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:43:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:34:8: note: add @available attribute to enclosing generic struct
struct ColorSchemePreview<Preview: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:43:18: error: 'View' is only available in watchOS 6.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:43:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:34:8: note: add @available attribute to enclosing generic struct
struct ColorSchemePreview<Preview: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:34:36: error: 'View' is only available in watchOS 6.0 or newer
struct ColorSchemePreview<Preview: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift:34:8: note: add @available attribute to enclosing generic struct
struct ColorSchemePreview<Preview: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:8:39: error: 'some' return types are only available in watchOS 6.0.0 or newer
public func previewAsComponent() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:8:15: note: add @available attribute to enclosing instance method
public func previewAsComponent() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:6:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:8:44: error: 'View' is only available in watchOS 6.0 or newer
public func previewAsComponent() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:8:15: note: add @available attribute to enclosing instance method
public func previewAsComponent() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:6:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:6:11: error: 'View' is only available in watchOS 6.0 or newer
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:6:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:14:11: error: 'ContentSizeCategory' is only available in watchOS 6.0 or newer
extension ContentSizeCategory {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:14:1: note: add @available attribute to enclosing extension
extension ContentSizeCategory {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:26:13: error: 'some' return types are only available in watchOS 6.0.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:26:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:23:8: note: add @available attribute to enclosing generic struct
struct ComponentPreview<Component: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:26:18: error: 'View' is only available in watchOS 6.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:26:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:23:8: note: add @available attribute to enclosing generic struct
struct ComponentPreview<Component: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:23:36: error: 'View' is only available in watchOS 6.0 or newer
struct ComponentPreview<Component: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift:23:8: note: add @available attribute to enclosing generic struct
struct ComponentPreview<Component: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift:20:78: error: 'some' return types are only available in watchOS 6.0.0 or newer
public func previewAsScreen(deviceNames: [String] = defaultDeviceNames) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift:20:15: note: add @available attribute to enclosing instance method
public func previewAsScreen(deviceNames: [String] = defaultDeviceNames) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift:18:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift:20:83: error: 'View' is only available in watchOS 6.0 or newer
public func previewAsScreen(deviceNames: [String] = defaultDeviceNames) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift:20:15: note: add @available attribute to enclosing instance method
public func previewAsScreen(deviceNames: [String] = defaultDeviceNames) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift:18:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift:18:11: error: 'View' is only available in watchOS 6.0 or newer
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift:18:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift:30:13: error: 'some' return types are only available in watchOS 6.0.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift:30:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift:26:8: note: add @available attribute to enclosing generic struct
struct ScreenPreview<Screen: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift:30:18: error: 'View' is only available in watchOS 6.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift:30:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift:26:8: note: add @available attribute to enclosing generic struct
struct ScreenPreview<Screen: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift:26:30: error: 'View' is only available in watchOS 6.0 or newer
struct ScreenPreview<Screen: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift:26:8: note: add @available attribute to enclosing generic struct
struct ScreenPreview<Screen: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift:10:13: error: 'some' return types are only available in watchOS 6.0.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift:10:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift:7:8: note: add @available attribute to enclosing generic struct
struct CatalogItemView<Content: UICatalogPresentable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift:10:18: error: 'View' is only available in watchOS 6.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift:10:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift:7:8: note: add @available attribute to enclosing generic struct
struct CatalogItemView<Content: UICatalogPresentable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift:11:23: error: cannot find type 'UIContentSizeCategory' in scope
let contentSize: [UIContentSizeCategory]
^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift:29:24: error: 'some' return types are only available in watchOS 6.0.0 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift:29:14: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift:28:8: note: add @available attribute to enclosing struct
struct CatalogItem_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift:29:29: error: 'View' is only available in watchOS 6.0 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift:29:14: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift:28:8: note: add @available attribute to enclosing struct
struct CatalogItem_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift:39:31: error: cannot find type 'UILabel' in scope
private final class TestView: UILabel, UICatalogPresentable {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift:34:44: error: cannot find type 'UIView' in scope
extension UICatalogPresentable where Self: UIView {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift:40:44: error: cannot find type 'UIView' in scope
extension UICatalogPresentable where Self: UIView {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:12:4: error: 'State' is only available in watchOS 6.0 or newer
@State private var defaultIsExpanded: Bool = false
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:11:8: note: add @available attribute to enclosing generic struct
struct ExpandGroup<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:13:27: error: 'Binding' is only available in watchOS 6.0 or newer
private var isExpanded: Binding<Bool>?
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:11:8: note: add @available attribute to enclosing generic struct
struct ExpandGroup<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:18:20: error: 'Binding' is only available in watchOS 6.0 or newer
init(isExpanded: Binding<Bool>,
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:18:3: note: add @available attribute to enclosing initializer
init(isExpanded: Binding<Bool>,
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:11:8: note: add @available attribute to enclosing generic struct
struct ExpandGroup<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:27:39: error: 'Text' is only available in watchOS 6.0 or newer
where S: StringProtocol, Caption == Text {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:24:3: note: add @available attribute to enclosing initializer
init<S>(_ caption: S,
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:11:8: note: add @available attribute to enclosing generic struct
struct ExpandGroup<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:25:23: error: 'Binding' is only available in watchOS 6.0 or newer
isExpanded: Binding<Bool>,
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:24:3: note: add @available attribute to enclosing initializer
init<S>(_ caption: S,
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:11:8: note: add @available attribute to enclosing generic struct
struct ExpandGroup<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:38:39: error: 'Text' is only available in watchOS 6.0 or newer
where S: StringProtocol, Caption == Text {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:36:3: note: add @available attribute to enclosing initializer
init<S>(_ caption: S,
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:11:8: note: add @available attribute to enclosing generic struct
struct ExpandGroup<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:42:28: error: 'Binding' is only available in watchOS 6.0 or newer
private init(isExpanded: Binding<Bool>?,
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:42:11: note: add @available attribute to enclosing initializer
private init(isExpanded: Binding<Bool>?,
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:11:8: note: add @available attribute to enclosing generic struct
struct ExpandGroup<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:50:13: error: 'some' return types are only available in watchOS 6.0.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:50:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:11:8: note: add @available attribute to enclosing generic struct
struct ExpandGroup<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:50:18: error: 'View' is only available in watchOS 6.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:50:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:11:8: note: add @available attribute to enclosing generic struct
struct ExpandGroup<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:11:59: error: 'View' is only available in watchOS 6.0 or newer
struct ExpandGroup<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:11:8: note: add @available attribute to enclosing generic struct
struct ExpandGroup<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:11:74: error: 'View' is only available in watchOS 6.0 or newer
struct ExpandGroup<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:11:8: note: add @available attribute to enclosing generic struct
struct ExpandGroup<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:61:4: error: 'Binding' is only available in watchOS 6.0 or newer
@Binding var isExpanded: Bool
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:60:16: note: add @available attribute to enclosing generic struct
private struct ExpandGroupImp<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:66:29: error: 'some' return types are only available in watchOS 6.0.0 or newer
private var chevronImage: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:66:15: note: add @available attribute to enclosing property
private var chevronImage: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:60:16: note: add @available attribute to enclosing generic struct
private struct ExpandGroupImp<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:66:34: error: 'View' is only available in watchOS 6.0 or newer
private var chevronImage: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:66:15: note: add @available attribute to enclosing property
private var chevronImage: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:60:16: note: add @available attribute to enclosing generic struct
private struct ExpandGroupImp<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:73:13: error: 'some' return types are only available in watchOS 6.0.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:73:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:60:16: note: add @available attribute to enclosing generic struct
private struct ExpandGroupImp<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:73:18: error: 'View' is only available in watchOS 6.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:73:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:60:16: note: add @available attribute to enclosing generic struct
private struct ExpandGroupImp<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:72:4: error: 'ViewBuilder' is only available in watchOS 6.0 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:60:16: note: add @available attribute to enclosing generic struct
private struct ExpandGroupImp<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:60:70: error: 'View' is only available in watchOS 6.0 or newer
private struct ExpandGroupImp<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:60:16: note: add @available attribute to enclosing generic struct
private struct ExpandGroupImp<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:60:85: error: 'View' is only available in watchOS 6.0 or newer
private struct ExpandGroupImp<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:60:16: note: add @available attribute to enclosing generic struct
private struct ExpandGroupImp<Caption, Content>: View where Content: View, Caption: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:99:24: error: 'some' return types are only available in watchOS 6.0.0 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:99:14: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:98:8: note: add @available attribute to enclosing struct
struct ExpandGroup_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:99:29: error: 'View' is only available in watchOS 6.0 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:99:14: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift:98:8: note: add @available attribute to enclosing struct
struct ExpandGroup_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:14:13: error: 'some' return types are only available in watchOS 6.0.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:14:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:6:8: note: add @available attribute to enclosing generic struct
struct GroupItemView<Content>: View where Content: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:14:18: error: 'View' is only available in watchOS 6.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:14:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:6:8: note: add @available attribute to enclosing generic struct
struct GroupItemView<Content>: View where Content: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:6:52: error: 'View' is only available in watchOS 6.0 or newer
struct GroupItemView<Content>: View where Content: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:6:8: note: add @available attribute to enclosing generic struct
struct GroupItemView<Content>: View where Content: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:26:24: error: 'some' return types are only available in watchOS 6.0.0 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:26:14: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:25:8: note: add @available attribute to enclosing struct
struct GroupItem_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:26:29: error: 'View' is only available in watchOS 6.0 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:26:14: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift:25:8: note: add @available attribute to enclosing struct
struct GroupItem_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:10:18: error: 'AnyView' is only available in watchOS 6.0 or newer
init(_ view: AnyView, title: String) {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:10:5: note: add @available attribute to enclosing initializer
init(_ view: AnyView, title: String) {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:9:17: note: add @available attribute to enclosing struct
public struct Preview {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:15:23: error: 'some' return types are only available in watchOS 6.0.0 or newer
func preview() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:15:10: note: add @available attribute to enclosing instance method
func preview() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:9:17: note: add @available attribute to enclosing struct
public struct Preview {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:15:28: error: 'View' is only available in watchOS 6.0 or newer
func preview() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:15:10: note: add @available attribute to enclosing instance method
func preview() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:9:17: note: add @available attribute to enclosing struct
public struct Preview {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:24:39: error: cannot find type 'UIViewController' in scope
public func asViewController() -> UIViewController {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:29:15: error: 'AnyView' is only available in watchOS 6.0 or newer
let view: AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift:9:17: note: add @available attribute to enclosing struct
public struct Preview {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift:25:29: error: cannot find type 'UIContentSizeCategory' in scope
contentSize: [UIContentSizeCategory] = [.unspecified],
^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift:60:15: error: 'ColorScheme' is only available in watchOS 6.0 or newer
var scheme: ColorScheme {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift:60:7: note: add @available attribute to enclosing property
var scheme: ColorScheme {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift:59:1: note: add @available attribute to enclosing extension
extension UICatalog.Theme {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift:70:22: error: 'ColorScheme' is only available in watchOS 6.0 or newer
var colorSchemes: [ColorScheme] { themes.map(\.scheme) }
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift:70:7: note: add @available attribute to enclosing property
var colorSchemes: [ColorScheme] { themes.map(\.scheme) }
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift:69:1: note: add @available attribute to enclosing extension
extension UICatalog.PreviewConfiguration {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift:71:29: error: 'ContentSizeCategory' is only available in watchOS 6.0 or newer
var contentSizeCategory: [ContentSizeCategory] {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift:71:7: note: add @available attribute to enclosing property
var contentSizeCategory: [ContentSizeCategory] {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift:69:1: note: add @available attribute to enclosing extension
extension UICatalog.PreviewConfiguration {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewDescriptor.swift:10:24: error: 'AnyView' is only available in watchOS 6.0 or newer
let builder: () -> AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewDescriptor.swift:9:17: note: add @available attribute to enclosing struct
public struct PreviewDescriptor: Identifiable, Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:10:22: error: 'AnyView' is only available in watchOS 6.0 or newer
func body(content: AnyView, configuration: Self.Configuration) -> AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:10:8: note: add @available attribute to enclosing instance method
func body(content: AnyView, configuration: Self.Configuration) -> AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:5:17: note: add @available attribute to enclosing protocol
public protocol PreviewItemStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:10:69: error: 'AnyView' is only available in watchOS 6.0 or newer
func body(content: AnyView, configuration: Self.Configuration) -> AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:10:8: note: add @available attribute to enclosing instance method
func body(content: AnyView, configuration: Self.Configuration) -> AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:5:17: note: add @available attribute to enclosing protocol
public protocol PreviewItemStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:21:24: error: 'ColorScheme' is only available in watchOS 6.0 or newer
public let scheme: ColorScheme
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:19:17: note: add @available attribute to enclosing struct
public struct PreviewItemStyleConfiguration {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:22:26: error: 'ContentSizeCategory' is only available in watchOS 6.0 or newer
public let category: ContentSizeCategory
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:19:17: note: add @available attribute to enclosing struct
public struct PreviewItemStyleConfiguration {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:28:24: error: 'AnyView' is only available in watchOS 6.0 or newer
func body(content: AnyView, configuration: Configuration) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:28:10: note: add @available attribute to enclosing instance method
func body(content: AnyView, configuration: Configuration) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:27:10: note: add @available attribute to enclosing struct
struct DefaultPreviewItemStyle: PreviewItemStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:28:66: error: 'AnyView' is only available in watchOS 6.0 or newer
func body(content: AnyView, configuration: Configuration) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:28:10: note: add @available attribute to enclosing instance method
func body(content: AnyView, configuration: Configuration) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:27:10: note: add @available attribute to enclosing struct
struct DefaultPreviewItemStyle: PreviewItemStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:38:18: error: 'AnyView' is only available in watchOS 6.0 or newer
let content: AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:37:10: note: add @available attribute to enclosing struct
struct DefaultPreviewItemStyleView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:41:15: error: 'some' return types are only available in watchOS 6.0.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:41:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:37:10: note: add @available attribute to enclosing struct
struct DefaultPreviewItemStyleView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:41:20: error: 'View' is only available in watchOS 6.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:41:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:37:10: note: add @available attribute to enclosing struct
struct DefaultPreviewItemStyleView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:71:34: error: 'some' return types are only available in watchOS 6.0.0 or newer
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:71:8: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:68:16: note: add @available attribute to enclosing struct
private struct SizeModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:71:39: error: 'View' is only available in watchOS 6.0 or newer
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:71:8: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:68:16: note: add @available attribute to enclosing struct
private struct SizeModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:84:24: error: 'some' return types are only available in watchOS 6.0.0 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:84:14: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:83:8: note: add @available attribute to enclosing struct
struct DefaultPreviewItemStyle_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:84:29: error: 'View' is only available in watchOS 6.0 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:84:14: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:83:8: note: add @available attribute to enclosing struct
struct DefaultPreviewItemStyle_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:91:23: error: 'AnyView' is only available in watchOS 6.0 or newer
static var content: AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:91:14: note: add @available attribute to enclosing static property
static var content: AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift:83:8: note: add @available attribute to enclosing struct
struct DefaultPreviewItemStyle_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:7:4: error: 'State' is only available in watchOS 6.0 or newer
@State var isExpanded: Bool = false
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:6:8: note: add @available attribute to enclosing struct
struct PreviewLegend: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:9:13: error: 'some' return types are only available in watchOS 6.0.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:9:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:6:8: note: add @available attribute to enclosing struct
struct PreviewLegend: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:9:18: error: 'View' is only available in watchOS 6.0 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:9:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:6:8: note: add @available attribute to enclosing struct
struct PreviewLegend: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:15:23: error: 'some' return types are only available in watchOS 6.0.0 or newer
var previewContent: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:15:7: note: add @available attribute to enclosing property
var previewContent: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:6:8: note: add @available attribute to enclosing struct
struct PreviewLegend: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:15:28: error: 'View' is only available in watchOS 6.0 or newer
var previewContent: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:15:7: note: add @available attribute to enclosing property
var previewContent: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:6:8: note: add @available attribute to enclosing struct
struct PreviewLegend: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:45:24: error: 'some' return types are only available in watchOS 6.0.0 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:45:14: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:44:8: note: add @available attribute to enclosing struct
struct PreviewLegend_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:45:29: error: 'View' is only available in watchOS 6.0 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:45:14: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:44:8: note: add @available attribute to enclosing struct
struct PreviewLegend_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:62:11: error: 'ContentSizeCategory' is only available in watchOS 6.0 or newer
extension ContentSizeCategory {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift:62:1: note: add @available attribute to enclosing extension
extension ContentSizeCategory {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift:23:45: error: 'AnyView' is only available in watchOS 6.0 or newer
func preview(with model: PreviewModel) -> AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift:23:8: note: add @available attribute to enclosing instance method
func preview(with model: PreviewModel) -> AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift:7:17: note: add @available attribute to enclosing protocol
public protocol UICatalogPresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift:28:59: error: 'AnyView' is only available in watchOS 6.0 or newer
public static func preview(with model: PreviewModel) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift:28:22: note: add @available attribute to enclosing static method
public static func preview(with model: PreviewModel) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift:27:1: note: add @available attribute to enclosing extension
extension UICatalogPresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift:35:52: error: 'AnyView' is only available in watchOS 6.0 or newer
public func preview(with model: PreviewModel) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift:35:15: note: add @available attribute to enclosing instance method
public func preview(with model: PreviewModel) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift:34:1: note: add @available attribute to enclosing extension
extension UICatalogPresentable where Self: UIView {
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UIKitWrapper/UIViewControllerWrapper.swift:8:52: error: cannot find type 'UIViewController' in scope
public struct UIViewControllerWrapper<ContentView: UIViewController>: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UIKitWrapper/UIViewControllerWrapper.swift:22:45: error: cannot find type 'Context' in scope
public func makeUIViewController(context: Context) -> ContentView {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UIKitWrapper/UIViewControllerWrapper.swift:26:80: error: cannot find type 'Context' in scope
public func updateUIViewController(_ uiViewController: ContentView, context: Context) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UIKitWrapper/UIViewControllerWrapper.swift:8:71: error: cannot find type 'UIViewControllerRepresentable' in scope
public struct UIViewControllerWrapper<ContentView: UIViewController>: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UIKitWrapper/UIViewWrapper.swift:8:42: error: cannot find type 'UIView' in scope
public struct UIViewWrapper<ContentView: UIView>: UIViewRepresentable {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UIKitWrapper/UIViewWrapper.swift:22:35: error: cannot find type 'Context' in scope
public func makeUIView(context: Context) -> ContentView {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UIKitWrapper/UIViewWrapper.swift:26:60: error: cannot find type 'Context' in scope
public func updateUIView(_ uiView: ContentView, context: Context) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UIKitWrapper/UIViewWrapper.swift:8:51: error: cannot find type 'UIViewRepresentable' in scope
public struct UIViewWrapper<ContentView: UIView>: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
Failed frontend command:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/ForEach+Raw.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewDescriptor.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalog.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UIKitWrapper/UIViewControllerWrapper.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UIKitWrapper/UIViewWrapper.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UIKitWrapper/ViewCoordinator.swift -target armv7k-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/armv7k/UIPreview_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name UIPreview -frontend-parseable-output -disable-clang-spi -target-sdk-version 11.4 -target-sdk-name watchos11.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/armv7k/UIPreview.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/armv7k/UIPreview.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/armv7k/UIPreview-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/armv7k/UIPreview-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/armv7k/UIPreview-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/armv7k/UIPreview.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPreview.build/Debug-watchos/UIPreview.build/Objects-normal/armv7k/UIPreview.abi.json
SwiftCompile normal armv7k Compiling\ View+UIViewController.swift,\ ColorSchemePreview.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift (in target 'UIPreview' from project 'UIPreview')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ColorSchemePreview.swift (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k Compiling\ ComponentPreview.swift,\ ScreenPreview.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift (in target 'UIPreview' from project 'UIPreview')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ComponentPreview.swift (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Preview/ScreenPreview.swift (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k Compiling\ PreviewItemStyle.swift,\ PreviewLegend.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift (in target 'UIPreview' from project 'UIPreview')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewItemStyle.swift (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewLegend.swift (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k Compiling\ GroupItemView.swift,\ Preview.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift (in target 'UIPreview' from project 'UIPreview')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/GroupItemView.swift (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/Preview.swift (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k Compiling\ CatalogItemView.swift,\ ExpandGroup.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift (in target 'UIPreview' from project 'UIPreview')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/CatalogItemView.swift (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/ExpandGroup.swift (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k Compiling\ PreviewConfiguration.swift,\ PreviewDescriptor.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewDescriptor.swift (in target 'UIPreview' from project 'UIPreview')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewConfiguration.swift (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/PreviewDescriptor.swift (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k Compiling\ UICatalog.swift,\ UICatalogPresentable.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalog.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift (in target 'UIPreview' from project 'UIPreview')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalog.swift (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/UICatalog/UICatalogPresentable.swift (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k Compiling\ ForEach+Raw.swift,\ View+Any.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/ForEach+Raw.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift (in target 'UIPreview' from project 'UIPreview')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/ForEach+Raw.swift (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ UIPreview (in target 'UIPreview' from project 'UIPreview')
EmitSwiftModule normal arm64_32 (in target 'UIPreview' from project 'UIPreview')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ UIPreview (in target 'UIPreview' from project 'UIPreview')
Command SwiftEmitModule failed with a nonzero exit code
** BUILD FAILED **
The following build commands failed:
EmitSwiftModule normal armv7k (in target 'UIPreview' from project 'UIPreview')
SwiftEmitModule normal armv7k Emitting\ module\ for\ UIPreview (in target 'UIPreview' from project 'UIPreview')
SwiftEmitModule normal arm64 Emitting\ module\ for\ UIPreview (in target 'UIPreview' from project 'UIPreview')
Building workspace spi-builder-workspace with scheme UIPreview
(4 failures)
BUILD FAILURE 6.1 watchOS