Build Information
Failed to build UIPortalBridge, reference main (275794), with Swift 6.4 for watchOS using Xcode 27.0 on 23 Sep 2026 21:12:44 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=watchOSBuild Log
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:52:16: warning: main actor-isolated property 'matchesPosition' can not be mutated from a nonisolated context
44 | }
45 |
46 | public func makeUIView(context: Context) -> UIPortalView {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
47 | let portal = UIPortalView()
48 | portal.sourceView = sourceView
:
50 | portal.matchesAlpha = matchesAlpha
51 | portal.matchesTransform = matchesTransform
52 | portal.matchesPosition = matchesPosition
| `- warning: main actor-isolated property 'matchesPosition' can not be mutated from a nonisolated context
53 | return portal
54 | }
/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:57:16: warning: main actor-isolated property 'sourceView' can not be mutated from a nonisolated context
54 | }
55 |
56 | public func updateUIView(_ uiView: UIPortalView, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
57 | uiView.sourceView = sourceView
| `- warning: main actor-isolated property 'sourceView' can not be mutated from a nonisolated context
58 | uiView.hidesSourceView = hidesSourceView
59 | 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()
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:58:16: warning: main actor-isolated property 'hidesSourceView' can not be mutated from a nonisolated context
54 | }
55 |
56 | public func updateUIView(_ uiView: UIPortalView, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
57 | uiView.sourceView = sourceView
58 | uiView.hidesSourceView = hidesSourceView
| `- warning: main actor-isolated property 'hidesSourceView' can not be mutated from a nonisolated context
59 | uiView.matchesAlpha = matchesAlpha
60 | 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:59:16: warning: main actor-isolated property 'matchesAlpha' can not be mutated from a nonisolated context
54 | }
55 |
56 | public func updateUIView(_ uiView: UIPortalView, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
57 | uiView.sourceView = sourceView
58 | uiView.hidesSourceView = hidesSourceView
59 | uiView.matchesAlpha = matchesAlpha
| `- warning: main actor-isolated property 'matchesAlpha' can not be mutated from a nonisolated context
60 | uiView.matchesTransform = matchesTransform
61 | 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:60:16: warning: main actor-isolated property 'matchesTransform' can not be mutated from a nonisolated context
54 | }
55 |
56 | public func updateUIView(_ uiView: UIPortalView, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
57 | uiView.sourceView = sourceView
58 | uiView.hidesSourceView = hidesSourceView
59 | uiView.matchesAlpha = matchesAlpha
60 | uiView.matchesTransform = matchesTransform
| `- warning: main actor-isolated property 'matchesTransform' can not be mutated from a nonisolated context
61 | uiView.matchesPosition = matchesPosition
62 | }
/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:61:16: warning: main actor-isolated property 'matchesPosition' can not be mutated from a nonisolated context
54 | }
55 |
56 | public func updateUIView(_ uiView: UIPortalView, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
57 | uiView.sourceView = sourceView
58 | uiView.hidesSourceView = hidesSourceView
59 | uiView.matchesAlpha = matchesAlpha
60 | uiView.matchesTransform = matchesTransform
61 | uiView.matchesPosition = matchesPosition
| `- warning: main actor-isolated property 'matchesPosition' can not be mutated from a nonisolated context
62 | }
63 | }
/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:135:9: warning: conformance of 'Content' to protocol 'View' may be isolated and cannot be passed to main actor-isolated context [#IsolatedConformances]
133 |
134 | public func makeUIView(context: Context) -> PortalSourceUIView<Content> {
135 | PortalSourceUIView(rootView: content, source: source)
| `- warning: conformance of 'Content' to protocol 'View' may be isolated and cannot be passed to main actor-isolated context [#IsolatedConformances]
136 | }
137 |
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:135:9: warning: call to main actor-isolated initializer 'init(rootView:source:)' in a synchronous nonisolated context [#ActorIsolatedCall]
132 | }
133 |
134 | public func makeUIView(context: Context) -> PortalSourceUIView<Content> {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
135 | PortalSourceUIView(rootView: content, source: source)
| `- warning: call to main actor-isolated initializer 'init(rootView:source:)' in a synchronous nonisolated context [#ActorIsolatedCall]
136 | }
137 |
:
146 | private weak var source: PortalSource?
147 |
148 | init(rootView: Content, source: PortalSource) {
| |- note: calls to initializer 'init(rootView:source:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'UIView'
149 | self.hostingController = UIHostingController(rootView: rootView)
150 | self.source = source
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:139:16: warning: conformance of 'Content' to protocol 'View' may be isolated and cannot be passed to main actor-isolated context [#IsolatedConformances]
137 |
138 | public func updateUIView(_ uiView: PortalSourceUIView<Content>, context: Context) {
139 | uiView.updateContent(content)
| `- warning: conformance of 'Content' to protocol 'View' may be isolated and cannot be passed to main actor-isolated context [#IsolatedConformances]
140 | }
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:139:16: warning: call to main actor-isolated instance method 'updateContent' in a synchronous nonisolated context [#ActorIsolatedCall]
136 | }
137 |
138 | public func updateUIView(_ uiView: PortalSourceUIView<Content>, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
139 | uiView.updateContent(content)
| `- warning: call to main actor-isolated instance method 'updateContent' in a synchronous nonisolated context [#ActorIsolatedCall]
140 | }
141 | }
:
174 | }
175 |
176 | func updateContent(_ content: Content) {
| |- note: calls to instance method 'updateContent' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'UIView'
177 | hostingController.rootView = content
178 | }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:149:34: error: cannot find 'UIHostingController' in scope
147 |
148 | init(rootView: Content, source: PortalSource) {
149 | self.hostingController = UIHostingController(rootView: rootView)
| `- error: cannot find 'UIHostingController' in scope
150 | self.source = source
151 | super.init(frame: .zero)
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:153:51: error: cannot infer contextual base in reference to member 'clear'
151 | super.init(frame: .zero)
152 |
153 | hostingController.view.backgroundColor = .clear
| `- error: cannot infer contextual base in reference to member 'clear'
154 | hostingController.view.translatesAutoresizingMaskIntoConstraints = false
155 | addSubview(hostingController.view)
SwiftCompile normal arm64 Compiling\ UIPortalView.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift (in target 'UIPortalBridge' from project 'UIPortalBridge')
/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.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:77:71: 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:119:26: warning: 'Obfuscate' is deprecated: Obfuscate has been superseded by SwiftMacros. See https://github.com/Aeastr/SwiftMacros [#DeprecatedDeclaration]
117 |
118 | private func setupPortalView() {
119 | let className = #Obfuscate("_UIPortalView")
| `- warning: 'Obfuscate' is deprecated: Obfuscate has been superseded by SwiftMacros. See https://github.com/Aeastr/SwiftMacros [#DeprecatedDeclaration]
120 |
121 | guard let portalClass = NSClassFromString(className) as? UIView.Type else {
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:121:66: error: 'UIView' is unavailable in watchOS
119 | let className = #Obfuscate("_UIPortalView")
120 |
121 | guard let portalClass = NSClassFromString(className) as? UIView.Type else {
| `- error: 'UIView' is unavailable in watchOS
122 | isAvailable = false
123 |
/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.
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUI-6DR5UJH94SD7QMITGWNAX9FBI.pcm
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ UIPortalBridge (in target 'UIPortalBridge' from project 'UIPortalBridge')
SwiftCompile normal arm64_32 (in target 'UIPortalBridge' from project 'UIPortalBridge')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:26:21: error: 'UIView' is unavailable in watchOS
24 | /// ```
25 | public struct PortalViewRepresentable: UIViewRepresentable {
26 | let sourceView: UIView?
| `- error: 'UIView' is unavailable in watchOS
27 | var hidesSourceView: Bool
28 | var matchesAlpha: Bool
/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:33:21: error: 'UIView' is unavailable in watchOS
31 |
32 | public init(
33 | sourceView: UIView?,
| `- error: 'UIView' is unavailable in watchOS
34 | hidesSourceView: Bool = false,
35 | 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:46:37: error: cannot find type 'Context' in scope
44 | }
45 |
46 | public func makeUIView(context: Context) -> UIPortalView {
| `- error: cannot find type 'Context' in scope
47 | let portal = UIPortalView()
48 | portal.sourceView = sourceView
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:56:63: error: cannot find type 'Context' in scope
54 | }
55 |
56 | public func updateUIView(_ uiView: UIPortalView, context: Context) {
| `- error: cannot find type 'Context' in scope
57 | uiView.sourceView = sourceView
58 | uiView.hidesSourceView = hidesSourceView
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:25:40: error: cannot find type 'UIViewRepresentable' in scope
23 | /// )
24 | /// ```
25 | public struct PortalViewRepresentable: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
26 | let sourceView: UIView?
27 | var hidesSourceView: Bool
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:95:44: error: 'UIView' is unavailable in watchOS
93 | public class PortalSource: ObservableObject {
94 | /// The captured UIView. Set automatically when the source view enters a window.
95 | public internal(set) var capturedView: UIView? {
| `- error: 'UIView' is unavailable in watchOS
96 | didSet {
97 | DispatchQueue.main.async { [weak self] in
/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:134:37: error: cannot find type 'Context' in scope
132 | }
133 |
134 | public func makeUIView(context: Context) -> PortalSourceUIView<Content> {
| `- error: cannot find type 'Context' in scope
135 | PortalSourceUIView(rootView: content, source: source)
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:138:78: error: cannot find type 'Context' in scope
136 | }
137 |
138 | public func updateUIView(_ uiView: PortalSourceUIView<Content>, context: Context) {
| `- error: cannot find type 'Context' in scope
139 | uiView.updateContent(content)
140 | }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:125:48: error: cannot find type 'UIViewRepresentable' in scope
123 | ///
124 | /// - Note: Must appear before `PortalMirrorView` in the view hierarchy.
125 | public struct PortalSourceView<Content: View>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
126 | let source: PortalSource
127 | let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:145:36: error: cannot find type 'UIHostingController' in scope
143 | /// The UIView that hosts SwiftUI content and registers itself as the portal source.
144 | public class PortalSourceUIView<Content: View>: UIView {
145 | private var hostingController: UIHostingController<Content>
| `- error: cannot find type 'UIHostingController' in scope
146 | private weak var source: PortalSource?
147 |
SwiftCompile normal arm64_32 Compiling\ UIPortalView.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift (in target 'UIPortalBridge' from project 'UIPortalBridge')
/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.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:77:71: 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:119:26: warning: 'Obfuscate' is deprecated: Obfuscate has been superseded by SwiftMacros. See https://github.com/Aeastr/SwiftMacros [#DeprecatedDeclaration]
117 |
118 | private func setupPortalView() {
119 | let className = #Obfuscate("_UIPortalView")
| `- warning: 'Obfuscate' is deprecated: Obfuscate has been superseded by SwiftMacros. See https://github.com/Aeastr/SwiftMacros [#DeprecatedDeclaration]
120 |
121 | guard let portalClass = NSClassFromString(className) as? UIView.Type else {
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:121:66: error: 'UIView' is unavailable in watchOS
119 | let className = #Obfuscate("_UIPortalView")
120 |
121 | guard let portalClass = NSClassFromString(className) as? UIView.Type else {
| `- error: 'UIView' is unavailable in watchOS
122 | isAvailable = false
123 |
/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.
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
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:26:21: error: 'UIView' is unavailable in watchOS
24 | /// ```
25 | public struct PortalViewRepresentable: UIViewRepresentable {
26 | let sourceView: UIView?
| `- error: 'UIView' is unavailable in watchOS
27 | var hidesSourceView: Bool
28 | var matchesAlpha: Bool
/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:33:21: error: 'UIView' is unavailable in watchOS
31 |
32 | public init(
33 | sourceView: UIView?,
| `- error: 'UIView' is unavailable in watchOS
34 | hidesSourceView: Bool = false,
35 | 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:46:37: error: cannot find type 'Context' in scope
44 | }
45 |
46 | public func makeUIView(context: Context) -> UIPortalView {
| `- error: cannot find type 'Context' in scope
47 | let portal = UIPortalView()
48 | portal.sourceView = sourceView
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:56:63: error: cannot find type 'Context' in scope
54 | }
55 |
56 | public func updateUIView(_ uiView: UIPortalView, context: Context) {
| `- error: cannot find type 'Context' in scope
57 | uiView.sourceView = sourceView
58 | uiView.hidesSourceView = hidesSourceView
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:25:40: error: cannot find type 'UIViewRepresentable' in scope
23 | /// )
24 | /// ```
25 | public struct PortalViewRepresentable: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
26 | let sourceView: UIView?
27 | var hidesSourceView: Bool
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:95:44: error: 'UIView' is unavailable in watchOS
93 | public class PortalSource: ObservableObject {
94 | /// The captured UIView. Set automatically when the source view enters a window.
95 | public internal(set) var capturedView: UIView? {
| `- error: 'UIView' is unavailable in watchOS
96 | didSet {
97 | DispatchQueue.main.async { [weak self] in
/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:134:37: error: cannot find type 'Context' in scope
132 | }
133 |
134 | public func makeUIView(context: Context) -> PortalSourceUIView<Content> {
| `- error: cannot find type 'Context' in scope
135 | PortalSourceUIView(rootView: content, source: source)
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:138:78: error: cannot find type 'Context' in scope
136 | }
137 |
138 | public func updateUIView(_ uiView: PortalSourceUIView<Content>, context: Context) {
| `- error: cannot find type 'Context' in scope
139 | uiView.updateContent(content)
140 | }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:125:48: error: cannot find type 'UIViewRepresentable' in scope
123 | ///
124 | /// - Note: Must appear before `PortalMirrorView` in the view hierarchy.
125 | public struct PortalSourceView<Content: View>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
126 | let source: PortalSource
127 | let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:145:36: error: cannot find type 'UIHostingController' in scope
143 | /// The UIView that hosts SwiftUI content and registers itself as the portal source.
144 | public class PortalSourceUIView<Content: View>: UIView {
145 | private var hostingController: UIHostingController<Content>
| `- error: cannot find type 'UIHostingController' in scope
146 | private weak var source: PortalSource?
147 |
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
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:06.792 xcodebuild[724:4478] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 (in target 'UIPortalBridge' from project 'UIPortalBridge')
SwiftEmitModule normal arm64 Emitting\ module\ for\ UIPortalBridge (in target 'UIPortalBridge' from project 'UIPortalBridge')
Building workspace UIPortalBridge with scheme UIPortalBridge
(3 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:40.302 xcodebuild[1326:7659] [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:41.737 xcodebuild[1335:7730] [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:
swift-syntax: https://github.com/swiftlang/swift-syntax @ 600.0.1
UIPortalBridge: /Users/admin/builder/spi-builder-workspace
Obfuscate: https://github.com/Aeastr/Obfuscate.git @ 1.4.0
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 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
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
SwiftEmitModule normal arm64 Emitting\ module\ for\ UIPortalBridge (in target 'UIPortalBridge' from project 'UIPortalBridge')
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:26:21: error: 'UIView' is unavailable in watchOS
24 | /// ```
25 | public struct PortalViewRepresentable: UIViewRepresentable {
26 | let sourceView: UIView?
| `- error: 'UIView' is unavailable in watchOS
27 | var hidesSourceView: Bool
28 | var matchesAlpha: Bool
/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:33:21: error: 'UIView' is unavailable in watchOS
31 |
32 | public init(
33 | sourceView: UIView?,
| `- error: 'UIView' is unavailable in watchOS
34 | hidesSourceView: Bool = false,
35 | 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:46:37: error: cannot find type 'Context' in scope
44 | }
45 |
46 | public func makeUIView(context: Context) -> UIPortalView {
| `- error: cannot find type 'Context' in scope
47 | let portal = UIPortalView()
48 | portal.sourceView = sourceView
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:56:63: error: cannot find type 'Context' in scope
54 | }
55 |
56 | public func updateUIView(_ uiView: UIPortalView, context: Context) {
| `- error: cannot find type 'Context' in scope
57 | uiView.sourceView = sourceView
58 | uiView.hidesSourceView = hidesSourceView
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:25:40: error: cannot find type 'UIViewRepresentable' in scope
23 | /// )
24 | /// ```
25 | public struct PortalViewRepresentable: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
26 | let sourceView: UIView?
27 | var hidesSourceView: Bool
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:95:44: error: 'UIView' is unavailable in watchOS
93 | public class PortalSource: ObservableObject {
94 | /// The captured UIView. Set automatically when the source view enters a window.
95 | public internal(set) var capturedView: UIView? {
| `- error: 'UIView' is unavailable in watchOS
96 | didSet {
97 | DispatchQueue.main.async { [weak self] in
/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:134:37: error: cannot find type 'Context' in scope
132 | }
133 |
134 | public func makeUIView(context: Context) -> PortalSourceUIView<Content> {
| `- error: cannot find type 'Context' in scope
135 | PortalSourceUIView(rootView: content, source: source)
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:138:78: error: cannot find type 'Context' in scope
136 | }
137 |
138 | public func updateUIView(_ uiView: PortalSourceUIView<Content>, context: Context) {
| `- error: cannot find type 'Context' in scope
139 | uiView.updateContent(content)
140 | }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:125:48: error: cannot find type 'UIViewRepresentable' in scope
123 | ///
124 | /// - Note: Must appear before `PortalMirrorView` in the view hierarchy.
125 | public struct PortalSourceView<Content: View>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
126 | let source: PortalSource
127 | let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:145:36: error: cannot find type 'UIHostingController' in scope
143 | /// The UIView that hosts SwiftUI content and registers itself as the portal source.
144 | public class PortalSourceUIView<Content: View>: UIView {
145 | private var hostingController: UIHostingController<Content>
| `- error: cannot find type 'UIHostingController' in scope
146 | private weak var source: PortalSource?
147 |
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:144:49: error: 'UIView' is unavailable in watchOS
142 |
143 | /// The UIView that hosts SwiftUI content and registers itself as the portal source.
144 | public class PortalSourceUIView<Content: View>: UIView {
| `- error: 'UIView' is unavailable in watchOS
145 | private var hostingController: UIHostingController<Content>
146 | private weak var source: PortalSource?
/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: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.
SwiftCompile normal arm64 (in target 'UIPortalBridge' from project 'UIPortalBridge')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/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
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ UIPortalBridge (in target 'UIPortalBridge' from project 'UIPortalBridge')
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:26:21: error: 'UIView' is unavailable in watchOS
24 | /// ```
25 | public struct PortalViewRepresentable: UIViewRepresentable {
26 | let sourceView: UIView?
| `- error: 'UIView' is unavailable in watchOS
27 | var hidesSourceView: Bool
28 | var matchesAlpha: Bool
/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:33:21: error: 'UIView' is unavailable in watchOS
31 |
32 | public init(
33 | sourceView: UIView?,
| `- error: 'UIView' is unavailable in watchOS
34 | hidesSourceView: Bool = false,
35 | 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:46:37: error: cannot find type 'Context' in scope
44 | }
45 |
46 | public func makeUIView(context: Context) -> UIPortalView {
| `- error: cannot find type 'Context' in scope
47 | let portal = UIPortalView()
48 | portal.sourceView = sourceView
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:56:63: error: cannot find type 'Context' in scope
54 | }
55 |
56 | public func updateUIView(_ uiView: UIPortalView, context: Context) {
| `- error: cannot find type 'Context' in scope
57 | uiView.sourceView = sourceView
58 | uiView.hidesSourceView = hidesSourceView
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:25:40: error: cannot find type 'UIViewRepresentable' in scope
23 | /// )
24 | /// ```
25 | public struct PortalViewRepresentable: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
26 | let sourceView: UIView?
27 | var hidesSourceView: Bool
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:95:44: error: 'UIView' is unavailable in watchOS
93 | public class PortalSource: ObservableObject {
94 | /// The captured UIView. Set automatically when the source view enters a window.
95 | public internal(set) var capturedView: UIView? {
| `- error: 'UIView' is unavailable in watchOS
96 | didSet {
97 | DispatchQueue.main.async { [weak self] in
/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:134:37: error: cannot find type 'Context' in scope
132 | }
133 |
134 | public func makeUIView(context: Context) -> PortalSourceUIView<Content> {
| `- error: cannot find type 'Context' in scope
135 | PortalSourceUIView(rootView: content, source: source)
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:138:78: error: cannot find type 'Context' in scope
136 | }
137 |
138 | public func updateUIView(_ uiView: PortalSourceUIView<Content>, context: Context) {
| `- error: cannot find type 'Context' in scope
139 | uiView.updateContent(content)
140 | }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:125:48: error: cannot find type 'UIViewRepresentable' in scope
123 | ///
124 | /// - Note: Must appear before `PortalMirrorView` in the view hierarchy.
125 | public struct PortalSourceView<Content: View>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
126 | let source: PortalSource
127 | let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:145:36: error: cannot find type 'UIHostingController' in scope
143 | /// The UIView that hosts SwiftUI content and registers itself as the portal source.
144 | public class PortalSourceUIView<Content: View>: UIView {
145 | private var hostingController: UIHostingController<Content>
| `- error: cannot find type 'UIHostingController' in scope
146 | private weak var source: PortalSource?
147 |
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:144:49: error: 'UIView' is unavailable in watchOS
142 |
143 | /// The UIView that hosts SwiftUI content and registers itself as the portal source.
144 | public class PortalSourceUIView<Content: View>: UIView {
| `- error: 'UIView' is unavailable in watchOS
145 | private var hostingController: UIHostingController<Content>
146 | private weak var source: PortalSource?
/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: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.
SwiftCompile normal arm64_32 (in target 'UIPortalBridge' from project 'UIPortalBridge')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/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_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 Compiling\ UIPortalView.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift (in target 'UIPortalBridge' from project 'UIPortalBridge')
/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.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:77:71: 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.
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:119:26: warning: 'Obfuscate' is deprecated: Obfuscate has been superseded by SwiftMacros. See https://github.com/Aeastr/SwiftMacros [#DeprecatedDeclaration]
117 |
118 | private func setupPortalView() {
119 | let className = #Obfuscate("_UIPortalView")
| `- warning: 'Obfuscate' is deprecated: Obfuscate has been superseded by SwiftMacros. See https://github.com/Aeastr/SwiftMacros [#DeprecatedDeclaration]
120 |
121 | guard let portalClass = NSClassFromString(className) as? UIView.Type else {
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:121:66: error: 'UIView' is unavailable in watchOS
119 | let className = #Obfuscate("_UIPortalView")
120 |
121 | guard let portalClass = NSClassFromString(className) as? UIView.Type else {
| `- error: 'UIView' is unavailable in watchOS
122 | isAvailable = false
123 |
/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.
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:26:21: error: 'UIView' is unavailable in watchOS
24 | /// ```
25 | public struct PortalViewRepresentable: UIViewRepresentable {
26 | let sourceView: UIView?
| `- error: 'UIView' is unavailable in watchOS
27 | var hidesSourceView: Bool
28 | var matchesAlpha: Bool
/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:33:21: error: 'UIView' is unavailable in watchOS
31 |
32 | public init(
33 | sourceView: UIView?,
| `- error: 'UIView' is unavailable in watchOS
34 | hidesSourceView: Bool = false,
35 | 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:46:37: error: cannot find type 'Context' in scope
44 | }
45 |
46 | public func makeUIView(context: Context) -> UIPortalView {
| `- error: cannot find type 'Context' in scope
47 | let portal = UIPortalView()
48 | portal.sourceView = sourceView
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:56:63: error: cannot find type 'Context' in scope
54 | }
55 |
56 | public func updateUIView(_ uiView: UIPortalView, context: Context) {
| `- error: cannot find type 'Context' in scope
57 | uiView.sourceView = sourceView
58 | uiView.hidesSourceView = hidesSourceView
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:25:40: error: cannot find type 'UIViewRepresentable' in scope
23 | /// )
24 | /// ```
25 | public struct PortalViewRepresentable: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
26 | let sourceView: UIView?
27 | var hidesSourceView: Bool
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:95:44: error: 'UIView' is unavailable in watchOS
93 | public class PortalSource: ObservableObject {
94 | /// The captured UIView. Set automatically when the source view enters a window.
95 | public internal(set) var capturedView: UIView? {
| `- error: 'UIView' is unavailable in watchOS
96 | didSet {
97 | DispatchQueue.main.async { [weak self] in
/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:134:37: error: cannot find type 'Context' in scope
132 | }
133 |
134 | public func makeUIView(context: Context) -> PortalSourceUIView<Content> {
| `- error: cannot find type 'Context' in scope
135 | PortalSourceUIView(rootView: content, source: source)
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:138:78: error: cannot find type 'Context' in scope
136 | }
137 |
138 | public func updateUIView(_ uiView: PortalSourceUIView<Content>, context: Context) {
| `- error: cannot find type 'Context' in scope
139 | uiView.updateContent(content)
140 | }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:125:48: error: cannot find type 'UIViewRepresentable' in scope
123 | ///
124 | /// - Note: Must appear before `PortalMirrorView` in the view hierarchy.
125 | public struct PortalSourceView<Content: View>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
126 | let source: PortalSource
127 | let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:145:36: error: cannot find type 'UIHostingController' in scope
143 | /// The UIView that hosts SwiftUI content and registers itself as the portal source.
144 | public class PortalSourceUIView<Content: View>: UIView {
145 | private var hostingController: UIHostingController<Content>
| `- error: cannot find type 'UIHostingController' in scope
146 | private weak var source: PortalSource?
147 |
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:144:49: error: 'UIView' is unavailable in watchOS
142 |
143 | /// The UIView that hosts SwiftUI content and registers itself as the portal source.
144 | public class PortalSourceUIView<Content: View>: UIView {
| `- error: 'UIView' is unavailable in watchOS
145 | private var hostingController: UIHostingController<Content>
146 | private weak var source: PortalSource?
/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:47:22: error: 'init()' is unavailable in watchOS
45 |
46 | public func makeUIView(context: Context) -> UIPortalView {
47 | let portal = UIPortalView()
| `- error: 'init()' is unavailable in watchOS
48 | portal.sourceView = sourceView
49 | 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:47:22: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context [#ActorIsolatedCall]
44 | }
45 |
46 | public func makeUIView(context: Context) -> UIPortalView {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
47 | let portal = UIPortalView()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context [#ActorIsolatedCall]
48 | portal.sourceView = sourceView
49 | 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:48:16: warning: main actor-isolated property 'sourceView' can not be mutated from a nonisolated context
44 | }
45 |
46 | public func makeUIView(context: Context) -> UIPortalView {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
47 | let portal = UIPortalView()
48 | portal.sourceView = sourceView
| `- warning: main actor-isolated property 'sourceView' can not be mutated from a nonisolated context
49 | portal.hidesSourceView = hidesSourceView
50 | 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:49:16: warning: main actor-isolated property 'hidesSourceView' can not be mutated from a nonisolated context
44 | }
45 |
46 | public func makeUIView(context: Context) -> UIPortalView {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
47 | let portal = UIPortalView()
48 | portal.sourceView = sourceView
49 | portal.hidesSourceView = hidesSourceView
| `- warning: main actor-isolated property 'hidesSourceView' can not be mutated from a nonisolated context
50 | portal.matchesAlpha = matchesAlpha
51 | 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:50:16: warning: main actor-isolated property 'matchesAlpha' can not be mutated from a nonisolated context
44 | }
45 |
46 | public func makeUIView(context: Context) -> UIPortalView {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
47 | let portal = UIPortalView()
48 | portal.sourceView = sourceView
49 | portal.hidesSourceView = hidesSourceView
50 | portal.matchesAlpha = matchesAlpha
| `- warning: main actor-isolated property 'matchesAlpha' can not be mutated from a nonisolated context
51 | portal.matchesTransform = matchesTransform
52 | 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:51:16: warning: main actor-isolated property 'matchesTransform' can not be mutated from a nonisolated context
44 | }
45 |
46 | public func makeUIView(context: Context) -> UIPortalView {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
47 | let portal = UIPortalView()
48 | portal.sourceView = sourceView
49 | portal.hidesSourceView = hidesSourceView
50 | portal.matchesAlpha = matchesAlpha
51 | portal.matchesTransform = matchesTransform
| `- warning: main actor-isolated property 'matchesTransform' can not be mutated from a nonisolated context
52 | portal.matchesPosition = matchesPosition
53 | 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:52:16: warning: main actor-isolated property 'matchesPosition' can not be mutated from a nonisolated context
44 | }
45 |
46 | public func makeUIView(context: Context) -> UIPortalView {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
47 | let portal = UIPortalView()
48 | portal.sourceView = sourceView
:
50 | portal.matchesAlpha = matchesAlpha
51 | portal.matchesTransform = matchesTransform
52 | portal.matchesPosition = matchesPosition
| `- warning: main actor-isolated property 'matchesPosition' can not be mutated from a nonisolated context
53 | return portal
54 | }
/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:57:16: warning: main actor-isolated property 'sourceView' can not be mutated from a nonisolated context
54 | }
55 |
56 | public func updateUIView(_ uiView: UIPortalView, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
57 | uiView.sourceView = sourceView
| `- warning: main actor-isolated property 'sourceView' can not be mutated from a nonisolated context
58 | uiView.hidesSourceView = hidesSourceView
59 | 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:58:16: warning: main actor-isolated property 'hidesSourceView' can not be mutated from a nonisolated context
54 | }
55 |
56 | public func updateUIView(_ uiView: UIPortalView, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
57 | uiView.sourceView = sourceView
58 | uiView.hidesSourceView = hidesSourceView
| `- warning: main actor-isolated property 'hidesSourceView' can not be mutated from a nonisolated context
59 | uiView.matchesAlpha = matchesAlpha
60 | 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:59:16: warning: main actor-isolated property 'matchesAlpha' can not be mutated from a nonisolated context
54 | }
55 |
56 | public func updateUIView(_ uiView: UIPortalView, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
57 | uiView.sourceView = sourceView
58 | uiView.hidesSourceView = hidesSourceView
59 | uiView.matchesAlpha = matchesAlpha
| `- warning: main actor-isolated property 'matchesAlpha' can not be mutated from a nonisolated context
60 | uiView.matchesTransform = matchesTransform
61 | 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:60:16: warning: main actor-isolated property 'matchesTransform' can not be mutated from a nonisolated context
54 | }
55 |
56 | public func updateUIView(_ uiView: UIPortalView, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
57 | uiView.sourceView = sourceView
58 | uiView.hidesSourceView = hidesSourceView
59 | uiView.matchesAlpha = matchesAlpha
60 | uiView.matchesTransform = matchesTransform
| `- warning: main actor-isolated property 'matchesTransform' can not be mutated from a nonisolated context
61 | uiView.matchesPosition = matchesPosition
62 | }
/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:61:16: warning: main actor-isolated property 'matchesPosition' can not be mutated from a nonisolated context
54 | }
55 |
56 | public func updateUIView(_ uiView: UIPortalView, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
57 | uiView.sourceView = sourceView
58 | uiView.hidesSourceView = hidesSourceView
59 | uiView.matchesAlpha = matchesAlpha
60 | uiView.matchesTransform = matchesTransform
61 | uiView.matchesPosition = matchesPosition
| `- warning: main actor-isolated property 'matchesPosition' can not be mutated from a nonisolated context
62 | }
63 | }
/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:135:9: warning: conformance of 'Content' to protocol 'View' may be isolated and cannot be passed to main actor-isolated context [#IsolatedConformances]
133 |
134 | public func makeUIView(context: Context) -> PortalSourceUIView<Content> {
135 | PortalSourceUIView(rootView: content, source: source)
| `- warning: conformance of 'Content' to protocol 'View' may be isolated and cannot be passed to main actor-isolated context [#IsolatedConformances]
136 | }
137 |
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:135:9: warning: call to main actor-isolated initializer 'init(rootView:source:)' in a synchronous nonisolated context [#ActorIsolatedCall]
132 | }
133 |
134 | public func makeUIView(context: Context) -> PortalSourceUIView<Content> {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
135 | PortalSourceUIView(rootView: content, source: source)
| `- warning: call to main actor-isolated initializer 'init(rootView:source:)' in a synchronous nonisolated context [#ActorIsolatedCall]
136 | }
137 |
:
146 | private weak var source: PortalSource?
147 |
148 | init(rootView: Content, source: PortalSource) {
| |- note: calls to initializer 'init(rootView:source:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'UIView'
149 | self.hostingController = UIHostingController(rootView: rootView)
150 | self.source = source
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:139:16: warning: conformance of 'Content' to protocol 'View' may be isolated and cannot be passed to main actor-isolated context [#IsolatedConformances]
137 |
138 | public func updateUIView(_ uiView: PortalSourceUIView<Content>, context: Context) {
139 | uiView.updateContent(content)
| `- warning: conformance of 'Content' to protocol 'View' may be isolated and cannot be passed to main actor-isolated context [#IsolatedConformances]
140 | }
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:139:16: warning: call to main actor-isolated instance method 'updateContent' in a synchronous nonisolated context [#ActorIsolatedCall]
136 | }
137 |
138 | public func updateUIView(_ uiView: PortalSourceUIView<Content>, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
139 | uiView.updateContent(content)
| `- warning: call to main actor-isolated instance method 'updateContent' in a synchronous nonisolated context [#ActorIsolatedCall]
140 | }
141 | }
:
174 | }
175 |
176 | func updateContent(_ content: Content) {
| |- note: calls to instance method 'updateContent' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'UIView'
177 | hostingController.rootView = content
178 | }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:149:34: error: cannot find 'UIHostingController' in scope
147 |
148 | init(rootView: Content, source: PortalSource) {
149 | self.hostingController = UIHostingController(rootView: rootView)
| `- error: cannot find 'UIHostingController' in scope
150 | self.source = source
151 | super.init(frame: .zero)
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:153:51: error: cannot infer contextual base in reference to member 'clear'
151 | super.init(frame: .zero)
152 |
153 | hostingController.view.backgroundColor = .clear
| `- error: cannot infer contextual base in reference to member 'clear'
154 | hostingController.view.translatesAutoresizingMaskIntoConstraints = false
155 | addSubview(hostingController.view)
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_32 Compiling\ UIPortalView.swift /Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift (in target 'UIPortalBridge' from project 'UIPortalBridge')
/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.
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/UIPortalView.swift:77:71: 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:119:26: warning: 'Obfuscate' is deprecated: Obfuscate has been superseded by SwiftMacros. See https://github.com/Aeastr/SwiftMacros [#DeprecatedDeclaration]
117 |
118 | private func setupPortalView() {
119 | let className = #Obfuscate("_UIPortalView")
| `- warning: 'Obfuscate' is deprecated: Obfuscate has been superseded by SwiftMacros. See https://github.com/Aeastr/SwiftMacros [#DeprecatedDeclaration]
120 |
121 | guard let portalClass = NSClassFromString(className) as? UIView.Type else {
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:121:66: error: 'UIView' is unavailable in watchOS
119 | let className = #Obfuscate("_UIPortalView")
120 |
121 | guard let portalClass = NSClassFromString(className) as? UIView.Type else {
| `- error: 'UIView' is unavailable in watchOS
122 | isAvailable = false
123 |
/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.
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:26:21: error: 'UIView' is unavailable in watchOS
24 | /// ```
25 | public struct PortalViewRepresentable: UIViewRepresentable {
26 | let sourceView: UIView?
| `- error: 'UIView' is unavailable in watchOS
27 | var hidesSourceView: Bool
28 | var matchesAlpha: Bool
/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:33:21: error: 'UIView' is unavailable in watchOS
31 |
32 | public init(
33 | sourceView: UIView?,
| `- error: 'UIView' is unavailable in watchOS
34 | hidesSourceView: Bool = false,
35 | 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:46:37: error: cannot find type 'Context' in scope
44 | }
45 |
46 | public func makeUIView(context: Context) -> UIPortalView {
| `- error: cannot find type 'Context' in scope
47 | let portal = UIPortalView()
48 | portal.sourceView = sourceView
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:56:63: error: cannot find type 'Context' in scope
54 | }
55 |
56 | public func updateUIView(_ uiView: UIPortalView, context: Context) {
| `- error: cannot find type 'Context' in scope
57 | uiView.sourceView = sourceView
58 | uiView.hidesSourceView = hidesSourceView
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:25:40: error: cannot find type 'UIViewRepresentable' in scope
23 | /// )
24 | /// ```
25 | public struct PortalViewRepresentable: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
26 | let sourceView: UIView?
27 | var hidesSourceView: Bool
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:95:44: error: 'UIView' is unavailable in watchOS
93 | public class PortalSource: ObservableObject {
94 | /// The captured UIView. Set automatically when the source view enters a window.
95 | public internal(set) var capturedView: UIView? {
| `- error: 'UIView' is unavailable in watchOS
96 | didSet {
97 | DispatchQueue.main.async { [weak self] in
/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:134:37: error: cannot find type 'Context' in scope
132 | }
133 |
134 | public func makeUIView(context: Context) -> PortalSourceUIView<Content> {
| `- error: cannot find type 'Context' in scope
135 | PortalSourceUIView(rootView: content, source: source)
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:138:78: error: cannot find type 'Context' in scope
136 | }
137 |
138 | public func updateUIView(_ uiView: PortalSourceUIView<Content>, context: Context) {
| `- error: cannot find type 'Context' in scope
139 | uiView.updateContent(content)
140 | }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:125:48: error: cannot find type 'UIViewRepresentable' in scope
123 | ///
124 | /// - Note: Must appear before `PortalMirrorView` in the view hierarchy.
125 | public struct PortalSourceView<Content: View>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
126 | let source: PortalSource
127 | let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:145:36: error: cannot find type 'UIHostingController' in scope
143 | /// The UIView that hosts SwiftUI content and registers itself as the portal source.
144 | public class PortalSourceUIView<Content: View>: UIView {
145 | private var hostingController: UIHostingController<Content>
| `- error: cannot find type 'UIHostingController' in scope
146 | private weak var source: PortalSource?
147 |
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:144:49: error: 'UIView' is unavailable in watchOS
142 |
143 | /// The UIView that hosts SwiftUI content and registers itself as the portal source.
144 | public class PortalSourceUIView<Content: View>: UIView {
| `- error: 'UIView' is unavailable in watchOS
145 | private var hostingController: UIHostingController<Content>
146 | private weak var source: PortalSource?
/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:47:22: error: 'init()' is unavailable in watchOS
45 |
46 | public func makeUIView(context: Context) -> UIPortalView {
47 | let portal = UIPortalView()
| `- error: 'init()' is unavailable in watchOS
48 | portal.sourceView = sourceView
49 | 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:47:22: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context [#ActorIsolatedCall]
44 | }
45 |
46 | public func makeUIView(context: Context) -> UIPortalView {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
47 | let portal = UIPortalView()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context [#ActorIsolatedCall]
48 | portal.sourceView = sourceView
49 | 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:48:16: warning: main actor-isolated property 'sourceView' can not be mutated from a nonisolated context
44 | }
45 |
46 | public func makeUIView(context: Context) -> UIPortalView {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
47 | let portal = UIPortalView()
48 | portal.sourceView = sourceView
| `- warning: main actor-isolated property 'sourceView' can not be mutated from a nonisolated context
49 | portal.hidesSourceView = hidesSourceView
50 | 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:49:16: warning: main actor-isolated property 'hidesSourceView' can not be mutated from a nonisolated context
44 | }
45 |
46 | public func makeUIView(context: Context) -> UIPortalView {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
47 | let portal = UIPortalView()
48 | portal.sourceView = sourceView
49 | portal.hidesSourceView = hidesSourceView
| `- warning: main actor-isolated property 'hidesSourceView' can not be mutated from a nonisolated context
50 | portal.matchesAlpha = matchesAlpha
51 | 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:50:16: warning: main actor-isolated property 'matchesAlpha' can not be mutated from a nonisolated context
44 | }
45 |
46 | public func makeUIView(context: Context) -> UIPortalView {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
47 | let portal = UIPortalView()
48 | portal.sourceView = sourceView
49 | portal.hidesSourceView = hidesSourceView
50 | portal.matchesAlpha = matchesAlpha
| `- warning: main actor-isolated property 'matchesAlpha' can not be mutated from a nonisolated context
51 | portal.matchesTransform = matchesTransform
52 | 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:51:16: warning: main actor-isolated property 'matchesTransform' can not be mutated from a nonisolated context
44 | }
45 |
46 | public func makeUIView(context: Context) -> UIPortalView {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
47 | let portal = UIPortalView()
48 | portal.sourceView = sourceView
49 | portal.hidesSourceView = hidesSourceView
50 | portal.matchesAlpha = matchesAlpha
51 | portal.matchesTransform = matchesTransform
| `- warning: main actor-isolated property 'matchesTransform' can not be mutated from a nonisolated context
52 | portal.matchesPosition = matchesPosition
53 | 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:52:16: warning: main actor-isolated property 'matchesPosition' can not be mutated from a nonisolated context
44 | }
45 |
46 | public func makeUIView(context: Context) -> UIPortalView {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
47 | let portal = UIPortalView()
48 | portal.sourceView = sourceView
:
50 | portal.matchesAlpha = matchesAlpha
51 | portal.matchesTransform = matchesTransform
52 | portal.matchesPosition = matchesPosition
| `- warning: main actor-isolated property 'matchesPosition' can not be mutated from a nonisolated context
53 | return portal
54 | }
/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:57:16: warning: main actor-isolated property 'sourceView' can not be mutated from a nonisolated context
54 | }
55 |
56 | public func updateUIView(_ uiView: UIPortalView, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
57 | uiView.sourceView = sourceView
| `- warning: main actor-isolated property 'sourceView' can not be mutated from a nonisolated context
58 | uiView.hidesSourceView = hidesSourceView
59 | 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:58:16: warning: main actor-isolated property 'hidesSourceView' can not be mutated from a nonisolated context
54 | }
55 |
56 | public func updateUIView(_ uiView: UIPortalView, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
57 | uiView.sourceView = sourceView
58 | uiView.hidesSourceView = hidesSourceView
| `- warning: main actor-isolated property 'hidesSourceView' can not be mutated from a nonisolated context
59 | uiView.matchesAlpha = matchesAlpha
60 | 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:59:16: warning: main actor-isolated property 'matchesAlpha' can not be mutated from a nonisolated context
54 | }
55 |
56 | public func updateUIView(_ uiView: UIPortalView, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
57 | uiView.sourceView = sourceView
58 | uiView.hidesSourceView = hidesSourceView
59 | uiView.matchesAlpha = matchesAlpha
| `- warning: main actor-isolated property 'matchesAlpha' can not be mutated from a nonisolated context
60 | uiView.matchesTransform = matchesTransform
61 | 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:60:16: warning: main actor-isolated property 'matchesTransform' can not be mutated from a nonisolated context
54 | }
55 |
56 | public func updateUIView(_ uiView: UIPortalView, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
57 | uiView.sourceView = sourceView
58 | uiView.hidesSourceView = hidesSourceView
59 | uiView.matchesAlpha = matchesAlpha
60 | uiView.matchesTransform = matchesTransform
| `- warning: main actor-isolated property 'matchesTransform' can not be mutated from a nonisolated context
61 | uiView.matchesPosition = matchesPosition
62 | }
/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:61:16: warning: main actor-isolated property 'matchesPosition' can not be mutated from a nonisolated context
54 | }
55 |
56 | public func updateUIView(_ uiView: UIPortalView, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
57 | uiView.sourceView = sourceView
58 | uiView.hidesSourceView = hidesSourceView
59 | uiView.matchesAlpha = matchesAlpha
60 | uiView.matchesTransform = matchesTransform
61 | uiView.matchesPosition = matchesPosition
| `- warning: main actor-isolated property 'matchesPosition' can not be mutated from a nonisolated context
62 | }
63 | }
/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:135:9: warning: conformance of 'Content' to protocol 'View' may be isolated and cannot be passed to main actor-isolated context [#IsolatedConformances]
133 |
134 | public func makeUIView(context: Context) -> PortalSourceUIView<Content> {
135 | PortalSourceUIView(rootView: content, source: source)
| `- warning: conformance of 'Content' to protocol 'View' may be isolated and cannot be passed to main actor-isolated context [#IsolatedConformances]
136 | }
137 |
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:135:9: warning: call to main actor-isolated initializer 'init(rootView:source:)' in a synchronous nonisolated context [#ActorIsolatedCall]
132 | }
133 |
134 | public func makeUIView(context: Context) -> PortalSourceUIView<Content> {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
135 | PortalSourceUIView(rootView: content, source: source)
| `- warning: call to main actor-isolated initializer 'init(rootView:source:)' in a synchronous nonisolated context [#ActorIsolatedCall]
136 | }
137 |
:
146 | private weak var source: PortalSource?
147 |
148 | init(rootView: Content, source: PortalSource) {
| |- note: calls to initializer 'init(rootView:source:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'UIView'
149 | self.hostingController = UIHostingController(rootView: rootView)
150 | self.source = source
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:139:16: warning: conformance of 'Content' to protocol 'View' may be isolated and cannot be passed to main actor-isolated context [#IsolatedConformances]
137 |
138 | public func updateUIView(_ uiView: PortalSourceUIView<Content>, context: Context) {
139 | uiView.updateContent(content)
| `- warning: conformance of 'Content' to protocol 'View' may be isolated and cannot be passed to main actor-isolated context [#IsolatedConformances]
140 | }
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:139:16: warning: call to main actor-isolated instance method 'updateContent' in a synchronous nonisolated context [#ActorIsolatedCall]
136 | }
137 |
138 | public func updateUIView(_ uiView: PortalSourceUIView<Content>, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
139 | uiView.updateContent(content)
| `- warning: call to main actor-isolated instance method 'updateContent' in a synchronous nonisolated context [#ActorIsolatedCall]
140 | }
141 | }
:
174 | }
175 |
176 | func updateContent(_ content: Content) {
| |- note: calls to instance method 'updateContent' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'UIView'
177 | hostingController.rootView = content
178 | }
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:149:34: error: cannot find 'UIHostingController' in scope
147 |
148 | init(rootView: Content, source: PortalSource) {
149 | self.hostingController = UIHostingController(rootView: rootView)
| `- error: cannot find 'UIHostingController' in scope
150 | self.source = source
151 | super.init(frame: .zero)
/Users/admin/builder/spi-builder-workspace/Sources/UIPortalBridge/PortalView.swift:153:51: error: cannot infer contextual base in reference to member 'clear'
151 | super.init(frame: .zero)
152 |
153 | hostingController.view.backgroundColor = .clear
| `- error: cannot infer contextual base in reference to member 'clear'
154 | hostingController.view.translatesAutoresizingMaskIntoConstraints = false
155 | addSubview(hostingController.view)
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/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-23 17:12:42.915 xcodebuild[1337:7766] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 (in target 'UIPortalBridge' from project 'UIPortalBridge')
SwiftEmitModule normal arm64 Emitting\ module\ for\ UIPortalBridge (in target 'UIPortalBridge' from project 'UIPortalBridge')
SwiftCompile normal arm64_32 (in target 'UIPortalBridge' from project 'UIPortalBridge')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ UIPortalBridge (in target 'UIPortalBridge' from project 'UIPortalBridge')
Building workspace UIPortalBridge with scheme UIPortalBridge
(5 failures)
BUILD FAILURE 6.4 watchOS