The Swift Package Index logo.Swift Package Index

Build Information

Failed to build UIPortalBridge, reference 1.0.0 (fd542e), with Swift 6.4 for watchOS using Xcode 27.0 on 23 Sep 2026 21:12:55 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme UIPortalBridge -destination generic/platform=watchOS

Build Log

    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:35:21: error: 'UIView' is unavailable in watchOS
 33 |
 34 |     public init(
 35 |         sourceView: UIView,
    |                     `- error: 'UIView' is unavailable in watchOS
 36 |         hidesSourceView: Bool = false,
 37 |         matchesAlpha: Bool = true,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:48:37: error: cannot find type 'Context' in scope
 46 |     }
 47 |
 48 |     public func makeUIView(context: Context) -> UIPortalView {
    |                                     `- error: cannot find type 'Context' in scope
 49 |         let portal = UIPortalView()
 50 |         portal.sourceView = sourceView
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:58:63: error: cannot find type 'Context' in scope
 56 |     }
 57 |
 58 |     public func updateUIView(_ uiView: UIPortalView, context: Context) {
    |                                                               `- error: cannot find type 'Context' in scope
 59 |         uiView.sourceView = sourceView
 60 |         uiView.hidesSourceView = hidesSourceView
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:27:40: error: cannot find type 'UIViewRepresentable' in scope
 25 | /// )
 26 | /// ```
 27 | public struct PortalViewRepresentable: UIViewRepresentable {
    |                                        `- error: cannot find type 'UIViewRepresentable' in scope
 28 |     let sourceView: UIView
 29 |     var hidesSourceView: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:85:28: error: cannot find type 'UIHostingController' in scope
 83 | @MainActor
 84 | public class SourceViewContainer<Content: View> {
 85 |     let hostingController: UIHostingController<Content>
    |                            `- error: cannot find type 'UIHostingController' in scope
 86 |
 87 |     /// The underlying `UIView` that can be used as a portal source.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:88:22: error: 'UIView' is unavailable in watchOS
 86 |
 87 |     /// The underlying `UIView` that can be used as a portal source.
 88 |     public var view: UIView {
    |                      `- error: 'UIView' is unavailable in watchOS
 89 |         hostingController.view
 90 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:117:21: error: 'UIView' is unavailable in watchOS
115 | /// A `UIView` subclass that wraps another view with proper intrinsic sizing.
116 | public class SourceViewWrapper: UIView {
117 |     let sourceView: UIView
    |                     `- error: 'UIView' is unavailable in watchOS
118 |
119 |     public init(sourceView: UIView) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:119:29: error: 'UIView' is unavailable in watchOS
117 |     let sourceView: UIView
118 |
119 |     public init(sourceView: UIView) {
    |                             `- error: 'UIView' is unavailable in watchOS
120 |         self.sourceView = sourceView
121 |         super.init(frame: .zero)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:116:33: error: 'UIView' is unavailable in watchOS
114 |
115 | /// A `UIView` subclass that wraps another view with proper intrinsic sizing.
116 | public class SourceViewWrapper: UIView {
    |                                 `- error: 'UIView' is unavailable in watchOS
117 |     let sourceView: UIView
118 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:162:37: error: cannot find type 'Context' in scope
160 |     }
161 |
162 |     public func makeUIView(context: Context) -> SourceViewWrapper {
    |                                     `- error: cannot find type 'Context' in scope
163 |         SourceViewWrapper(sourceView: container.view)
164 |     }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:166:68: error: cannot find type 'Context' in scope
164 |     }
165 |
166 |     public func updateUIView(_ uiView: SourceViewWrapper, context: Context) {
    |                                                                    `- error: cannot find type 'Context' in scope
167 |         container.update(content: content)
168 |         uiView.invalidateIntrinsicContentSize()
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:153:55: error: cannot find type 'UIViewRepresentable' in scope
151 |
152 | /// A `UIViewRepresentable` that displays the source view from a `SourceViewContainer`.
153 | public struct SourceViewRepresentable<Content: View>: UIViewRepresentable {
    |                                                       `- error: cannot find type 'UIViewRepresentable' in scope
154 |     let container: SourceViewContainer<Content>
155 |     let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:55:29: error: 'UIView' is unavailable in watchOS
 53 | ///   for development. Not recommended for App Store submissions.
 54 | public class UIPortalView: UIView {
 55 |     private var portalView: UIView?
    |                             `- error: 'UIView' is unavailable in watchOS
 56 |
 57 |     /// Whether the underlying portal view is available on this system.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:63:28: error: 'UIView' is unavailable in watchOS
 61 |
 62 |     /// The view to mirror. Setting this displays a live copy of the source view.
 63 |     public var sourceView: UIView? {
    |                            `- error: 'UIView' is unavailable in watchOS
 64 |         didSet {
 65 |             updateSourceView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:54:28: error: 'UIView' is unavailable in watchOS
 52 | /// - Warning: This uses private APIs. Use only in internal/enterprise apps or
 53 | ///   for development. Not recommended for App Store submissions.
 54 | public class UIPortalView: UIView {
    |                            `- error: 'UIView' is unavailable in watchOS
 55 |     private var portalView: UIView?
 56 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.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/UIPortalBridge/PortalView.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift -target arm64-apple-watchos10.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin \#/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/ObfuscateMacro\#ObfuscateMacro -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64/UIPortalBridge-dependencies-2.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -load-plugin-executable /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/ObfuscateMacro\#ObfuscateMacro -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -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 -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -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/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name UIPortalBridge -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64/UIPortalBridge_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64/UIPortalBridge.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64/UIPortalBridge.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64/UIPortalBridge-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64/UIPortalBridge-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64/UIPortalBridge-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64/UIPortalBridge.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64/UIPortalBridge.abi.json
SwiftCompile normal arm64 (in target 'UIPortalBridge' from project 'UIPortalBridge')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ UIPortalView.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift (in target 'UIPortalBridge' from project 'UIPortalBridge')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift (in target 'UIPortalBridge' from project 'UIPortalBridge')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile UIPortalView.swift
SwiftCompile normal arm64 Compiling\ PortalView.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift (in target 'UIPortalBridge' from project 'UIPortalBridge')
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:28:21: error: 'UIView' is unavailable in watchOS
 26 | /// ```
 27 | public struct PortalViewRepresentable: UIViewRepresentable {
 28 |     let sourceView: UIView
    |                     `- error: 'UIView' is unavailable in watchOS
 29 |     var hidesSourceView: Bool = false
 30 |     var matchesAlpha: Bool = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:35:21: error: 'UIView' is unavailable in watchOS
 33 |
 34 |     public init(
 35 |         sourceView: UIView,
    |                     `- error: 'UIView' is unavailable in watchOS
 36 |         hidesSourceView: Bool = false,
 37 |         matchesAlpha: Bool = true,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:48:37: error: cannot find type 'Context' in scope
 46 |     }
 47 |
 48 |     public func makeUIView(context: Context) -> UIPortalView {
    |                                     `- error: cannot find type 'Context' in scope
 49 |         let portal = UIPortalView()
 50 |         portal.sourceView = sourceView
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:58:63: error: cannot find type 'Context' in scope
 56 |     }
 57 |
 58 |     public func updateUIView(_ uiView: UIPortalView, context: Context) {
    |                                                               `- error: cannot find type 'Context' in scope
 59 |         uiView.sourceView = sourceView
 60 |         uiView.hidesSourceView = hidesSourceView
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:27:40: error: cannot find type 'UIViewRepresentable' in scope
 25 | /// )
 26 | /// ```
 27 | public struct PortalViewRepresentable: UIViewRepresentable {
    |                                        `- error: cannot find type 'UIViewRepresentable' in scope
 28 |     let sourceView: UIView
 29 |     var hidesSourceView: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:85:28: error: cannot find type 'UIHostingController' in scope
 83 | @MainActor
 84 | public class SourceViewContainer<Content: View> {
 85 |     let hostingController: UIHostingController<Content>
    |                            `- error: cannot find type 'UIHostingController' in scope
 86 |
 87 |     /// The underlying `UIView` that can be used as a portal source.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:88:22: error: 'UIView' is unavailable in watchOS
 86 |
 87 |     /// The underlying `UIView` that can be used as a portal source.
 88 |     public var view: UIView {
    |                      `- error: 'UIView' is unavailable in watchOS
 89 |         hostingController.view
 90 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:117:21: error: 'UIView' is unavailable in watchOS
115 | /// A `UIView` subclass that wraps another view with proper intrinsic sizing.
116 | public class SourceViewWrapper: UIView {
117 |     let sourceView: UIView
    |                     `- error: 'UIView' is unavailable in watchOS
118 |
119 |     public init(sourceView: UIView) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:119:29: error: 'UIView' is unavailable in watchOS
117 |     let sourceView: UIView
118 |
119 |     public init(sourceView: UIView) {
    |                             `- error: 'UIView' is unavailable in watchOS
120 |         self.sourceView = sourceView
121 |         super.init(frame: .zero)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:116:33: error: 'UIView' is unavailable in watchOS
114 |
115 | /// A `UIView` subclass that wraps another view with proper intrinsic sizing.
116 | public class SourceViewWrapper: UIView {
    |                                 `- error: 'UIView' is unavailable in watchOS
117 |     let sourceView: UIView
118 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:162:37: error: cannot find type 'Context' in scope
160 |     }
161 |
162 |     public func makeUIView(context: Context) -> SourceViewWrapper {
    |                                     `- error: cannot find type 'Context' in scope
163 |         SourceViewWrapper(sourceView: container.view)
164 |     }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:166:68: error: cannot find type 'Context' in scope
164 |     }
165 |
166 |     public func updateUIView(_ uiView: SourceViewWrapper, context: Context) {
    |                                                                    `- error: cannot find type 'Context' in scope
167 |         container.update(content: content)
168 |         uiView.invalidateIntrinsicContentSize()
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:153:55: error: cannot find type 'UIViewRepresentable' in scope
151 |
152 | /// A `UIViewRepresentable` that displays the source view from a `SourceViewContainer`.
153 | public struct SourceViewRepresentable<Content: View>: UIViewRepresentable {
    |                                                       `- error: cannot find type 'UIViewRepresentable' in scope
154 |     let container: SourceViewContainer<Content>
155 |     let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:49:22: error: 'init()' is unavailable in watchOS
 47 |
 48 |     public func makeUIView(context: Context) -> UIPortalView {
 49 |         let portal = UIPortalView()
    |                      `- error: 'init()' is unavailable in watchOS
 50 |         portal.sourceView = sourceView
 51 |         portal.hidesSourceView = hidesSourceView
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
    | `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled;  // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:49:22: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context [#ActorIsolatedCall]
 46 |     }
 47 |
 48 |     public func makeUIView(context: Context) -> UIPortalView {
    |                 `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
 49 |         let portal = UIPortalView()
    |                      `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context [#ActorIsolatedCall]
 50 |         portal.sourceView = sourceView
 51 |         portal.hidesSourceView = hidesSourceView
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
    | `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled;  // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:50:16: warning: main actor-isolated property 'sourceView' can not be mutated from a nonisolated context
 46 |     }
 47 |
 48 |     public func makeUIView(context: Context) -> UIPortalView {
    |                 `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
 49 |         let portal = UIPortalView()
 50 |         portal.sourceView = sourceView
    |                `- warning: main actor-isolated property 'sourceView' can not be mutated from a nonisolated context
 51 |         portal.hidesSourceView = hidesSourceView
 52 |         portal.matchesAlpha = matchesAlpha
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:63:16: note: mutation of this property is only permitted within the actor
 61 |
 62 |     /// The view to mirror. Setting this displays a live copy of the source view.
 63 |     public var sourceView: UIView? {
    |                `- note: mutation of this property is only permitted within the actor
 64 |         didSet {
 65 |             updateSourceView()
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:51:16: warning: main actor-isolated property 'hidesSourceView' can not be mutated from a nonisolated context
 46 |     }
 47 |
 48 |     public func makeUIView(context: Context) -> UIPortalView {
    |                 `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
 49 |         let portal = UIPortalView()
 50 |         portal.sourceView = sourceView
 51 |         portal.hidesSourceView = hidesSourceView
    |                `- warning: main actor-isolated property 'hidesSourceView' can not be mutated from a nonisolated context
 52 |         portal.matchesAlpha = matchesAlpha
 53 |         portal.matchesTransform = matchesTransform
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:81:16: note: mutation of this property is only permitted within the actor
 79 |
 80 |     /// When `true`, the source view is hidden while being portaled.
 81 |     public var hidesSourceView: Bool = false {
    |                `- note: mutation of this property is only permitted within the actor
 82 |         didSet {
 83 |             portalView?.setValue(hidesSourceView, forKey: "hidesSourceView")
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:52:16: warning: main actor-isolated property 'matchesAlpha' can not be mutated from a nonisolated context
 46 |     }
 47 |
 48 |     public func makeUIView(context: Context) -> UIPortalView {
    |                 `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
 49 |         let portal = UIPortalView()
 50 |         portal.sourceView = sourceView
 51 |         portal.hidesSourceView = hidesSourceView
 52 |         portal.matchesAlpha = matchesAlpha
    |                `- warning: main actor-isolated property 'matchesAlpha' can not be mutated from a nonisolated context
 53 |         portal.matchesTransform = matchesTransform
 54 |         portal.matchesPosition = matchesPosition
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:88:16: note: mutation of this property is only permitted within the actor
 86 |
 87 |     /// When `true`, the portal matches the source view's alpha value.
 88 |     public var matchesAlpha: Bool = true {
    |                `- note: mutation of this property is only permitted within the actor
 89 |         didSet {
 90 |             portalView?.setValue(matchesAlpha, forKey: "matchesAlpha")
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:53:16: warning: main actor-isolated property 'matchesTransform' can not be mutated from a nonisolated context
 46 |     }
 47 |
 48 |     public func makeUIView(context: Context) -> UIPortalView {
    |                 `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
 49 |         let portal = UIPortalView()
 50 |         portal.sourceView = sourceView
 51 |         portal.hidesSourceView = hidesSourceView
 52 |         portal.matchesAlpha = matchesAlpha
 53 |         portal.matchesTransform = matchesTransform
    |                `- warning: main actor-isolated property 'matchesTransform' can not be mutated from a nonisolated context
 54 |         portal.matchesPosition = matchesPosition
 55 |         return portal
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:95:16: note: mutation of this property is only permitted within the actor
 93 |
 94 |     /// When `true`, the portal matches the source view's transform.
 95 |     public var matchesTransform: Bool = true {
    |                `- note: mutation of this property is only permitted within the actor
 96 |         didSet {
 97 |             portalView?.setValue(matchesTransform, forKey: "matchesTransform")
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:54:16: warning: main actor-isolated property 'matchesPosition' can not be mutated from a nonisolated context
 46 |     }
 47 |
 48 |     public func makeUIView(context: Context) -> UIPortalView {
    |                 `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
 49 |         let portal = UIPortalView()
 50 |         portal.sourceView = sourceView
    :
 52 |         portal.matchesAlpha = matchesAlpha
 53 |         portal.matchesTransform = matchesTransform
 54 |         portal.matchesPosition = matchesPosition
    |                `- warning: main actor-isolated property 'matchesPosition' can not be mutated from a nonisolated context
 55 |         return portal
 56 |     }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:102:16: note: mutation of this property is only permitted within the actor
100 |
101 |     /// When `true`, the portal matches the source view's position.
102 |     public var matchesPosition: Bool = true {
    |                `- note: mutation of this property is only permitted within the actor
103 |         didSet {
104 |             portalView?.setValue(matchesPosition, forKey: "matchesPosition")
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:59:16: warning: main actor-isolated property 'sourceView' can not be mutated from a nonisolated context
 56 |     }
 57 |
 58 |     public func updateUIView(_ uiView: UIPortalView, context: Context) {
    |                 `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
 59 |         uiView.sourceView = sourceView
    |                `- warning: main actor-isolated property 'sourceView' can not be mutated from a nonisolated context
 60 |         uiView.hidesSourceView = hidesSourceView
 61 |         uiView.matchesAlpha = matchesAlpha
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:63:16: note: mutation of this property is only permitted within the actor
 61 |
 62 |     /// The view to mirror. Setting this displays a live copy of the source view.
 63 |     public var sourceView: UIView? {
    |                `- note: mutation of this property is only permitted within the actor
 64 |         didSet {
 65 |             updateSourceView()
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:60:16: warning: main actor-isolated property 'hidesSourceView' can not be mutated from a nonisolated context
 56 |     }
 57 |
 58 |     public func updateUIView(_ uiView: UIPortalView, context: Context) {
    |                 `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
 59 |         uiView.sourceView = sourceView
 60 |         uiView.hidesSourceView = hidesSourceView
    |                `- warning: main actor-isolated property 'hidesSourceView' can not be mutated from a nonisolated context
 61 |         uiView.matchesAlpha = matchesAlpha
 62 |         uiView.matchesTransform = matchesTransform
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:81:16: note: mutation of this property is only permitted within the actor
 79 |
 80 |     /// When `true`, the source view is hidden while being portaled.
 81 |     public var hidesSourceView: Bool = false {
    |                `- note: mutation of this property is only permitted within the actor
 82 |         didSet {
 83 |             portalView?.setValue(hidesSourceView, forKey: "hidesSourceView")
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:61:16: warning: main actor-isolated property 'matchesAlpha' can not be mutated from a nonisolated context
 56 |     }
 57 |
 58 |     public func updateUIView(_ uiView: UIPortalView, context: Context) {
    |                 `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
 59 |         uiView.sourceView = sourceView
 60 |         uiView.hidesSourceView = hidesSourceView
 61 |         uiView.matchesAlpha = matchesAlpha
    |                `- warning: main actor-isolated property 'matchesAlpha' can not be mutated from a nonisolated context
 62 |         uiView.matchesTransform = matchesTransform
 63 |         uiView.matchesPosition = matchesPosition
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:88:16: note: mutation of this property is only permitted within the actor
 86 |
 87 |     /// When `true`, the portal matches the source view's alpha value.
 88 |     public var matchesAlpha: Bool = true {
    |                `- note: mutation of this property is only permitted within the actor
 89 |         didSet {
 90 |             portalView?.setValue(matchesAlpha, forKey: "matchesAlpha")
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:62:16: warning: main actor-isolated property 'matchesTransform' can not be mutated from a nonisolated context
 56 |     }
 57 |
 58 |     public func updateUIView(_ uiView: UIPortalView, context: Context) {
    |                 `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
 59 |         uiView.sourceView = sourceView
 60 |         uiView.hidesSourceView = hidesSourceView
 61 |         uiView.matchesAlpha = matchesAlpha
 62 |         uiView.matchesTransform = matchesTransform
    |                `- warning: main actor-isolated property 'matchesTransform' can not be mutated from a nonisolated context
 63 |         uiView.matchesPosition = matchesPosition
 64 |     }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:95:16: note: mutation of this property is only permitted within the actor
 93 |
 94 |     /// When `true`, the portal matches the source view's transform.
 95 |     public var matchesTransform: Bool = true {
    |                `- note: mutation of this property is only permitted within the actor
 96 |         didSet {
 97 |             portalView?.setValue(matchesTransform, forKey: "matchesTransform")
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:63:16: warning: main actor-isolated property 'matchesPosition' can not be mutated from a nonisolated context
 56 |     }
 57 |
 58 |     public func updateUIView(_ uiView: UIPortalView, context: Context) {
    |                 `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
 59 |         uiView.sourceView = sourceView
 60 |         uiView.hidesSourceView = hidesSourceView
 61 |         uiView.matchesAlpha = matchesAlpha
 62 |         uiView.matchesTransform = matchesTransform
 63 |         uiView.matchesPosition = matchesPosition
    |                `- warning: main actor-isolated property 'matchesPosition' can not be mutated from a nonisolated context
 64 |     }
 65 | }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:102:16: note: mutation of this property is only permitted within the actor
100 |
101 |     /// When `true`, the portal matches the source view's position.
102 |     public var matchesPosition: Bool = true {
    |                `- note: mutation of this property is only permitted within the actor
103 |         didSet {
104 |             portalView?.setValue(matchesPosition, forKey: "matchesPosition")
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:93:34: error: cannot find 'UIHostingController' in scope
 91 |
 92 |     public init(@ViewBuilder content: () -> Content) {
 93 |         self.hostingController = UIHostingController(rootView: content())
    |                                  `- error: cannot find 'UIHostingController' in scope
 94 |         self.hostingController.view.backgroundColor = .clear
 95 |         self.hostingController.sizingOptions = .preferredContentSize
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:94:56: error: cannot infer contextual base in reference to member 'clear'
 92 |     public init(@ViewBuilder content: () -> Content) {
 93 |         self.hostingController = UIHostingController(rootView: content())
 94 |         self.hostingController.view.backgroundColor = .clear
    |                                                        `- error: cannot infer contextual base in reference to member 'clear'
 95 |         self.hostingController.sizingOptions = .preferredContentSize
 96 |         hostingController.view.setNeedsLayout()
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:95:49: error: cannot infer contextual base in reference to member 'preferredContentSize'
 93 |         self.hostingController = UIHostingController(rootView: content())
 94 |         self.hostingController.view.backgroundColor = .clear
 95 |         self.hostingController.sizingOptions = .preferredContentSize
    |                                                 `- error: cannot infer contextual base in reference to member 'preferredContentSize'
 96 |         hostingController.view.setNeedsLayout()
 97 |     }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:100:34: error: cannot find 'UIHostingController' in scope
 98 |
 99 |     public init(content: Content) {
100 |         self.hostingController = UIHostingController(rootView: content)
    |                                  `- error: cannot find 'UIHostingController' in scope
101 |         self.hostingController.view.backgroundColor = .clear
102 |         self.hostingController.sizingOptions = .preferredContentSize
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:101:56: error: cannot infer contextual base in reference to member 'clear'
 99 |     public init(content: Content) {
100 |         self.hostingController = UIHostingController(rootView: content)
101 |         self.hostingController.view.backgroundColor = .clear
    |                                                        `- error: cannot infer contextual base in reference to member 'clear'
102 |         self.hostingController.sizingOptions = .preferredContentSize
103 |         hostingController.view.setNeedsLayout()
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:102:49: error: cannot infer contextual base in reference to member 'preferredContentSize'
100 |         self.hostingController = UIHostingController(rootView: content)
101 |         self.hostingController.view.backgroundColor = .clear
102 |         self.hostingController.sizingOptions = .preferredContentSize
    |                                                 `- error: cannot infer contextual base in reference to member 'preferredContentSize'
103 |         hostingController.view.setNeedsLayout()
104 |     }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift (in target 'UIPortalBridge' from project 'UIPortalBridge')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PortalView.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-23 17:12:17.213 xcodebuild[724:4471] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	SwiftEmitModule normal arm64_32 Emitting\ module\ for\ UIPortalBridge (in target 'UIPortalBridge' from project 'UIPortalBridge')
	SwiftCompile normal arm64_32 (in target 'UIPortalBridge' from project 'UIPortalBridge')
	SwiftEmitModule normal arm64 Emitting\ module\ for\ UIPortalBridge (in target 'UIPortalBridge' from project 'UIPortalBridge')
	SwiftCompile normal arm64 (in target 'UIPortalBridge' from project 'UIPortalBridge')
	Building workspace UIPortalBridge with scheme UIPortalBridge
(5 failures)
Command line invocation:
    /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
  Obfuscate: https://github.com/Aeastr/Obfuscate.git @ 1.4.0
  swift-syntax: https://github.com/swiftlang/swift-syntax @ 600.0.1
  UIPortalBridge: /Users/admin/builder/spi-builder-workspace
resolved source packages: Obfuscate, swift-syntax, UIPortalBridge
2026-09-23 17:12:50.883 xcodebuild[1320:7654] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "dependencies" : [
    {
      "identity" : "obfuscate",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Aeastr/Obfuscate.git"
    }
  ],
  "manifest_display_name" : "UIPortalBridge",
  "name" : "UIPortalBridge",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "UIPortalBridge",
      "targets" : [
        "UIPortalBridge"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "UIPortalBridge",
      "module_type" : "SwiftTarget",
      "name" : "UIPortalBridge",
      "path" : "Sources/UIPortalBridge",
      "product_dependencies" : [
        "Obfuscate"
      ],
      "product_memberships" : [
        "UIPortalBridge"
      ],
      "sources" : [
        "PortalView.swift",
        "UIPortalView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
{
  "workspace" : {
    "name" : "UIPortalBridge",
    "schemes" : [
      "UIPortalBridge"
    ]
  }
}
2026-09-23 17:12:52.333 xcodebuild[1329:7729] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme UIPortalBridge -destination generic/platform=watchOS
Command line invocation:
    /Applications/Xcode-27.0.0-Release.Candidate.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 UIPortalBridge -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
  Obfuscate: https://github.com/Aeastr/Obfuscate.git @ 1.4.0
  swift-syntax: https://github.com/swiftlang/swift-syntax @ 600.0.1
  UIPortalBridge: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (23 targets)
    Target 'UIPortalBridge-product' in project 'UIPortalBridge'
        ➜ Explicit dependency on target 'UIPortalBridge' in project 'UIPortalBridge'
        ➜ Explicit dependency on target 'Obfuscate-product' in project 'Obfuscate'
    Target 'UIPortalBridge' in project 'UIPortalBridge'
        ➜ Explicit dependency on target 'Obfuscate-product' in project 'Obfuscate'
    Target 'Obfuscate-product' in project 'Obfuscate'
        ➜ Explicit dependency on target 'Obfuscate' in project 'Obfuscate'
        ➜ Explicit dependency on target 'ObfuscateMacro' in project 'Obfuscate'
    Target 'Obfuscate' in project 'Obfuscate'
        ➜ Explicit dependency on target 'ObfuscateMacro' in project 'Obfuscate'
    Target 'ObfuscateMacro' in project 'Obfuscate'
        ➜ Explicit dependency on target 'SwiftSyntax-product' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntaxMacros-product' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftCompilerPlugin-product' in project 'swift-syntax'
    Target 'SwiftCompilerPlugin-product' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftCompilerPlugin' in project 'swift-syntax'
        ➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftOperators' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftBasicFormat' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParserDiagnostics' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntaxBuilder' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntaxMacros' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntaxMacroExpansion' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftCompilerPluginMessageHandling' in project 'swift-syntax'
    Target 'SwiftCompilerPlugin' in project 'swift-syntax'
        ➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftOperators' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftBasicFormat' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParserDiagnostics' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntaxBuilder' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntaxMacros' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntaxMacroExpansion' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftCompilerPluginMessageHandling' in project 'swift-syntax'
    Target 'SwiftCompilerPluginMessageHandling' in project 'swift-syntax'
        ➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftOperators' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftBasicFormat' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParserDiagnostics' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntaxBuilder' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntaxMacros' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntaxMacroExpansion' in project 'swift-syntax'
    Target 'SwiftSyntaxMacroExpansion' in project 'swift-syntax'
        ➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftBasicFormat' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParserDiagnostics' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntaxBuilder' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntaxMacros' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftOperators' in project 'swift-syntax'
    Target 'SwiftOperators' in project 'swift-syntax'
        ➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
    Target 'SwiftSyntaxMacros-product' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntaxMacros' in project 'swift-syntax'
        ➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftBasicFormat' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParserDiagnostics' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntaxBuilder' in project 'swift-syntax'
    Target 'SwiftSyntaxMacros' in project 'swift-syntax'
        ➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftBasicFormat' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParserDiagnostics' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntaxBuilder' in project 'swift-syntax'
    Target 'SwiftSyntaxBuilder' in project 'swift-syntax'
        ➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftBasicFormat' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParserDiagnostics' in project 'swift-syntax'
    Target 'SwiftParserDiagnostics' in project 'swift-syntax'
        ➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftBasicFormat' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
    Target 'SwiftBasicFormat' in project 'swift-syntax'
        ➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
    Target 'SwiftParser' in project 'swift-syntax'
        ➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
    Target 'SwiftDiagnostics' in project 'swift-syntax'
        ➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
    Target 'SwiftSyntax-product' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
    Target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
    Target 'SwiftSyntax600' in project 'swift-syntax' (no dependencies)
    Target 'SwiftSyntax510' in project 'swift-syntax' (no dependencies)
    Target 'SwiftSyntax509' in project 'swift-syntax' (no dependencies)
    Target '_SwiftSyntaxCShims' in project 'swift-syntax' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache
SwiftDriver UIPortalBridge normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'UIPortalBridge' from project 'UIPortalBridge')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name UIPortalBridge -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64_32/UIPortalBridge.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos10.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -Xfrontend -load-plugin-executable -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/ObfuscateMacro\#ObfuscateMacro -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64_32/UIPortalBridge-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64_32/UIPortalBridge.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64_32/UIPortalBridge-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64_32/UIPortalBridge_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/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.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/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64_32/UIPortalBridge-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver UIPortalBridge normal arm64 com.apple.xcode.tools.swift.compiler (in target 'UIPortalBridge' from project 'UIPortalBridge')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name UIPortalBridge -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64/UIPortalBridge.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos10.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -Xfrontend -load-plugin-executable -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/ObfuscateMacro\#ObfuscateMacro -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64/UIPortalBridge-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64/UIPortalBridge.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64/UIPortalBridge-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64/UIPortalBridge_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/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.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/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64/UIPortalBridge-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ UIPortalBridge (in target 'UIPortalBridge' from project 'UIPortalBridge')
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:28:21: error: 'UIView' is unavailable in watchOS
 26 | /// ```
 27 | public struct PortalViewRepresentable: UIViewRepresentable {
 28 |     let sourceView: UIView
    |                     `- error: 'UIView' is unavailable in watchOS
 29 |     var hidesSourceView: Bool = false
 30 |     var matchesAlpha: Bool = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:35:21: error: 'UIView' is unavailable in watchOS
 33 |
 34 |     public init(
 35 |         sourceView: UIView,
    |                     `- error: 'UIView' is unavailable in watchOS
 36 |         hidesSourceView: Bool = false,
 37 |         matchesAlpha: Bool = true,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:48:37: error: cannot find type 'Context' in scope
 46 |     }
 47 |
 48 |     public func makeUIView(context: Context) -> UIPortalView {
    |                                     `- error: cannot find type 'Context' in scope
 49 |         let portal = UIPortalView()
 50 |         portal.sourceView = sourceView
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:58:63: error: cannot find type 'Context' in scope
 56 |     }
 57 |
 58 |     public func updateUIView(_ uiView: UIPortalView, context: Context) {
    |                                                               `- error: cannot find type 'Context' in scope
 59 |         uiView.sourceView = sourceView
 60 |         uiView.hidesSourceView = hidesSourceView
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:27:40: error: cannot find type 'UIViewRepresentable' in scope
 25 | /// )
 26 | /// ```
 27 | public struct PortalViewRepresentable: UIViewRepresentable {
    |                                        `- error: cannot find type 'UIViewRepresentable' in scope
 28 |     let sourceView: UIView
 29 |     var hidesSourceView: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:85:28: error: cannot find type 'UIHostingController' in scope
 83 | @MainActor
 84 | public class SourceViewContainer<Content: View> {
 85 |     let hostingController: UIHostingController<Content>
    |                            `- error: cannot find type 'UIHostingController' in scope
 86 |
 87 |     /// The underlying `UIView` that can be used as a portal source.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:88:22: error: 'UIView' is unavailable in watchOS
 86 |
 87 |     /// The underlying `UIView` that can be used as a portal source.
 88 |     public var view: UIView {
    |                      `- error: 'UIView' is unavailable in watchOS
 89 |         hostingController.view
 90 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:117:21: error: 'UIView' is unavailable in watchOS
115 | /// A `UIView` subclass that wraps another view with proper intrinsic sizing.
116 | public class SourceViewWrapper: UIView {
117 |     let sourceView: UIView
    |                     `- error: 'UIView' is unavailable in watchOS
118 |
119 |     public init(sourceView: UIView) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:119:29: error: 'UIView' is unavailable in watchOS
117 |     let sourceView: UIView
118 |
119 |     public init(sourceView: UIView) {
    |                             `- error: 'UIView' is unavailable in watchOS
120 |         self.sourceView = sourceView
121 |         super.init(frame: .zero)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:116:33: error: 'UIView' is unavailable in watchOS
114 |
115 | /// A `UIView` subclass that wraps another view with proper intrinsic sizing.
116 | public class SourceViewWrapper: UIView {
    |                                 `- error: 'UIView' is unavailable in watchOS
117 |     let sourceView: UIView
118 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:162:37: error: cannot find type 'Context' in scope
160 |     }
161 |
162 |     public func makeUIView(context: Context) -> SourceViewWrapper {
    |                                     `- error: cannot find type 'Context' in scope
163 |         SourceViewWrapper(sourceView: container.view)
164 |     }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:166:68: error: cannot find type 'Context' in scope
164 |     }
165 |
166 |     public func updateUIView(_ uiView: SourceViewWrapper, context: Context) {
    |                                                                    `- error: cannot find type 'Context' in scope
167 |         container.update(content: content)
168 |         uiView.invalidateIntrinsicContentSize()
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:153:55: error: cannot find type 'UIViewRepresentable' in scope
151 |
152 | /// A `UIViewRepresentable` that displays the source view from a `SourceViewContainer`.
153 | public struct SourceViewRepresentable<Content: View>: UIViewRepresentable {
    |                                                       `- error: cannot find type 'UIViewRepresentable' in scope
154 |     let container: SourceViewContainer<Content>
155 |     let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:55:29: error: 'UIView' is unavailable in watchOS
 53 | ///   for development. Not recommended for App Store submissions.
 54 | public class UIPortalView: UIView {
 55 |     private var portalView: UIView?
    |                             `- error: 'UIView' is unavailable in watchOS
 56 |
 57 |     /// Whether the underlying portal view is available on this system.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:63:28: error: 'UIView' is unavailable in watchOS
 61 |
 62 |     /// The view to mirror. Setting this displays a live copy of the source view.
 63 |     public var sourceView: UIView? {
    |                            `- error: 'UIView' is unavailable in watchOS
 64 |         didSet {
 65 |             updateSourceView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:54:28: error: 'UIView' is unavailable in watchOS
 52 | /// - Warning: This uses private APIs. Use only in internal/enterprise apps or
 53 | ///   for development. Not recommended for App Store submissions.
 54 | public class UIPortalView: UIView {
    |                            `- error: 'UIView' is unavailable in watchOS
 55 |     private var portalView: UIView?
 56 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
Failed frontend command:
SwiftCompile normal arm64_32 (in target 'UIPortalBridge' from project 'UIPortalBridge')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Applications/Xcode-27.0.0-Release.Candidate.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/UIPortalBridge/PortalView.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift -target arm64_32-apple-watchos10.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin \#/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/ObfuscateMacro\#ObfuscateMacro -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64_32/UIPortalBridge-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -load-plugin-executable /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/ObfuscateMacro\#ObfuscateMacro -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -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 -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -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/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name UIPortalBridge -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64_32/UIPortalBridge_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64_32/UIPortalBridge.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64_32/UIPortalBridge.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64_32/UIPortalBridge-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64_32/UIPortalBridge-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64_32/UIPortalBridge-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64_32/UIPortalBridge.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64_32/UIPortalBridge.abi.json
SwiftCompile normal arm64_32 Compiling\ UIPortalView.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift (in target 'UIPortalBridge' from project 'UIPortalBridge')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift (in target 'UIPortalBridge' from project 'UIPortalBridge')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile UIPortalView.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:55:29: error: 'UIView' is unavailable in watchOS
 53 | ///   for development. Not recommended for App Store submissions.
 54 | public class UIPortalView: UIView {
 55 |     private var portalView: UIView?
    |                             `- error: 'UIView' is unavailable in watchOS
 56 |
 57 |     /// Whether the underlying portal view is available on this system.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:63:28: error: 'UIView' is unavailable in watchOS
 61 |
 62 |     /// The view to mirror. Setting this displays a live copy of the source view.
 63 |     public var sourceView: UIView? {
    |                            `- error: 'UIView' is unavailable in watchOS
 64 |         didSet {
 65 |             updateSourceView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:54:28: error: 'UIView' is unavailable in watchOS
 52 | /// - Warning: This uses private APIs. Use only in internal/enterprise apps or
 53 | ///   for development. Not recommended for App Store submissions.
 54 | public class UIPortalView: UIView {
    |                            `- error: 'UIView' is unavailable in watchOS
 55 |     private var portalView: UIView?
 56 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:77:30: error: 'UIView' is unavailable in watchOS
 75 |             return sourceView.intrinsicContentSize
 76 |         }
 77 |         return CGSize(width: UIView.noIntrinsicMetric, height: UIView.noIntrinsicMetric)
    |                              `- error: 'UIView' is unavailable in watchOS
 78 |     }
 79 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:77:37: error: 'noIntrinsicMetric' is unavailable in watchOS
 75 |             return sourceView.intrinsicContentSize
 76 |         }
 77 |         return CGSize(width: UIView.noIntrinsicMetric, height: UIView.noIntrinsicMetric)
    |                                     `- error: 'noIntrinsicMetric' is unavailable in watchOS
 78 |     }
 79 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:547:28: note: 'noIntrinsicMetric' has been explicitly marked unavailable here
545 |  Note that not all views have an intrinsicContentSize.  UIView's default implementation is to return (UIViewNoIntrinsicMetric, UIViewNoIntrinsicMetric).  The _intrinsic_ content size is concerned only with data that is in the view itself, not in other views. Remember that you can also set constant width or height constraints on any view, and you don't need to override intrinsicContentSize if these dimensions won't be changing with changing view content.
546 |  */
547 | UIKIT_EXTERN const CGFloat UIViewNoIntrinsicMetric API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos); // -1
    |                            `- note: 'noIntrinsicMetric' has been explicitly marked unavailable here
548 | @property(nonatomic, readonly) CGSize intrinsicContentSize API_AVAILABLE(ios(6.0));
549 | - (void)invalidateIntrinsicContentSize API_AVAILABLE(ios(6.0)); // call this when something changes that affects the intrinsicContentSize.  Otherwise UIKit won't notice that it changed.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:77:64: error: 'UIView' is unavailable in watchOS
 75 |             return sourceView.intrinsicContentSize
 76 |         }
 77 |         return CGSize(width: UIView.noIntrinsicMetric, height: UIView.noIntrinsicMetric)
    |                                                                `- error: 'UIView' is unavailable in watchOS
 78 |     }
 79 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftEmitModule normal arm64 Emitting\ module\ for\ UIPortalBridge (in target 'UIPortalBridge' from project 'UIPortalBridge')
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:28:21: error: 'UIView' is unavailable in watchOS
 26 | /// ```
 27 | public struct PortalViewRepresentable: UIViewRepresentable {
 28 |     let sourceView: UIView
    |                     `- error: 'UIView' is unavailable in watchOS
 29 |     var hidesSourceView: Bool = false
 30 |     var matchesAlpha: Bool = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:35:21: error: 'UIView' is unavailable in watchOS
 33 |
 34 |     public init(
 35 |         sourceView: UIView,
    |                     `- error: 'UIView' is unavailable in watchOS
 36 |         hidesSourceView: Bool = false,
 37 |         matchesAlpha: Bool = true,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:48:37: error: cannot find type 'Context' in scope
 46 |     }
 47 |
 48 |     public func makeUIView(context: Context) -> UIPortalView {
    |                                     `- error: cannot find type 'Context' in scope
 49 |         let portal = UIPortalView()
 50 |         portal.sourceView = sourceView
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:58:63: error: cannot find type 'Context' in scope
 56 |     }
 57 |
 58 |     public func updateUIView(_ uiView: UIPortalView, context: Context) {
    |                                                               `- error: cannot find type 'Context' in scope
 59 |         uiView.sourceView = sourceView
 60 |         uiView.hidesSourceView = hidesSourceView
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:27:40: error: cannot find type 'UIViewRepresentable' in scope
 25 | /// )
 26 | /// ```
 27 | public struct PortalViewRepresentable: UIViewRepresentable {
    |                                        `- error: cannot find type 'UIViewRepresentable' in scope
 28 |     let sourceView: UIView
 29 |     var hidesSourceView: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:85:28: error: cannot find type 'UIHostingController' in scope
 83 | @MainActor
 84 | public class SourceViewContainer<Content: View> {
 85 |     let hostingController: UIHostingController<Content>
    |                            `- error: cannot find type 'UIHostingController' in scope
 86 |
 87 |     /// The underlying `UIView` that can be used as a portal source.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:88:22: error: 'UIView' is unavailable in watchOS
 86 |
 87 |     /// The underlying `UIView` that can be used as a portal source.
 88 |     public var view: UIView {
    |                      `- error: 'UIView' is unavailable in watchOS
 89 |         hostingController.view
 90 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:117:21: error: 'UIView' is unavailable in watchOS
115 | /// A `UIView` subclass that wraps another view with proper intrinsic sizing.
116 | public class SourceViewWrapper: UIView {
117 |     let sourceView: UIView
    |                     `- error: 'UIView' is unavailable in watchOS
118 |
119 |     public init(sourceView: UIView) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:119:29: error: 'UIView' is unavailable in watchOS
117 |     let sourceView: UIView
118 |
119 |     public init(sourceView: UIView) {
    |                             `- error: 'UIView' is unavailable in watchOS
120 |         self.sourceView = sourceView
121 |         super.init(frame: .zero)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:116:33: error: 'UIView' is unavailable in watchOS
114 |
115 | /// A `UIView` subclass that wraps another view with proper intrinsic sizing.
116 | public class SourceViewWrapper: UIView {
    |                                 `- error: 'UIView' is unavailable in watchOS
117 |     let sourceView: UIView
118 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:162:37: error: cannot find type 'Context' in scope
160 |     }
161 |
162 |     public func makeUIView(context: Context) -> SourceViewWrapper {
    |                                     `- error: cannot find type 'Context' in scope
163 |         SourceViewWrapper(sourceView: container.view)
164 |     }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:166:68: error: cannot find type 'Context' in scope
164 |     }
165 |
166 |     public func updateUIView(_ uiView: SourceViewWrapper, context: Context) {
    |                                                                    `- error: cannot find type 'Context' in scope
167 |         container.update(content: content)
168 |         uiView.invalidateIntrinsicContentSize()
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:153:55: error: cannot find type 'UIViewRepresentable' in scope
151 |
152 | /// A `UIViewRepresentable` that displays the source view from a `SourceViewContainer`.
153 | public struct SourceViewRepresentable<Content: View>: UIViewRepresentable {
    |                                                       `- error: cannot find type 'UIViewRepresentable' in scope
154 |     let container: SourceViewContainer<Content>
155 |     let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:55:29: error: 'UIView' is unavailable in watchOS
 53 | ///   for development. Not recommended for App Store submissions.
 54 | public class UIPortalView: UIView {
 55 |     private var portalView: UIView?
    |                             `- error: 'UIView' is unavailable in watchOS
 56 |
 57 |     /// Whether the underlying portal view is available on this system.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:63:28: error: 'UIView' is unavailable in watchOS
 61 |
 62 |     /// The view to mirror. Setting this displays a live copy of the source view.
 63 |     public var sourceView: UIView? {
    |                            `- error: 'UIView' is unavailable in watchOS
 64 |         didSet {
 65 |             updateSourceView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:54:28: error: 'UIView' is unavailable in watchOS
 52 | /// - Warning: This uses private APIs. Use only in internal/enterprise apps or
 53 | ///   for development. Not recommended for App Store submissions.
 54 | public class UIPortalView: UIView {
    |                            `- error: 'UIView' is unavailable in watchOS
 55 |     private var portalView: UIView?
 56 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.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/UIPortalBridge/PortalView.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift -target arm64-apple-watchos10.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin \#/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/ObfuscateMacro\#ObfuscateMacro -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64/UIPortalBridge-dependencies-2.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -load-plugin-executable /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/ObfuscateMacro\#ObfuscateMacro -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -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 -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -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/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name UIPortalBridge -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64/UIPortalBridge_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64/UIPortalBridge.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64/UIPortalBridge.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64/UIPortalBridge-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64/UIPortalBridge-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64/UIPortalBridge-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64/UIPortalBridge.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/UIPortalBridge.build/Debug-watchos/UIPortalBridge-t.build/Objects-normal/arm64/UIPortalBridge.abi.json
SwiftCompile normal arm64 (in target 'UIPortalBridge' from project 'UIPortalBridge')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64_32 Compiling\ PortalView.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift (in target 'UIPortalBridge' from project 'UIPortalBridge')
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:28:21: error: 'UIView' is unavailable in watchOS
 26 | /// ```
 27 | public struct PortalViewRepresentable: UIViewRepresentable {
 28 |     let sourceView: UIView
    |                     `- error: 'UIView' is unavailable in watchOS
 29 |     var hidesSourceView: Bool = false
 30 |     var matchesAlpha: Bool = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:35:21: error: 'UIView' is unavailable in watchOS
 33 |
 34 |     public init(
 35 |         sourceView: UIView,
    |                     `- error: 'UIView' is unavailable in watchOS
 36 |         hidesSourceView: Bool = false,
 37 |         matchesAlpha: Bool = true,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:48:37: error: cannot find type 'Context' in scope
 46 |     }
 47 |
 48 |     public func makeUIView(context: Context) -> UIPortalView {
    |                                     `- error: cannot find type 'Context' in scope
 49 |         let portal = UIPortalView()
 50 |         portal.sourceView = sourceView
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:58:63: error: cannot find type 'Context' in scope
 56 |     }
 57 |
 58 |     public func updateUIView(_ uiView: UIPortalView, context: Context) {
    |                                                               `- error: cannot find type 'Context' in scope
 59 |         uiView.sourceView = sourceView
 60 |         uiView.hidesSourceView = hidesSourceView
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:27:40: error: cannot find type 'UIViewRepresentable' in scope
 25 | /// )
 26 | /// ```
 27 | public struct PortalViewRepresentable: UIViewRepresentable {
    |                                        `- error: cannot find type 'UIViewRepresentable' in scope
 28 |     let sourceView: UIView
 29 |     var hidesSourceView: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:85:28: error: cannot find type 'UIHostingController' in scope
 83 | @MainActor
 84 | public class SourceViewContainer<Content: View> {
 85 |     let hostingController: UIHostingController<Content>
    |                            `- error: cannot find type 'UIHostingController' in scope
 86 |
 87 |     /// The underlying `UIView` that can be used as a portal source.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:88:22: error: 'UIView' is unavailable in watchOS
 86 |
 87 |     /// The underlying `UIView` that can be used as a portal source.
 88 |     public var view: UIView {
    |                      `- error: 'UIView' is unavailable in watchOS
 89 |         hostingController.view
 90 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:117:21: error: 'UIView' is unavailable in watchOS
115 | /// A `UIView` subclass that wraps another view with proper intrinsic sizing.
116 | public class SourceViewWrapper: UIView {
117 |     let sourceView: UIView
    |                     `- error: 'UIView' is unavailable in watchOS
118 |
119 |     public init(sourceView: UIView) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:119:29: error: 'UIView' is unavailable in watchOS
117 |     let sourceView: UIView
118 |
119 |     public init(sourceView: UIView) {
    |                             `- error: 'UIView' is unavailable in watchOS
120 |         self.sourceView = sourceView
121 |         super.init(frame: .zero)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:116:33: error: 'UIView' is unavailable in watchOS
114 |
115 | /// A `UIView` subclass that wraps another view with proper intrinsic sizing.
116 | public class SourceViewWrapper: UIView {
    |                                 `- error: 'UIView' is unavailable in watchOS
117 |     let sourceView: UIView
118 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:162:37: error: cannot find type 'Context' in scope
160 |     }
161 |
162 |     public func makeUIView(context: Context) -> SourceViewWrapper {
    |                                     `- error: cannot find type 'Context' in scope
163 |         SourceViewWrapper(sourceView: container.view)
164 |     }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:166:68: error: cannot find type 'Context' in scope
164 |     }
165 |
166 |     public func updateUIView(_ uiView: SourceViewWrapper, context: Context) {
    |                                                                    `- error: cannot find type 'Context' in scope
167 |         container.update(content: content)
168 |         uiView.invalidateIntrinsicContentSize()
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:153:55: error: cannot find type 'UIViewRepresentable' in scope
151 |
152 | /// A `UIViewRepresentable` that displays the source view from a `SourceViewContainer`.
153 | public struct SourceViewRepresentable<Content: View>: UIViewRepresentable {
    |                                                       `- error: cannot find type 'UIViewRepresentable' in scope
154 |     let container: SourceViewContainer<Content>
155 |     let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:49:22: error: 'init()' is unavailable in watchOS
 47 |
 48 |     public func makeUIView(context: Context) -> UIPortalView {
 49 |         let portal = UIPortalView()
    |                      `- error: 'init()' is unavailable in watchOS
 50 |         portal.sourceView = sourceView
 51 |         portal.hidesSourceView = hidesSourceView
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
    | `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled;  // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:49:22: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context [#ActorIsolatedCall]
 46 |     }
 47 |
 48 |     public func makeUIView(context: Context) -> UIPortalView {
    |                 `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
 49 |         let portal = UIPortalView()
    |                      `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context [#ActorIsolatedCall]
 50 |         portal.sourceView = sourceView
 51 |         portal.hidesSourceView = hidesSourceView
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
    | `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled;  // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:50:16: warning: main actor-isolated property 'sourceView' can not be mutated from a nonisolated context
 46 |     }
 47 |
 48 |     public func makeUIView(context: Context) -> UIPortalView {
    |                 `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
 49 |         let portal = UIPortalView()
 50 |         portal.sourceView = sourceView
    |                `- warning: main actor-isolated property 'sourceView' can not be mutated from a nonisolated context
 51 |         portal.hidesSourceView = hidesSourceView
 52 |         portal.matchesAlpha = matchesAlpha
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:63:16: note: mutation of this property is only permitted within the actor
 61 |
 62 |     /// The view to mirror. Setting this displays a live copy of the source view.
 63 |     public var sourceView: UIView? {
    |                `- note: mutation of this property is only permitted within the actor
 64 |         didSet {
 65 |             updateSourceView()
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:51:16: warning: main actor-isolated property 'hidesSourceView' can not be mutated from a nonisolated context
 46 |     }
 47 |
 48 |     public func makeUIView(context: Context) -> UIPortalView {
    |                 `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
 49 |         let portal = UIPortalView()
 50 |         portal.sourceView = sourceView
 51 |         portal.hidesSourceView = hidesSourceView
    |                `- warning: main actor-isolated property 'hidesSourceView' can not be mutated from a nonisolated context
 52 |         portal.matchesAlpha = matchesAlpha
 53 |         portal.matchesTransform = matchesTransform
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:81:16: note: mutation of this property is only permitted within the actor
 79 |
 80 |     /// When `true`, the source view is hidden while being portaled.
 81 |     public var hidesSourceView: Bool = false {
    |                `- note: mutation of this property is only permitted within the actor
 82 |         didSet {
 83 |             portalView?.setValue(hidesSourceView, forKey: "hidesSourceView")
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:52:16: warning: main actor-isolated property 'matchesAlpha' can not be mutated from a nonisolated context
 46 |     }
 47 |
 48 |     public func makeUIView(context: Context) -> UIPortalView {
    |                 `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
 49 |         let portal = UIPortalView()
 50 |         portal.sourceView = sourceView
 51 |         portal.hidesSourceView = hidesSourceView
 52 |         portal.matchesAlpha = matchesAlpha
    |                `- warning: main actor-isolated property 'matchesAlpha' can not be mutated from a nonisolated context
 53 |         portal.matchesTransform = matchesTransform
 54 |         portal.matchesPosition = matchesPosition
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:88:16: note: mutation of this property is only permitted within the actor
 86 |
 87 |     /// When `true`, the portal matches the source view's alpha value.
 88 |     public var matchesAlpha: Bool = true {
    |                `- note: mutation of this property is only permitted within the actor
 89 |         didSet {
 90 |             portalView?.setValue(matchesAlpha, forKey: "matchesAlpha")
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:53:16: warning: main actor-isolated property 'matchesTransform' can not be mutated from a nonisolated context
 46 |     }
 47 |
 48 |     public func makeUIView(context: Context) -> UIPortalView {
    |                 `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
 49 |         let portal = UIPortalView()
 50 |         portal.sourceView = sourceView
 51 |         portal.hidesSourceView = hidesSourceView
 52 |         portal.matchesAlpha = matchesAlpha
 53 |         portal.matchesTransform = matchesTransform
    |                `- warning: main actor-isolated property 'matchesTransform' can not be mutated from a nonisolated context
 54 |         portal.matchesPosition = matchesPosition
 55 |         return portal
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:95:16: note: mutation of this property is only permitted within the actor
 93 |
 94 |     /// When `true`, the portal matches the source view's transform.
 95 |     public var matchesTransform: Bool = true {
    |                `- note: mutation of this property is only permitted within the actor
 96 |         didSet {
 97 |             portalView?.setValue(matchesTransform, forKey: "matchesTransform")
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:54:16: warning: main actor-isolated property 'matchesPosition' can not be mutated from a nonisolated context
 46 |     }
 47 |
 48 |     public func makeUIView(context: Context) -> UIPortalView {
    |                 `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
 49 |         let portal = UIPortalView()
 50 |         portal.sourceView = sourceView
    :
 52 |         portal.matchesAlpha = matchesAlpha
 53 |         portal.matchesTransform = matchesTransform
 54 |         portal.matchesPosition = matchesPosition
    |                `- warning: main actor-isolated property 'matchesPosition' can not be mutated from a nonisolated context
 55 |         return portal
 56 |     }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:102:16: note: mutation of this property is only permitted within the actor
100 |
101 |     /// When `true`, the portal matches the source view's position.
102 |     public var matchesPosition: Bool = true {
    |                `- note: mutation of this property is only permitted within the actor
103 |         didSet {
104 |             portalView?.setValue(matchesPosition, forKey: "matchesPosition")
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:59:16: warning: main actor-isolated property 'sourceView' can not be mutated from a nonisolated context
 56 |     }
 57 |
 58 |     public func updateUIView(_ uiView: UIPortalView, context: Context) {
    |                 `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
 59 |         uiView.sourceView = sourceView
    |                `- warning: main actor-isolated property 'sourceView' can not be mutated from a nonisolated context
 60 |         uiView.hidesSourceView = hidesSourceView
 61 |         uiView.matchesAlpha = matchesAlpha
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:63:16: note: mutation of this property is only permitted within the actor
 61 |
 62 |     /// The view to mirror. Setting this displays a live copy of the source view.
 63 |     public var sourceView: UIView? {
    |                `- note: mutation of this property is only permitted within the actor
 64 |         didSet {
 65 |             updateSourceView()
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:60:16: warning: main actor-isolated property 'hidesSourceView' can not be mutated from a nonisolated context
 56 |     }
 57 |
 58 |     public func updateUIView(_ uiView: UIPortalView, context: Context) {
    |                 `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
 59 |         uiView.sourceView = sourceView
 60 |         uiView.hidesSourceView = hidesSourceView
    |                `- warning: main actor-isolated property 'hidesSourceView' can not be mutated from a nonisolated context
 61 |         uiView.matchesAlpha = matchesAlpha
 62 |         uiView.matchesTransform = matchesTransform
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:81:16: note: mutation of this property is only permitted within the actor
 79 |
 80 |     /// When `true`, the source view is hidden while being portaled.
 81 |     public var hidesSourceView: Bool = false {
    |                `- note: mutation of this property is only permitted within the actor
 82 |         didSet {
 83 |             portalView?.setValue(hidesSourceView, forKey: "hidesSourceView")
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:61:16: warning: main actor-isolated property 'matchesAlpha' can not be mutated from a nonisolated context
 56 |     }
 57 |
 58 |     public func updateUIView(_ uiView: UIPortalView, context: Context) {
    |                 `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
 59 |         uiView.sourceView = sourceView
 60 |         uiView.hidesSourceView = hidesSourceView
 61 |         uiView.matchesAlpha = matchesAlpha
    |                `- warning: main actor-isolated property 'matchesAlpha' can not be mutated from a nonisolated context
 62 |         uiView.matchesTransform = matchesTransform
 63 |         uiView.matchesPosition = matchesPosition
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:88:16: note: mutation of this property is only permitted within the actor
 86 |
 87 |     /// When `true`, the portal matches the source view's alpha value.
 88 |     public var matchesAlpha: Bool = true {
    |                `- note: mutation of this property is only permitted within the actor
 89 |         didSet {
 90 |             portalView?.setValue(matchesAlpha, forKey: "matchesAlpha")
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:62:16: warning: main actor-isolated property 'matchesTransform' can not be mutated from a nonisolated context
 56 |     }
 57 |
 58 |     public func updateUIView(_ uiView: UIPortalView, context: Context) {
    |                 `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
 59 |         uiView.sourceView = sourceView
 60 |         uiView.hidesSourceView = hidesSourceView
 61 |         uiView.matchesAlpha = matchesAlpha
 62 |         uiView.matchesTransform = matchesTransform
    |                `- warning: main actor-isolated property 'matchesTransform' can not be mutated from a nonisolated context
 63 |         uiView.matchesPosition = matchesPosition
 64 |     }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:95:16: note: mutation of this property is only permitted within the actor
 93 |
 94 |     /// When `true`, the portal matches the source view's transform.
 95 |     public var matchesTransform: Bool = true {
    |                `- note: mutation of this property is only permitted within the actor
 96 |         didSet {
 97 |             portalView?.setValue(matchesTransform, forKey: "matchesTransform")
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:63:16: warning: main actor-isolated property 'matchesPosition' can not be mutated from a nonisolated context
 56 |     }
 57 |
 58 |     public func updateUIView(_ uiView: UIPortalView, context: Context) {
    |                 `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
 59 |         uiView.sourceView = sourceView
 60 |         uiView.hidesSourceView = hidesSourceView
 61 |         uiView.matchesAlpha = matchesAlpha
 62 |         uiView.matchesTransform = matchesTransform
 63 |         uiView.matchesPosition = matchesPosition
    |                `- warning: main actor-isolated property 'matchesPosition' can not be mutated from a nonisolated context
 64 |     }
 65 | }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:102:16: note: mutation of this property is only permitted within the actor
100 |
101 |     /// When `true`, the portal matches the source view's position.
102 |     public var matchesPosition: Bool = true {
    |                `- note: mutation of this property is only permitted within the actor
103 |         didSet {
104 |             portalView?.setValue(matchesPosition, forKey: "matchesPosition")
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:93:34: error: cannot find 'UIHostingController' in scope
 91 |
 92 |     public init(@ViewBuilder content: () -> Content) {
 93 |         self.hostingController = UIHostingController(rootView: content())
    |                                  `- error: cannot find 'UIHostingController' in scope
 94 |         self.hostingController.view.backgroundColor = .clear
 95 |         self.hostingController.sizingOptions = .preferredContentSize
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:94:56: error: cannot infer contextual base in reference to member 'clear'
 92 |     public init(@ViewBuilder content: () -> Content) {
 93 |         self.hostingController = UIHostingController(rootView: content())
 94 |         self.hostingController.view.backgroundColor = .clear
    |                                                        `- error: cannot infer contextual base in reference to member 'clear'
 95 |         self.hostingController.sizingOptions = .preferredContentSize
 96 |         hostingController.view.setNeedsLayout()
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:95:49: error: cannot infer contextual base in reference to member 'preferredContentSize'
 93 |         self.hostingController = UIHostingController(rootView: content())
 94 |         self.hostingController.view.backgroundColor = .clear
 95 |         self.hostingController.sizingOptions = .preferredContentSize
    |                                                 `- error: cannot infer contextual base in reference to member 'preferredContentSize'
 96 |         hostingController.view.setNeedsLayout()
 97 |     }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:100:34: error: cannot find 'UIHostingController' in scope
 98 |
 99 |     public init(content: Content) {
100 |         self.hostingController = UIHostingController(rootView: content)
    |                                  `- error: cannot find 'UIHostingController' in scope
101 |         self.hostingController.view.backgroundColor = .clear
102 |         self.hostingController.sizingOptions = .preferredContentSize
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:101:56: error: cannot infer contextual base in reference to member 'clear'
 99 |     public init(content: Content) {
100 |         self.hostingController = UIHostingController(rootView: content)
101 |         self.hostingController.view.backgroundColor = .clear
    |                                                        `- error: cannot infer contextual base in reference to member 'clear'
102 |         self.hostingController.sizingOptions = .preferredContentSize
103 |         hostingController.view.setNeedsLayout()
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:102:49: error: cannot infer contextual base in reference to member 'preferredContentSize'
100 |         self.hostingController = UIHostingController(rootView: content)
101 |         self.hostingController.view.backgroundColor = .clear
102 |         self.hostingController.sizingOptions = .preferredContentSize
    |                                                 `- error: cannot infer contextual base in reference to member 'preferredContentSize'
103 |         hostingController.view.setNeedsLayout()
104 |     }
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift (in target 'UIPortalBridge' from project 'UIPortalBridge')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PortalView.swift
SwiftCompile normal arm64 Compiling\ PortalView.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift (in target 'UIPortalBridge' from project 'UIPortalBridge')
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:28:21: error: 'UIView' is unavailable in watchOS
 26 | /// ```
 27 | public struct PortalViewRepresentable: UIViewRepresentable {
 28 |     let sourceView: UIView
    |                     `- error: 'UIView' is unavailable in watchOS
 29 |     var hidesSourceView: Bool = false
 30 |     var matchesAlpha: Bool = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:35:21: error: 'UIView' is unavailable in watchOS
 33 |
 34 |     public init(
 35 |         sourceView: UIView,
    |                     `- error: 'UIView' is unavailable in watchOS
 36 |         hidesSourceView: Bool = false,
 37 |         matchesAlpha: Bool = true,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:48:37: error: cannot find type 'Context' in scope
 46 |     }
 47 |
 48 |     public func makeUIView(context: Context) -> UIPortalView {
    |                                     `- error: cannot find type 'Context' in scope
 49 |         let portal = UIPortalView()
 50 |         portal.sourceView = sourceView
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:58:63: error: cannot find type 'Context' in scope
 56 |     }
 57 |
 58 |     public func updateUIView(_ uiView: UIPortalView, context: Context) {
    |                                                               `- error: cannot find type 'Context' in scope
 59 |         uiView.sourceView = sourceView
 60 |         uiView.hidesSourceView = hidesSourceView
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:27:40: error: cannot find type 'UIViewRepresentable' in scope
 25 | /// )
 26 | /// ```
 27 | public struct PortalViewRepresentable: UIViewRepresentable {
    |                                        `- error: cannot find type 'UIViewRepresentable' in scope
 28 |     let sourceView: UIView
 29 |     var hidesSourceView: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:85:28: error: cannot find type 'UIHostingController' in scope
 83 | @MainActor
 84 | public class SourceViewContainer<Content: View> {
 85 |     let hostingController: UIHostingController<Content>
    |                            `- error: cannot find type 'UIHostingController' in scope
 86 |
 87 |     /// The underlying `UIView` that can be used as a portal source.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:88:22: error: 'UIView' is unavailable in watchOS
 86 |
 87 |     /// The underlying `UIView` that can be used as a portal source.
 88 |     public var view: UIView {
    |                      `- error: 'UIView' is unavailable in watchOS
 89 |         hostingController.view
 90 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:117:21: error: 'UIView' is unavailable in watchOS
115 | /// A `UIView` subclass that wraps another view with proper intrinsic sizing.
116 | public class SourceViewWrapper: UIView {
117 |     let sourceView: UIView
    |                     `- error: 'UIView' is unavailable in watchOS
118 |
119 |     public init(sourceView: UIView) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:119:29: error: 'UIView' is unavailable in watchOS
117 |     let sourceView: UIView
118 |
119 |     public init(sourceView: UIView) {
    |                             `- error: 'UIView' is unavailable in watchOS
120 |         self.sourceView = sourceView
121 |         super.init(frame: .zero)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:116:33: error: 'UIView' is unavailable in watchOS
114 |
115 | /// A `UIView` subclass that wraps another view with proper intrinsic sizing.
116 | public class SourceViewWrapper: UIView {
    |                                 `- error: 'UIView' is unavailable in watchOS
117 |     let sourceView: UIView
118 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:162:37: error: cannot find type 'Context' in scope
160 |     }
161 |
162 |     public func makeUIView(context: Context) -> SourceViewWrapper {
    |                                     `- error: cannot find type 'Context' in scope
163 |         SourceViewWrapper(sourceView: container.view)
164 |     }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:166:68: error: cannot find type 'Context' in scope
164 |     }
165 |
166 |     public func updateUIView(_ uiView: SourceViewWrapper, context: Context) {
    |                                                                    `- error: cannot find type 'Context' in scope
167 |         container.update(content: content)
168 |         uiView.invalidateIntrinsicContentSize()
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:153:55: error: cannot find type 'UIViewRepresentable' in scope
151 |
152 | /// A `UIViewRepresentable` that displays the source view from a `SourceViewContainer`.
153 | public struct SourceViewRepresentable<Content: View>: UIViewRepresentable {
    |                                                       `- error: cannot find type 'UIViewRepresentable' in scope
154 |     let container: SourceViewContainer<Content>
155 |     let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:49:22: error: 'init()' is unavailable in watchOS
 47 |
 48 |     public func makeUIView(context: Context) -> UIPortalView {
 49 |         let portal = UIPortalView()
    |                      `- error: 'init()' is unavailable in watchOS
 50 |         portal.sourceView = sourceView
 51 |         portal.hidesSourceView = hidesSourceView
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
    | `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled;  // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:49:22: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context [#ActorIsolatedCall]
 46 |     }
 47 |
 48 |     public func makeUIView(context: Context) -> UIPortalView {
    |                 `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
 49 |         let portal = UIPortalView()
    |                      `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context [#ActorIsolatedCall]
 50 |         portal.sourceView = sourceView
 51 |         portal.hidesSourceView = hidesSourceView
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
    | `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled;  // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:50:16: warning: main actor-isolated property 'sourceView' can not be mutated from a nonisolated context
 46 |     }
 47 |
 48 |     public func makeUIView(context: Context) -> UIPortalView {
    |                 `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
 49 |         let portal = UIPortalView()
 50 |         portal.sourceView = sourceView
    |                `- warning: main actor-isolated property 'sourceView' can not be mutated from a nonisolated context
 51 |         portal.hidesSourceView = hidesSourceView
 52 |         portal.matchesAlpha = matchesAlpha
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:63:16: note: mutation of this property is only permitted within the actor
 61 |
 62 |     /// The view to mirror. Setting this displays a live copy of the source view.
 63 |     public var sourceView: UIView? {
    |                `- note: mutation of this property is only permitted within the actor
 64 |         didSet {
 65 |             updateSourceView()
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:51:16: warning: main actor-isolated property 'hidesSourceView' can not be mutated from a nonisolated context
 46 |     }
 47 |
 48 |     public func makeUIView(context: Context) -> UIPortalView {
    |                 `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
 49 |         let portal = UIPortalView()
 50 |         portal.sourceView = sourceView
 51 |         portal.hidesSourceView = hidesSourceView
    |                `- warning: main actor-isolated property 'hidesSourceView' can not be mutated from a nonisolated context
 52 |         portal.matchesAlpha = matchesAlpha
 53 |         portal.matchesTransform = matchesTransform
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:81:16: note: mutation of this property is only permitted within the actor
 79 |
 80 |     /// When `true`, the source view is hidden while being portaled.
 81 |     public var hidesSourceView: Bool = false {
    |                `- note: mutation of this property is only permitted within the actor
 82 |         didSet {
 83 |             portalView?.setValue(hidesSourceView, forKey: "hidesSourceView")
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:52:16: warning: main actor-isolated property 'matchesAlpha' can not be mutated from a nonisolated context
 46 |     }
 47 |
 48 |     public func makeUIView(context: Context) -> UIPortalView {
    |                 `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
 49 |         let portal = UIPortalView()
 50 |         portal.sourceView = sourceView
 51 |         portal.hidesSourceView = hidesSourceView
 52 |         portal.matchesAlpha = matchesAlpha
    |                `- warning: main actor-isolated property 'matchesAlpha' can not be mutated from a nonisolated context
 53 |         portal.matchesTransform = matchesTransform
 54 |         portal.matchesPosition = matchesPosition
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:88:16: note: mutation of this property is only permitted within the actor
 86 |
 87 |     /// When `true`, the portal matches the source view's alpha value.
 88 |     public var matchesAlpha: Bool = true {
    |                `- note: mutation of this property is only permitted within the actor
 89 |         didSet {
 90 |             portalView?.setValue(matchesAlpha, forKey: "matchesAlpha")
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:53:16: warning: main actor-isolated property 'matchesTransform' can not be mutated from a nonisolated context
 46 |     }
 47 |
 48 |     public func makeUIView(context: Context) -> UIPortalView {
    |                 `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
 49 |         let portal = UIPortalView()
 50 |         portal.sourceView = sourceView
 51 |         portal.hidesSourceView = hidesSourceView
 52 |         portal.matchesAlpha = matchesAlpha
 53 |         portal.matchesTransform = matchesTransform
    |                `- warning: main actor-isolated property 'matchesTransform' can not be mutated from a nonisolated context
 54 |         portal.matchesPosition = matchesPosition
 55 |         return portal
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:95:16: note: mutation of this property is only permitted within the actor
 93 |
 94 |     /// When `true`, the portal matches the source view's transform.
 95 |     public var matchesTransform: Bool = true {
    |                `- note: mutation of this property is only permitted within the actor
 96 |         didSet {
 97 |             portalView?.setValue(matchesTransform, forKey: "matchesTransform")
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:54:16: warning: main actor-isolated property 'matchesPosition' can not be mutated from a nonisolated context
 46 |     }
 47 |
 48 |     public func makeUIView(context: Context) -> UIPortalView {
    |                 `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
 49 |         let portal = UIPortalView()
 50 |         portal.sourceView = sourceView
    :
 52 |         portal.matchesAlpha = matchesAlpha
 53 |         portal.matchesTransform = matchesTransform
 54 |         portal.matchesPosition = matchesPosition
    |                `- warning: main actor-isolated property 'matchesPosition' can not be mutated from a nonisolated context
 55 |         return portal
 56 |     }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:102:16: note: mutation of this property is only permitted within the actor
100 |
101 |     /// When `true`, the portal matches the source view's position.
102 |     public var matchesPosition: Bool = true {
    |                `- note: mutation of this property is only permitted within the actor
103 |         didSet {
104 |             portalView?.setValue(matchesPosition, forKey: "matchesPosition")
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift (in target 'UIPortalBridge' from project 'UIPortalBridge')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PortalView.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:59:16: warning: main actor-isolated property 'sourceView' can not be mutated from a nonisolated context
 56 |     }
 57 |
 58 |     public func updateUIView(_ uiView: UIPortalView, context: Context) {
    |                 `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
 59 |         uiView.sourceView = sourceView
    |                `- warning: main actor-isolated property 'sourceView' can not be mutated from a nonisolated context
 60 |         uiView.hidesSourceView = hidesSourceView
 61 |         uiView.matchesAlpha = matchesAlpha
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:63:16: note: mutation of this property is only permitted within the actor
 61 |
 62 |     /// The view to mirror. Setting this displays a live copy of the source view.
 63 |     public var sourceView: UIView? {
    |                `- note: mutation of this property is only permitted within the actor
 64 |         didSet {
 65 |             updateSourceView()
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:60:16: warning: main actor-isolated property 'hidesSourceView' can not be mutated from a nonisolated context
 56 |     }
 57 |
 58 |     public func updateUIView(_ uiView: UIPortalView, context: Context) {
    |                 `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
 59 |         uiView.sourceView = sourceView
 60 |         uiView.hidesSourceView = hidesSourceView
    |                `- warning: main actor-isolated property 'hidesSourceView' can not be mutated from a nonisolated context
 61 |         uiView.matchesAlpha = matchesAlpha
 62 |         uiView.matchesTransform = matchesTransform
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:81:16: note: mutation of this property is only permitted within the actor
 79 |
 80 |     /// When `true`, the source view is hidden while being portaled.
 81 |     public var hidesSourceView: Bool = false {
    |                `- note: mutation of this property is only permitted within the actor
 82 |         didSet {
 83 |             portalView?.setValue(hidesSourceView, forKey: "hidesSourceView")
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:61:16: warning: main actor-isolated property 'matchesAlpha' can not be mutated from a nonisolated context
 56 |     }
 57 |
 58 |     public func updateUIView(_ uiView: UIPortalView, context: Context) {
    |                 `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
 59 |         uiView.sourceView = sourceView
 60 |         uiView.hidesSourceView = hidesSourceView
 61 |         uiView.matchesAlpha = matchesAlpha
    |                `- warning: main actor-isolated property 'matchesAlpha' can not be mutated from a nonisolated context
 62 |         uiView.matchesTransform = matchesTransform
 63 |         uiView.matchesPosition = matchesPosition
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:88:16: note: mutation of this property is only permitted within the actor
 86 |
 87 |     /// When `true`, the portal matches the source view's alpha value.
 88 |     public var matchesAlpha: Bool = true {
    |                `- note: mutation of this property is only permitted within the actor
 89 |         didSet {
 90 |             portalView?.setValue(matchesAlpha, forKey: "matchesAlpha")
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:62:16: warning: main actor-isolated property 'matchesTransform' can not be mutated from a nonisolated context
 56 |     }
 57 |
 58 |     public func updateUIView(_ uiView: UIPortalView, context: Context) {
    |                 `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
 59 |         uiView.sourceView = sourceView
 60 |         uiView.hidesSourceView = hidesSourceView
 61 |         uiView.matchesAlpha = matchesAlpha
 62 |         uiView.matchesTransform = matchesTransform
    |                `- warning: main actor-isolated property 'matchesTransform' can not be mutated from a nonisolated context
 63 |         uiView.matchesPosition = matchesPosition
 64 |     }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:95:16: note: mutation of this property is only permitted within the actor
 93 |
 94 |     /// When `true`, the portal matches the source view's transform.
 95 |     public var matchesTransform: Bool = true {
    |                `- note: mutation of this property is only permitted within the actor
 96 |         didSet {
 97 |             portalView?.setValue(matchesTransform, forKey: "matchesTransform")
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:63:16: warning: main actor-isolated property 'matchesPosition' can not be mutated from a nonisolated context
 56 |     }
 57 |
 58 |     public func updateUIView(_ uiView: UIPortalView, context: Context) {
    |                 `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
 59 |         uiView.sourceView = sourceView
 60 |         uiView.hidesSourceView = hidesSourceView
 61 |         uiView.matchesAlpha = matchesAlpha
 62 |         uiView.matchesTransform = matchesTransform
 63 |         uiView.matchesPosition = matchesPosition
    |                `- warning: main actor-isolated property 'matchesPosition' can not be mutated from a nonisolated context
 64 |     }
 65 | }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:102:16: note: mutation of this property is only permitted within the actor
100 |
101 |     /// When `true`, the portal matches the source view's position.
102 |     public var matchesPosition: Bool = true {
    |                `- note: mutation of this property is only permitted within the actor
103 |         didSet {
104 |             portalView?.setValue(matchesPosition, forKey: "matchesPosition")
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:93:34: error: cannot find 'UIHostingController' in scope
 91 |
 92 |     public init(@ViewBuilder content: () -> Content) {
 93 |         self.hostingController = UIHostingController(rootView: content())
    |                                  `- error: cannot find 'UIHostingController' in scope
 94 |         self.hostingController.view.backgroundColor = .clear
 95 |         self.hostingController.sizingOptions = .preferredContentSize
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:94:56: error: cannot infer contextual base in reference to member 'clear'
 92 |     public init(@ViewBuilder content: () -> Content) {
 93 |         self.hostingController = UIHostingController(rootView: content())
 94 |         self.hostingController.view.backgroundColor = .clear
    |                                                        `- error: cannot infer contextual base in reference to member 'clear'
 95 |         self.hostingController.sizingOptions = .preferredContentSize
 96 |         hostingController.view.setNeedsLayout()
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:95:49: error: cannot infer contextual base in reference to member 'preferredContentSize'
 93 |         self.hostingController = UIHostingController(rootView: content())
 94 |         self.hostingController.view.backgroundColor = .clear
 95 |         self.hostingController.sizingOptions = .preferredContentSize
    |                                                 `- error: cannot infer contextual base in reference to member 'preferredContentSize'
 96 |         hostingController.view.setNeedsLayout()
 97 |     }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:100:34: error: cannot find 'UIHostingController' in scope
 98 |
 99 |     public init(content: Content) {
100 |         self.hostingController = UIHostingController(rootView: content)
    |                                  `- error: cannot find 'UIHostingController' in scope
101 |         self.hostingController.view.backgroundColor = .clear
102 |         self.hostingController.sizingOptions = .preferredContentSize
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:101:56: error: cannot infer contextual base in reference to member 'clear'
 99 |     public init(content: Content) {
100 |         self.hostingController = UIHostingController(rootView: content)
101 |         self.hostingController.view.backgroundColor = .clear
    |                                                        `- error: cannot infer contextual base in reference to member 'clear'
102 |         self.hostingController.sizingOptions = .preferredContentSize
103 |         hostingController.view.setNeedsLayout()
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:102:49: error: cannot infer contextual base in reference to member 'preferredContentSize'
100 |         self.hostingController = UIHostingController(rootView: content)
101 |         self.hostingController.view.backgroundColor = .clear
102 |         self.hostingController.sizingOptions = .preferredContentSize
    |                                                 `- error: cannot infer contextual base in reference to member 'preferredContentSize'
103 |         hostingController.view.setNeedsLayout()
104 |     }
SwiftCompile normal arm64 Compiling\ UIPortalView.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift (in target 'UIPortalBridge' from project 'UIPortalBridge')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift (in target 'UIPortalBridge' from project 'UIPortalBridge')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile UIPortalView.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:55:29: error: 'UIView' is unavailable in watchOS
 53 | ///   for development. Not recommended for App Store submissions.
 54 | public class UIPortalView: UIView {
 55 |     private var portalView: UIView?
    |                             `- error: 'UIView' is unavailable in watchOS
 56 |
 57 |     /// Whether the underlying portal view is available on this system.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:63:28: error: 'UIView' is unavailable in watchOS
 61 |
 62 |     /// The view to mirror. Setting this displays a live copy of the source view.
 63 |     public var sourceView: UIView? {
    |                            `- error: 'UIView' is unavailable in watchOS
 64 |         didSet {
 65 |             updateSourceView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:54:28: error: 'UIView' is unavailable in watchOS
 52 | /// - Warning: This uses private APIs. Use only in internal/enterprise apps or
 53 | ///   for development. Not recommended for App Store submissions.
 54 | public class UIPortalView: UIView {
    |                            `- error: 'UIView' is unavailable in watchOS
 55 |     private var portalView: UIView?
 56 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:77:30: error: 'UIView' is unavailable in watchOS
 75 |             return sourceView.intrinsicContentSize
 76 |         }
 77 |         return CGSize(width: UIView.noIntrinsicMetric, height: UIView.noIntrinsicMetric)
    |                              `- error: 'UIView' is unavailable in watchOS
 78 |     }
 79 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:77:37: error: 'noIntrinsicMetric' is unavailable in watchOS
 75 |             return sourceView.intrinsicContentSize
 76 |         }
 77 |         return CGSize(width: UIView.noIntrinsicMetric, height: UIView.noIntrinsicMetric)
    |                                     `- error: 'noIntrinsicMetric' is unavailable in watchOS
 78 |     }
 79 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:547:28: note: 'noIntrinsicMetric' has been explicitly marked unavailable here
545 |  Note that not all views have an intrinsicContentSize.  UIView's default implementation is to return (UIViewNoIntrinsicMetric, UIViewNoIntrinsicMetric).  The _intrinsic_ content size is concerned only with data that is in the view itself, not in other views. Remember that you can also set constant width or height constraints on any view, and you don't need to override intrinsicContentSize if these dimensions won't be changing with changing view content.
546 |  */
547 | UIKIT_EXTERN const CGFloat UIViewNoIntrinsicMetric API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos); // -1
    |                            `- note: 'noIntrinsicMetric' has been explicitly marked unavailable here
548 | @property(nonatomic, readonly) CGSize intrinsicContentSize API_AVAILABLE(ios(6.0));
549 | - (void)invalidateIntrinsicContentSize API_AVAILABLE(ios(6.0)); // call this when something changes that affects the intrinsicContentSize.  Otherwise UIKit won't notice that it changed.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:77:64: error: 'UIView' is unavailable in watchOS
 75 |             return sourceView.intrinsicContentSize
 76 |         }
 77 |         return CGSize(width: UIView.noIntrinsicMetric, height: UIView.noIntrinsicMetric)
    |                                                                `- error: 'UIView' is unavailable in watchOS
 78 |     }
 79 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-23 17:12:53.514 xcodebuild[1331:7760] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	SwiftCompile normal arm64_32 (in target 'UIPortalBridge' from project 'UIPortalBridge')
	SwiftEmitModule normal arm64_32 Emitting\ module\ for\ UIPortalBridge (in target 'UIPortalBridge' from project 'UIPortalBridge')
	SwiftEmitModule normal arm64 Emitting\ module\ for\ UIPortalBridge (in target 'UIPortalBridge' from project 'UIPortalBridge')
	SwiftCompile normal arm64 (in target 'UIPortalBridge' from project 'UIPortalBridge')
	Building workspace UIPortalBridge with scheme UIPortalBridge
(5 failures)
BUILD FAILURE 6.4 watchOS