Build Information
Failed to build ScrollingContentViewController, reference 1.7.0 (2de1a0
), with Swift 6.1 for tvOS using Xcode 16.3 on 27 Apr 2025 20:25:15 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ScrollingContentViewController -destination generic/platform=tvOS
Build Log
private func insertScrollViewAsSuperviewOfContentView() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:268:51: warning: main actor-isolated property 'autoresizingMask' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
scrollView.autoresizingMask = contentView.autoresizingMask
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:212:41: note: property declared here
@property(nonatomic) UIViewAutoresizing autoresizingMask; // simple resize. default is UIViewAutoresizingNone
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:259:18: note: add '@MainActor' to make instance method 'insertScrollViewAsSuperviewOfContentView()' part of global actor 'MainActor'
private func insertScrollViewAsSuperviewOfContentView() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:269:21: warning: main actor-isolated property 'autoresizingMask' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
contentView.autoresizingMask = []
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:212:41: note: mutation of this property is only permitted within the actor
@property(nonatomic) UIViewAutoresizing autoresizingMask; // simple resize. default is UIViewAutoresizingNone
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:259:18: note: add '@MainActor' to make instance method 'insertScrollViewAsSuperviewOfContentView()' part of global actor 'MainActor'
private func insertScrollViewAsSuperviewOfContentView() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:270:20: warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
scrollView.frame = contentView.frame
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:185:40: note: mutation of this property is only permitted within the actor
@property(nonatomic) CGRect frame;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:259:18: note: add '@MainActor' to make instance method 'insertScrollViewAsSuperviewOfContentView()' part of global actor 'MainActor'
private func insertScrollViewAsSuperviewOfContentView() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:270:40: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
scrollView.frame = contentView.frame
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:185:40: note: property declared here
@property(nonatomic) CGRect frame;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:259:18: note: add '@MainActor' to make instance method 'insertScrollViewAsSuperviewOfContentView()' part of global actor 'MainActor'
private func insertScrollViewAsSuperviewOfContentView() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:272:43: warning: main actor-isolated property 'superview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
guard let superview = contentView.superview else {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:221:55: note: property declared here
@property(nullable, nonatomic,readonly) UIView *superview;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:259:18: note: add '@MainActor' to make instance method 'insertScrollViewAsSuperviewOfContentView()' part of global actor 'MainActor'
private func insertScrollViewAsSuperviewOfContentView() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:277:47: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
if let rootView = hostViewController?.view {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:116:54: note: property declared here
@property(null_resettable, nonatomic,strong) UIView *view; // The getter first invokes [self loadView] if the view hasn't been set yet. Subclasses must call super if they override the setter or getter.
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:259:18: note: add '@MainActor' to make instance method 'insertScrollViewAsSuperviewOfContentView()' part of global actor 'MainActor'
private func insertScrollViewAsSuperviewOfContentView() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:278:32: warning: call to main actor-isolated instance method 'isDescendant(of:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
assert(contentView.isDescendant(of: rootView), "The content view is not a descendant of the host view controller's root view")
^
UIKit.UIView.isDescendant:2:22: note: calls to instance method 'isDescendant(of:)' from outside of its actor context are implicitly asynchronous
@MainActor open func isDescendant(of view: UIView) -> Bool}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:281:19: warning: call to main actor-isolated instance method 'insertSubview(_:belowSubview:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
superview.insertSubview(scrollView, belowSubview: contentView)
^
UIKit.UIView.insertSubview:2:22: note: calls to instance method 'insertSubview(_:belowSubview:)' from outside of its actor context are implicitly asynchronous
@MainActor open func insertSubview(_ view: UIView, belowSubview siblingSubview: UIView)}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:259:18: note: add '@MainActor' to make instance method 'insertScrollViewAsSuperviewOfContentView()' part of global actor 'MainActor'
private func insertScrollViewAsSuperviewOfContentView() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:305:20: warning: call to main actor-isolated instance method 'addSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
scrollView.addSubview(contentView)
^
UIKit.UIView.addSubview:2:22: note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
@MainActor open func addSubview(_ view: UIView)}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:293:18: note: add '@MainActor' to make instance method 'addContentView()' part of global actor 'MainActor'
private func addContentView() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:318:55: warning: call to main actor-isolated instance method 'systemLayoutSizeFitting' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let contentViewSystemLayoutSize = contentView.systemLayoutSizeFitting(UIView.layoutFittingCompressedSize)
^
UIKit.UIView.systemLayoutSizeFitting:3:24: note: calls to instance method 'systemLayoutSizeFitting' from outside of its actor context are implicitly asynchronous
@MainActor open func systemLayoutSizeFitting(_ targetSize: CGSize) -> CGSize}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:311:17: note: add '@MainActor' to make instance method 'viewWillAppear' part of global actor 'MainActor'
public func viewWillAppear(_ animated: Bool) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:318:86: warning: main actor-isolated class property 'layoutFittingCompressedSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let contentViewSystemLayoutSize = contentView.systemLayoutSizeFitting(UIView.layoutFittingCompressedSize)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:542:27: note: class property declared here
UIKIT_EXTERN const CGSize UILayoutFittingCompressedSize API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:311:17: note: add '@MainActor' to make instance method 'viewWillAppear' part of global actor 'MainActor'
public func viewWillAppear(_ animated: Bool) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:319:59: warning: main actor-isolated property 'intrinsicContentSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let contentViewIntrinsicContentSize = contentView.intrinsicContentSize
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:530:39: note: property declared here
@property(nonatomic, readonly) CGSize intrinsicContentSize API_AVAILABLE(ios(6.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:311:17: note: add '@MainActor' to make instance method 'viewWillAppear' part of global actor 'MainActor'
public func viewWillAppear(_ animated: Bool) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:320:119: warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
let widthIsDefined = contentViewSystemLayoutSize.width > 0 || contentViewIntrinsicContentSize.width != UIView.noIntrinsicMetric
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:529:28: note: class property declared here
UIKIT_EXTERN const CGFloat UIViewNoIntrinsicMetric API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos); // -1
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:321:122: warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
let heightIsDefined = contentViewSystemLayoutSize.height > 0 || contentViewIntrinsicContentSize.height != UIView.noIntrinsicMetric
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:529:28: note: class property declared here
UIKIT_EXTERN const CGFloat UIViewNoIntrinsicMetric API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos); // -1
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:350:54: warning: main actor-isolated property 'adjustedContentInset' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let initialAdjustedContentInset = scrollView.adjustedContentInset
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:67:45: note: property declared here
@property(nonatomic, readonly) UIEdgeInsets adjustedContentInset API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:349:17: note: add '@MainActor' to make instance method 'viewWillTransition(to:with:)' part of global actor 'MainActor'
public func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:351:47: warning: main actor-isolated property 'contentOffset' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let initialContentOffset = scrollView.contentOffset
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:55:59: note: property declared here
@property(nonatomic) CGPoint contentOffset; // default CGPointZero
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:349:17: note: add '@MainActor' to make instance method 'viewWillTransition(to:with:)' part of global actor 'MainActor'
public func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:362:21: warning: call to main actor-isolated instance method 'animate(alongsideTransition:completion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
coordinator.animate(alongsideTransition: { (context: UIViewControllerTransitionCoordinatorContext) in
^
UIKit.UIViewControllerTransitionCoordinator.animate:2:17: note: calls to instance method 'animate(alongsideTransition:completion:)' from outside of its actor context are implicitly asynchronous
@MainActor func animate(alongsideTransition animation: ((any UIViewControllerTransitionCoordinatorContext) -> Void)?, completion: ((any UIViewControllerTransitionCoordinatorContext) -> Void)? = nil) -> Bool}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:349:17: note: add '@MainActor' to make instance method 'viewWillTransition(to:with:)' part of global actor 'MainActor'
public func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:377:89: warning: main actor-isolated property 'adjustedContentInset' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
x: contentOffset.x + initialAdjustedContentInset.left - self.scrollView.adjustedContentInset.left,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:67:45: note: property declared here
@property(nonatomic, readonly) UIEdgeInsets adjustedContentInset API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:378:88: warning: main actor-isolated property 'adjustedContentInset' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
y: contentOffset.y + initialAdjustedContentInset.top - self.scrollView.adjustedContentInset.top)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:67:45: note: property declared here
@property(nonatomic, readonly) UIEdgeInsets adjustedContentInset API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:380:29: warning: main actor-isolated property 'contentOffset' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
self.scrollView.contentOffset = self.constrainScrollViewContentOffset(contentOffset)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:55:59: note: mutation of this property is only permitted within the actor
@property(nonatomic) CGPoint contentOffset; // default CGPointZero
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:395:36: warning: main actor-isolated property 'constraints' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let constraints = hostView.constraints
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:428:71: note: property declared here
@property(nonatomic,readonly) NSArray<__kindof NSLayoutConstraint *> *constraints API_AVAILABLE(ios(6.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:394:18: note: add '@MainActor' to make instance method 'redirectConstraints(of:fromItem:toItem:)' part of global actor 'MainActor'
private func redirectConstraints(of hostView: UIView, fromItem: AnyObject, toItem: AnyObject) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:397:44: warning: main actor-isolated property 'firstItem' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
if let firstItem = (constraint.firstItem === fromItem) ? toItem : constraint.firstItem,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:163:43: note: property declared here
@property (nullable, readonly, assign) id firstItem;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:394:18: note: add '@MainActor' to make instance method 'redirectConstraints(of:fromItem:toItem:)' part of global actor 'MainActor'
private func redirectConstraints(of hostView: UIView, fromItem: AnyObject, toItem: AnyObject) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:397:90: warning: main actor-isolated property 'firstItem' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
if let firstItem = (constraint.firstItem === fromItem) ? toItem : constraint.firstItem,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:163:43: note: property declared here
@property (nullable, readonly, assign) id firstItem;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:394:18: note: add '@MainActor' to make instance method 'redirectConstraints(of:fromItem:toItem:)' part of global actor 'MainActor'
private func redirectConstraints(of hostView: UIView, fromItem: AnyObject, toItem: AnyObject) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:398:46: warning: main actor-isolated property 'secondItem' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let secondItem = (constraint.secondItem === fromItem) ? toItem : constraint.secondItem,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:164:43: note: property declared here
@property (nullable, readonly, assign) id secondItem;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:394:18: note: add '@MainActor' to make instance method 'redirectConstraints(of:fromItem:toItem:)' part of global actor 'MainActor'
private func redirectConstraints(of hostView: UIView, fromItem: AnyObject, toItem: AnyObject) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:398:93: warning: main actor-isolated property 'secondItem' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let secondItem = (constraint.secondItem === fromItem) ? toItem : constraint.secondItem,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:164:43: note: property declared here
@property (nullable, readonly, assign) id secondItem;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:394:18: note: add '@MainActor' to make instance method 'redirectConstraints(of:fromItem:toItem:)' part of global actor 'MainActor'
private func redirectConstraints(of hostView: UIView, fromItem: AnyObject, toItem: AnyObject) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:399:42: warning: main actor-isolated property 'firstItem' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
firstItem !== constraint.firstItem || secondItem !== constraint.secondItem {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:163:43: note: property declared here
@property (nullable, readonly, assign) id firstItem;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:394:18: note: add '@MainActor' to make instance method 'redirectConstraints(of:fromItem:toItem:)' part of global actor 'MainActor'
private func redirectConstraints(of hostView: UIView, fromItem: AnyObject, toItem: AnyObject) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:399:81: warning: main actor-isolated property 'secondItem' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
firstItem !== constraint.firstItem || secondItem !== constraint.secondItem {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:164:43: note: property declared here
@property (nullable, readonly, assign) id secondItem;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:400:26: warning: call to main actor-isolated instance method 'removeConstraint' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
hostView.removeConstraint(constraint)
^
UIKit.UIView.removeConstraint:3:24: note: calls to instance method 'removeConstraint' from outside of its actor context are implicitly asynchronous
@MainActor open func removeConstraint(_ constraint: NSLayoutConstraint)}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:394:18: note: add '@MainActor' to make instance method 'redirectConstraints(of:fromItem:toItem:)' part of global actor 'MainActor'
private func redirectConstraints(of hostView: UIView, fromItem: AnyObject, toItem: AnyObject) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:401:26: warning: call to main actor-isolated instance method 'addConstraint' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
hostView.addConstraint(NSLayoutConstraint(item: firstItem, attribute: constraint.firstAttribute, relatedBy: constraint.relation, toItem: secondItem, attribute: constraint.secondAttribute, multiplier: constraint.multiplier, constant: constraint.constant))
^
UIKit.UIView.addConstraint:3:24: note: calls to instance method 'addConstraint' from outside of its actor context are implicitly asynchronous
@MainActor open func addConstraint(_ constraint: NSLayoutConstraint)}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:394:18: note: add '@MainActor' to make instance method 'redirectConstraints(of:fromItem:toItem:)' part of global actor 'MainActor'
private func redirectConstraints(of hostView: UIView, fromItem: AnyObject, toItem: AnyObject) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:401:40: warning: call to main actor-isolated initializer 'init(item:attribute:relatedBy:toItem:attribute:multiplier:constant:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
hostView.addConstraint(NSLayoutConstraint(item: firstItem, attribute: constraint.firstAttribute, relatedBy: constraint.relation, toItem: secondItem, attribute: constraint.secondAttribute, multiplier: constraint.multiplier, constant: constraint.constant))
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:142:1: note: calls to initializer 'init(item:attribute:relatedBy:toItem:attribute:multiplier:constant:)' from outside of its actor context are implicitly asynchronous
+ (instancetype)constraintWithItem:(id)view1 attribute:(NSLayoutAttribute)attr1 relatedBy:(NSLayoutRelation)relation toItem:(nullable id)view2 attribute:(NSLayoutAttribute)attr2 multiplier:(CGFloat)multiplier constant:(CGFloat)c API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:394:18: note: add '@MainActor' to make instance method 'redirectConstraints(of:fromItem:toItem:)' part of global actor 'MainActor'
private func redirectConstraints(of hostView: UIView, fromItem: AnyObject, toItem: AnyObject) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:401:98: warning: main actor-isolated property 'firstAttribute' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
hostView.addConstraint(NSLayoutConstraint(item: firstItem, attribute: constraint.firstAttribute, relatedBy: constraint.relation, toItem: secondItem, attribute: constraint.secondAttribute, multiplier: constraint.multiplier, constant: constraint.constant))
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:165:40: note: property declared here
@property (readonly) NSLayoutAttribute firstAttribute;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:394:18: note: add '@MainActor' to make instance method 'redirectConstraints(of:fromItem:toItem:)' part of global actor 'MainActor'
private func redirectConstraints(of hostView: UIView, fromItem: AnyObject, toItem: AnyObject) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:401:136: warning: main actor-isolated property 'relation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
hostView.addConstraint(NSLayoutConstraint(item: firstItem, attribute: constraint.firstAttribute, relatedBy: constraint.relation, toItem: secondItem, attribute: constraint.secondAttribute, multiplier: constraint.multiplier, constant: constraint.constant))
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:173:39: note: property declared here
@property (readonly) NSLayoutRelation relation;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:394:18: note: add '@MainActor' to make instance method 'redirectConstraints(of:fromItem:toItem:)' part of global actor 'MainActor'
private func redirectConstraints(of hostView: UIView, fromItem: AnyObject, toItem: AnyObject) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:401:188: warning: main actor-isolated property 'secondAttribute' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
hostView.addConstraint(NSLayoutConstraint(item: firstItem, attribute: constraint.firstAttribute, relatedBy: constraint.relation, toItem: secondItem, attribute: constraint.secondAttribute, multiplier: constraint.multiplier, constant: constraint.constant))
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:166:40: note: property declared here
@property (readonly) NSLayoutAttribute secondAttribute;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:394:18: note: add '@MainActor' to make instance method 'redirectConstraints(of:fromItem:toItem:)' part of global actor 'MainActor'
private func redirectConstraints(of hostView: UIView, fromItem: AnyObject, toItem: AnyObject) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:401:228: warning: main actor-isolated property 'multiplier' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
hostView.addConstraint(NSLayoutConstraint(item: firstItem, attribute: constraint.firstAttribute, relatedBy: constraint.relation, toItem: secondItem, attribute: constraint.secondAttribute, multiplier: constraint.multiplier, constant: constraint.constant))
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:174:30: note: property declared here
@property (readonly) CGFloat multiplier;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:394:18: note: add '@MainActor' to make instance method 'redirectConstraints(of:fromItem:toItem:)' part of global actor 'MainActor'
private func redirectConstraints(of hostView: UIView, fromItem: AnyObject, toItem: AnyObject) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:401:261: warning: main actor-isolated property 'constant' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
hostView.addConstraint(NSLayoutConstraint(item: firstItem, attribute: constraint.firstAttribute, relatedBy: constraint.relation, toItem: secondItem, attribute: constraint.secondAttribute, multiplier: constraint.multiplier, constant: constraint.constant))
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:178:19: note: property declared here
@property CGFloat constant;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:394:18: note: add '@MainActor' to make instance method 'redirectConstraints(of:fromItem:toItem:)' part of global actor 'MainActor'
private func redirectConstraints(of hostView: UIView, fromItem: AnyObject, toItem: AnyObject) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:413:36: warning: main actor-isolated property 'constraints' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
for constraint in fromView.constraints {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:428:71: note: property declared here
@property(nonatomic,readonly) NSArray<__kindof NSLayoutConstraint *> *constraints API_AVAILABLE(ios(6.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:411:18: note: add '@MainActor' to make instance method 'moveWidthAndHeightConstraints(of:to:)' part of global actor 'MainActor'
private func moveWidthAndHeightConstraints(of fromView: UIView, to toView: UIView) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:414:27: warning: main actor-isolated property 'firstAttribute' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
if constraint.firstAttribute == .width || constraint.firstAttribute == .height {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:165:40: note: property declared here
@property (readonly) NSLayoutAttribute firstAttribute;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:411:18: note: add '@MainActor' to make instance method 'moveWidthAndHeightConstraints(of:to:)' part of global actor 'MainActor'
private func moveWidthAndHeightConstraints(of fromView: UIView, to toView: UIView) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:414:66: warning: main actor-isolated property 'firstAttribute' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
if constraint.firstAttribute == .width || constraint.firstAttribute == .height {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:165:40: note: property declared here
@property (readonly) NSLayoutAttribute firstAttribute;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:415:48: warning: main actor-isolated property 'firstItem' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
if let firstItem = (constraint.firstItem === fromView) ? toView : constraint.firstItem {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:163:43: note: property declared here
@property (nullable, readonly, assign) id firstItem;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:411:18: note: add '@MainActor' to make instance method 'moveWidthAndHeightConstraints(of:to:)' part of global actor 'MainActor'
private func moveWidthAndHeightConstraints(of fromView: UIView, to toView: UIView) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:415:94: warning: main actor-isolated property 'firstItem' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
if let firstItem = (constraint.firstItem === fromView) ? toView : constraint.firstItem {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:163:43: note: property declared here
@property (nullable, readonly, assign) id firstItem;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:411:18: note: add '@MainActor' to make instance method 'moveWidthAndHeightConstraints(of:to:)' part of global actor 'MainActor'
private func moveWidthAndHeightConstraints(of fromView: UIView, to toView: UIView) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:416:50: warning: main actor-isolated property 'secondItem' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let secondItem = (constraint.secondItem === fromView) ? toView : constraint.secondItem
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:164:43: note: property declared here
@property (nullable, readonly, assign) id secondItem;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:411:18: note: add '@MainActor' to make instance method 'moveWidthAndHeightConstraints(of:to:)' part of global actor 'MainActor'
private func moveWidthAndHeightConstraints(of fromView: UIView, to toView: UIView) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:416:97: warning: main actor-isolated property 'secondItem' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let secondItem = (constraint.secondItem === fromView) ? toView : constraint.secondItem
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:164:43: note: property declared here
@property (nullable, readonly, assign) id secondItem;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:411:18: note: add '@MainActor' to make instance method 'moveWidthAndHeightConstraints(of:to:)' part of global actor 'MainActor'
private func moveWidthAndHeightConstraints(of fromView: UIView, to toView: UIView) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:418:32: warning: call to main actor-isolated instance method 'addConstraint' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
toView.addConstraint(NSLayoutConstraint(item: firstItem, attribute: constraint.firstAttribute, relatedBy: constraint.relation, toItem: secondItem, attribute: constraint.secondAttribute, multiplier: constraint.multiplier, constant: constraint.constant))
^
UIKit.UIView.addConstraint:3:24: note: calls to instance method 'addConstraint' from outside of its actor context are implicitly asynchronous
@MainActor open func addConstraint(_ constraint: NSLayoutConstraint)}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:411:18: note: add '@MainActor' to make instance method 'moveWidthAndHeightConstraints(of:to:)' part of global actor 'MainActor'
private func moveWidthAndHeightConstraints(of fromView: UIView, to toView: UIView) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:418:46: warning: call to main actor-isolated initializer 'init(item:attribute:relatedBy:toItem:attribute:multiplier:constant:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
toView.addConstraint(NSLayoutConstraint(item: firstItem, attribute: constraint.firstAttribute, relatedBy: constraint.relation, toItem: secondItem, attribute: constraint.secondAttribute, multiplier: constraint.multiplier, constant: constraint.constant))
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:142:1: note: calls to initializer 'init(item:attribute:relatedBy:toItem:attribute:multiplier:constant:)' from outside of its actor context are implicitly asynchronous
+ (instancetype)constraintWithItem:(id)view1 attribute:(NSLayoutAttribute)attr1 relatedBy:(NSLayoutRelation)relation toItem:(nullable id)view2 attribute:(NSLayoutAttribute)attr2 multiplier:(CGFloat)multiplier constant:(CGFloat)c API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:411:18: note: add '@MainActor' to make instance method 'moveWidthAndHeightConstraints(of:to:)' part of global actor 'MainActor'
private func moveWidthAndHeightConstraints(of fromView: UIView, to toView: UIView) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:418:104: warning: main actor-isolated property 'firstAttribute' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
toView.addConstraint(NSLayoutConstraint(item: firstItem, attribute: constraint.firstAttribute, relatedBy: constraint.relation, toItem: secondItem, attribute: constraint.secondAttribute, multiplier: constraint.multiplier, constant: constraint.constant))
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:165:40: note: property declared here
@property (readonly) NSLayoutAttribute firstAttribute;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:411:18: note: add '@MainActor' to make instance method 'moveWidthAndHeightConstraints(of:to:)' part of global actor 'MainActor'
private func moveWidthAndHeightConstraints(of fromView: UIView, to toView: UIView) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:418:142: warning: main actor-isolated property 'relation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
toView.addConstraint(NSLayoutConstraint(item: firstItem, attribute: constraint.firstAttribute, relatedBy: constraint.relation, toItem: secondItem, attribute: constraint.secondAttribute, multiplier: constraint.multiplier, constant: constraint.constant))
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:173:39: note: property declared here
@property (readonly) NSLayoutRelation relation;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:411:18: note: add '@MainActor' to make instance method 'moveWidthAndHeightConstraints(of:to:)' part of global actor 'MainActor'
private func moveWidthAndHeightConstraints(of fromView: UIView, to toView: UIView) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:418:194: warning: main actor-isolated property 'secondAttribute' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
toView.addConstraint(NSLayoutConstraint(item: firstItem, attribute: constraint.firstAttribute, relatedBy: constraint.relation, toItem: secondItem, attribute: constraint.secondAttribute, multiplier: constraint.multiplier, constant: constraint.constant))
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:166:40: note: property declared here
@property (readonly) NSLayoutAttribute secondAttribute;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:411:18: note: add '@MainActor' to make instance method 'moveWidthAndHeightConstraints(of:to:)' part of global actor 'MainActor'
private func moveWidthAndHeightConstraints(of fromView: UIView, to toView: UIView) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:418:234: warning: main actor-isolated property 'multiplier' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
toView.addConstraint(NSLayoutConstraint(item: firstItem, attribute: constraint.firstAttribute, relatedBy: constraint.relation, toItem: secondItem, attribute: constraint.secondAttribute, multiplier: constraint.multiplier, constant: constraint.constant))
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:174:30: note: property declared here
@property (readonly) CGFloat multiplier;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:411:18: note: add '@MainActor' to make instance method 'moveWidthAndHeightConstraints(of:to:)' part of global actor 'MainActor'
private func moveWidthAndHeightConstraints(of fromView: UIView, to toView: UIView) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:418:267: warning: main actor-isolated property 'constant' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
toView.addConstraint(NSLayoutConstraint(item: firstItem, attribute: constraint.firstAttribute, relatedBy: constraint.relation, toItem: secondItem, attribute: constraint.secondAttribute, multiplier: constraint.multiplier, constant: constraint.constant))
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:178:19: note: property declared here
@property CGFloat constant;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:411:18: note: add '@MainActor' to make instance method 'moveWidthAndHeightConstraints(of:to:)' part of global actor 'MainActor'
private func moveWidthAndHeightConstraints(of fromView: UIView, to toView: UIView) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:424:18: warning: call to main actor-isolated instance method 'removeConstraints' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
fromView.removeConstraints(constraintsToRemove)
^
UIKit.UIView.removeConstraints:3:24: note: calls to instance method 'removeConstraints' from outside of its actor context are implicitly asynchronous
@MainActor open func removeConstraints(_ constraints: [NSLayoutConstraint])}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:411:18: note: add '@MainActor' to make instance method 'moveWidthAndHeightConstraints(of:to:)' part of global actor 'MainActor'
private func moveWidthAndHeightConstraints(of fromView: UIView, to toView: UIView) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:432:27: warning: main actor-isolated property 'superview' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
assert(scrollView.superview == nil)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:221:55: note: property declared here
@property(nullable, nonatomic,readonly) UIView *superview;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:439:35: warning: main actor-isolated property 'view' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
assert(hostViewController.view != nil, "The host view controller's root view is undefined")
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:116:54: note: property declared here
@property(null_resettable, nonatomic,strong) UIView *view; // The getter first invokes [self loadView] if the view hasn't been set yet. Subclasses must call super if they override the setter or getter.
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:441:33: warning: call to main actor-isolated instance method 'addSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
hostViewController.view.addSubview(scrollView)
^
UIKit.UIView.addSubview:2:22: note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
@MainActor open func addSubview(_ view: UIView)}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:431:18: note: add '@MainActor' to make instance method 'addScrollViewToHostViewControllerRootView()' part of global actor 'MainActor'
private func addScrollViewToHostViewControllerRootView() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:441:28: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
hostViewController.view.addSubview(scrollView)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:116:54: note: property declared here
@property(null_resettable, nonatomic,strong) UIView *view; // The getter first invokes [self loadView] if the view hasn't been set yet. Subclasses must call super if they override the setter or getter.
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:431:18: note: add '@MainActor' to make instance method 'addScrollViewToHostViewControllerRootView()' part of global actor 'MainActor'
private func addScrollViewToHostViewControllerRootView() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:443:20: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
scrollView.translatesAutoresizingMaskIntoConstraints = true
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:464:27: note: mutation of this property is only permitted within the actor
@property(nonatomic) BOOL translatesAutoresizingMaskIntoConstraints API_AVAILABLE(ios(6.0)); // Default YES
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:431:18: note: add '@MainActor' to make instance method 'addScrollViewToHostViewControllerRootView()' part of global actor 'MainActor'
private func addScrollViewToHostViewControllerRootView() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:444:20: warning: main actor-isolated property 'autoresizingMask' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
scrollView.autoresizingMask = [.flexibleWidth, .flexibleHeight]
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:212:41: note: mutation of this property is only permitted within the actor
@property(nonatomic) UIViewAutoresizing autoresizingMask; // simple resize. default is UIViewAutoresizingNone
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:431:18: note: add '@MainActor' to make instance method 'addScrollViewToHostViewControllerRootView()' part of global actor 'MainActor'
private func addScrollViewToHostViewControllerRootView() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:445:20: warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
scrollView.frame = hostViewController.view.bounds
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:185:40: note: mutation of this property is only permitted within the actor
@property(nonatomic) CGRect frame;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:431:18: note: add '@MainActor' to make instance method 'addScrollViewToHostViewControllerRootView()' part of global actor 'MainActor'
private func addScrollViewToHostViewControllerRootView() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:445:52: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
scrollView.frame = hostViewController.view.bounds
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:188:40: note: property declared here
@property(nonatomic) CGRect bounds; // default bounds is zero origin, frame size. animatable
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:431:18: note: add '@MainActor' to make instance method 'addScrollViewToHostViewControllerRootView()' part of global actor 'MainActor'
private func addScrollViewToHostViewControllerRootView() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:445:47: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
scrollView.frame = hostViewController.view.bounds
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:116:54: note: property declared here
@property(null_resettable, nonatomic,strong) UIView *view; // The getter first invokes [self loadView] if the view hasn't been set yet. Subclasses must call super if they override the setter or getter.
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:431:18: note: add '@MainActor' to make instance method 'addScrollViewToHostViewControllerRootView()' part of global actor 'MainActor'
private func addScrollViewToHostViewControllerRootView() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:462:73: warning: call to main actor-isolated instance method 'constraint(greaterThanOrEqualTo:multiplier:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let contentViewMinimumWidthConstraint = contentView.widthAnchor.constraint(greaterThanOrEqualTo: scrollView.safeAreaLayoutGuide.widthAnchor, multiplier: 1)
^
UIKit.NSLayoutDimension.constraint:2:22: note: calls to instance method 'constraint(greaterThanOrEqualTo:multiplier:)' from outside of its actor context are implicitly asynchronous
@MainActor open func constraint(greaterThanOrEqualTo anchor: NSLayoutDimension, multiplier m: CGFloat) -> NSLayoutConstraint}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:450:18: note: add '@MainActor' to make instance method 'addScrollViewAndContentViewConstraints()' part of global actor 'MainActor'
private func addScrollViewAndContentViewConstraints() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:462:61: warning: main actor-isolated property 'widthAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let contentViewMinimumWidthConstraint = contentView.widthAnchor.constraint(greaterThanOrEqualTo: scrollView.safeAreaLayoutGuide.widthAnchor, multiplier: 1)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:578:57: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutDimension *widthAnchor API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:450:18: note: add '@MainActor' to make instance method 'addScrollViewAndContentViewConstraints()' part of global actor 'MainActor'
private func addScrollViewAndContentViewConstraints() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:462:137: warning: main actor-isolated property 'widthAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let contentViewMinimumWidthConstraint = contentView.widthAnchor.constraint(greaterThanOrEqualTo: scrollView.safeAreaLayoutGuide.widthAnchor, multiplier: 1)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILayoutGuide.h:52:57: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutDimension *widthAnchor;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:450:18: note: add '@MainActor' to make instance method 'addScrollViewAndContentViewConstraints()' part of global actor 'MainActor'
private func addScrollViewAndContentViewConstraints() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:462:117: warning: main actor-isolated property 'safeAreaLayoutGuide' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let contentViewMinimumWidthConstraint = contentView.widthAnchor.constraint(greaterThanOrEqualTo: scrollView.safeAreaLayoutGuide.widthAnchor, multiplier: 1)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:288:53: note: property declared here
@property(nonatomic,readonly,strong) UILayoutGuide *safeAreaLayoutGuide API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:450:18: note: add '@MainActor' to make instance method 'addScrollViewAndContentViewConstraints()' part of global actor 'MainActor'
private func addScrollViewAndContentViewConstraints() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:465:75: warning: call to main actor-isolated instance method 'constraint(greaterThanOrEqualTo:multiplier:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let contentViewMinimumHeightConstraint = contentView.heightAnchor.constraint(greaterThanOrEqualTo: scrollView.safeAreaLayoutGuide.heightAnchor, multiplier: 1)
^
UIKit.NSLayoutDimension.constraint:2:22: note: calls to instance method 'constraint(greaterThanOrEqualTo:multiplier:)' from outside of its actor context are implicitly asynchronous
@MainActor open func constraint(greaterThanOrEqualTo anchor: NSLayoutDimension, multiplier m: CGFloat) -> NSLayoutConstraint}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:450:18: note: add '@MainActor' to make instance method 'addScrollViewAndContentViewConstraints()' part of global actor 'MainActor'
private func addScrollViewAndContentViewConstraints() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:465:62: warning: main actor-isolated property 'heightAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let contentViewMinimumHeightConstraint = contentView.heightAnchor.constraint(greaterThanOrEqualTo: scrollView.safeAreaLayoutGuide.heightAnchor, multiplier: 1)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:579:57: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutDimension *heightAnchor API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:450:18: note: add '@MainActor' to make instance method 'addScrollViewAndContentViewConstraints()' part of global actor 'MainActor'
private func addScrollViewAndContentViewConstraints() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:465:139: warning: main actor-isolated property 'heightAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let contentViewMinimumHeightConstraint = contentView.heightAnchor.constraint(greaterThanOrEqualTo: scrollView.safeAreaLayoutGuide.heightAnchor, multiplier: 1)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILayoutGuide.h:53:57: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutDimension *heightAnchor;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:450:18: note: add '@MainActor' to make instance method 'addScrollViewAndContentViewConstraints()' part of global actor 'MainActor'
private func addScrollViewAndContentViewConstraints() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:465:119: warning: main actor-isolated property 'safeAreaLayoutGuide' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let contentViewMinimumHeightConstraint = contentView.heightAnchor.constraint(greaterThanOrEqualTo: scrollView.safeAreaLayoutGuide.heightAnchor, multiplier: 1)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:288:53: note: property declared here
@property(nonatomic,readonly,strong) UILayoutGuide *safeAreaLayoutGuide API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:450:18: note: add '@MainActor' to make instance method 'addScrollViewAndContentViewConstraints()' part of global actor 'MainActor'
private func addScrollViewAndContentViewConstraints() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:468:95: warning: call to main actor-isolated instance method 'constraint(greaterThanOrEqualToConstant:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let contentViewMinimumHeightForPresentedKeyboardConstraint = contentView.heightAnchor.constraint(greaterThanOrEqualToConstant: 0)
^
UIKit.NSLayoutDimension.constraint:2:22: note: calls to instance method 'constraint(greaterThanOrEqualToConstant:)' from outside of its actor context are implicitly asynchronous
@MainActor open func constraint(greaterThanOrEqualToConstant c: CGFloat) -> NSLayoutConstraint}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:450:18: note: add '@MainActor' to make instance method 'addScrollViewAndContentViewConstraints()' part of global actor 'MainActor'
private func addScrollViewAndContentViewConstraints() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:468:82: warning: main actor-isolated property 'heightAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let contentViewMinimumHeightForPresentedKeyboardConstraint = contentView.heightAnchor.constraint(greaterThanOrEqualToConstant: 0)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:579:57: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutDimension *heightAnchor API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:450:18: note: add '@MainActor' to make instance method 'addScrollViewAndContentViewConstraints()' part of global actor 'MainActor'
private func addScrollViewAndContentViewConstraints() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:471:43: warning: main actor-isolated property 'priority' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
contentViewMinimumWidthConstraint.priority = minimumSizeConstraintPriority
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:149:28: note: mutation of this property is only permitted within the actor
@property UILayoutPriority priority;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:450:18: note: add '@MainActor' to make instance method 'addScrollViewAndContentViewConstraints()' part of global actor 'MainActor'
private func addScrollViewAndContentViewConstraints() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:472:44: warning: main actor-isolated property 'priority' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
contentViewMinimumHeightConstraint.priority = minimumSizeConstraintPriority
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:149:28: note: mutation of this property is only permitted within the actor
@property UILayoutPriority priority;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:450:18: note: add '@MainActor' to make instance method 'addScrollViewAndContentViewConstraints()' part of global actor 'MainActor'
private func addScrollViewAndContentViewConstraints() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:473:64: warning: main actor-isolated property 'priority' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
contentViewMinimumHeightForPresentedKeyboardConstraint.priority = minimumSizeConstraintPriority
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:149:28: note: mutation of this property is only permitted within the actor
@property UILayoutPriority priority;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:450:18: note: add '@MainActor' to make instance method 'addScrollViewAndContentViewConstraints()' part of global actor 'MainActor'
private func addScrollViewAndContentViewConstraints() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:475:21: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
contentView.translatesAutoresizingMaskIntoConstraints = false
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:464:27: note: mutation of this property is only permitted within the actor
@property(nonatomic) BOOL translatesAutoresizingMaskIntoConstraints API_AVAILABLE(ios(6.0)); // Default YES
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:450:18: note: add '@MainActor' to make instance method 'addScrollViewAndContentViewConstraints()' part of global actor 'MainActor'
private func addScrollViewAndContentViewConstraints() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:478:54: warning: call to main actor-isolated instance method 'constraint(equalTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
scrollView.contentLayoutGuide.leftAnchor.constraint(equalTo: contentView.leftAnchor),
^
UIKit.NSLayoutAnchor.constraint:2:22: note: calls to instance method 'constraint(equalTo:)' from outside of its actor context are implicitly asynchronous
@MainActor open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:450:18: note: add '@MainActor' to make instance method 'addScrollViewAndContentViewConstraints()' part of global actor 'MainActor'
private func addScrollViewAndContentViewConstraints() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:478:43: warning: main actor-isolated property 'leftAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
scrollView.contentLayoutGuide.leftAnchor.constraint(equalTo: contentView.leftAnchor),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILayoutGuide.h:48:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutXAxisAnchor *leftAnchor;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:450:18: note: add '@MainActor' to make instance method 'addScrollViewAndContentViewConstraints()' part of global actor 'MainActor'
private func addScrollViewAndContentViewConstraints() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:478:24: warning: main actor-isolated property 'contentLayoutGuide' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
scrollView.contentLayoutGuide.leftAnchor.constraint(equalTo: contentView.leftAnchor),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:86:53: note: property declared here
@property(nonatomic,readonly,strong) UILayoutGuide *contentLayoutGuide API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:450:18: note: add '@MainActor' to make instance method 'addScrollViewAndContentViewConstraints()' part of global actor 'MainActor'
private func addScrollViewAndContentViewConstraints() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:478:86: warning: main actor-isolated property 'leftAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
scrollView.contentLayoutGuide.leftAnchor.constraint(equalTo: contentView.leftAnchor),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:574:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutXAxisAnchor *leftAnchor API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:450:18: note: add '@MainActor' to make instance method 'addScrollViewAndContentViewConstraints()' part of global actor 'MainActor'
private func addScrollViewAndContentViewConstraints() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:479:55: warning: call to main actor-isolated instance method 'constraint(equalTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
scrollView.contentLayoutGuide.rightAnchor.constraint(equalTo: contentView.rightAnchor),
^
UIKit.NSLayoutAnchor.constraint:2:22: note: calls to instance method 'constraint(equalTo:)' from outside of its actor context are implicitly asynchronous
@MainActor open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:450:18: note: add '@MainActor' to make instance method 'addScrollViewAndContentViewConstraints()' part of global actor 'MainActor'
private func addScrollViewAndContentViewConstraints() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:479:43: warning: main actor-isolated property 'rightAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
scrollView.contentLayoutGuide.rightAnchor.constraint(equalTo: contentView.rightAnchor),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILayoutGuide.h:49:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutXAxisAnchor *rightAnchor;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:450:18: note: add '@MainActor' to make instance method 'addScrollViewAndContentViewConstraints()' part of global actor 'MainActor'
private func addScrollViewAndContentViewConstraints() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:479:24: warning: main actor-isolated property 'contentLayoutGuide' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
scrollView.contentLayoutGuide.rightAnchor.constraint(equalTo: contentView.rightAnchor),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:86:53: note: property declared here
@property(nonatomic,readonly,strong) UILayoutGuide *contentLayoutGuide API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:450:18: note: add '@MainActor' to make instance method 'addScrollViewAndContentViewConstraints()' part of global actor 'MainActor'
private func addScrollViewAndContentViewConstraints() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:479:87: warning: main actor-isolated property 'rightAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
scrollView.contentLayoutGuide.rightAnchor.constraint(equalTo: contentView.rightAnchor),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:575:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutXAxisAnchor *rightAnchor API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:450:18: note: add '@MainActor' to make instance method 'addScrollViewAndContentViewConstraints()' part of global actor 'MainActor'
private func addScrollViewAndContentViewConstraints() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:480:53: warning: call to main actor-isolated instance method 'constraint(equalTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
scrollView.contentLayoutGuide.topAnchor.constraint(equalTo: contentView.topAnchor),
^
UIKit.NSLayoutAnchor.constraint:2:22: note: calls to instance method 'constraint(equalTo:)' from outside of its actor context are implicitly asynchronous
@MainActor open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:450:18: note: add '@MainActor' to make instance method 'addScrollViewAndContentViewConstraints()' part of global actor 'MainActor'
private func addScrollViewAndContentViewConstraints() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:480:43: warning: main actor-isolated property 'topAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
scrollView.contentLayoutGuide.topAnchor.constraint(equalTo: contentView.topAnchor),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILayoutGuide.h:50:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutYAxisAnchor *topAnchor;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:450:18: note: add '@MainActor' to make instance method 'addScrollViewAndContentViewConstraints()' part of global actor 'MainActor'
private func addScrollViewAndContentViewConstraints() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:480:24: warning: main actor-isolated property 'contentLayoutGuide' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
scrollView.contentLayoutGuide.topAnchor.constraint(equalTo: contentView.topAnchor),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:86:53: note: property declared here
@property(nonatomic,readonly,strong) UILayoutGuide *contentLayoutGuide API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:450:18: note: add '@MainActor' to make instance method 'addScrollViewAndContentViewConstraints()' part of global actor 'MainActor'
private func addScrollViewAndContentViewConstraints() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:480:85: warning: main actor-isolated property 'topAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
scrollView.contentLayoutGuide.topAnchor.constraint(equalTo: contentView.topAnchor),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:576:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutYAxisAnchor *topAnchor API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:450:18: note: add '@MainActor' to make instance method 'addScrollViewAndContentViewConstraints()' part of global actor 'MainActor'
private func addScrollViewAndContentViewConstraints() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:481:56: warning: call to main actor-isolated instance method 'constraint(equalTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
scrollView.contentLayoutGuide.bottomAnchor.constraint(equalTo: contentView.bottomAnchor),
^
UIKit.NSLayoutAnchor.constraint:2:22: note: calls to instance method 'constraint(equalTo:)' from outside of its actor context are implicitly asynchronous
@MainActor open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:450:18: note: add '@MainActor' to make instance method 'addScrollViewAndContentViewConstraints()' part of global actor 'MainActor'
private func addScrollViewAndContentViewConstraints() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:481:43: warning: main actor-isolated property 'bottomAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
scrollView.contentLayoutGuide.bottomAnchor.constraint(equalTo: contentView.bottomAnchor),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILayoutGuide.h:51:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutYAxisAnchor *bottomAnchor;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:450:18: note: add '@MainActor' to make instance method 'addScrollViewAndContentViewConstraints()' part of global actor 'MainActor'
private func addScrollViewAndContentViewConstraints() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:481:24: warning: main actor-isolated property 'contentLayoutGuide' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
scrollView.contentLayoutGuide.bottomAnchor.constraint(equalTo: contentView.bottomAnchor),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:86:53: note: property declared here
@property(nonatomic,readonly,strong) UILayoutGuide *contentLayoutGuide API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:450:18: note: add '@MainActor' to make instance method 'addScrollViewAndContentViewConstraints()' part of global actor 'MainActor'
private func addScrollViewAndContentViewConstraints() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:481:88: warning: main actor-isolated property 'bottomAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
scrollView.contentLayoutGuide.bottomAnchor.constraint(equalTo: contentView.bottomAnchor),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:577:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutYAxisAnchor *bottomAnchor API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:450:18: note: add '@MainActor' to make instance method 'addScrollViewAndContentViewConstraints()' part of global actor 'MainActor'
private func addScrollViewAndContentViewConstraints() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:487:28: warning: call to main actor-isolated class method 'activate' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
NSLayoutConstraint.activate(constraints)
^
UIKit.NSLayoutConstraint.activate:3:30: note: calls to class method 'activate' from outside of its actor context are implicitly asynchronous
@MainActor open class func activate(_ constraints: [NSLayoutConstraint])}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:450:18: note: add '@MainActor' to make instance method 'addScrollViewAndContentViewConstraints()' part of global actor 'MainActor'
private func addScrollViewAndContentViewConstraints() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:491:64: warning: main actor-isolated property 'isActive' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
contentViewMinimumHeightForPresentedKeyboardConstraint.isActive = false
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:181:34: note: mutation of this property is only permitted within the actor
@property (getter=isActive) BOOL active API_AVAILABLE(macos(10.10), ios(8.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:450:18: note: add '@MainActor' to make instance method 'addScrollViewAndContentViewConstraints()' part of global actor 'MainActor'
private func addScrollViewAndContentViewConstraints() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:502:38: warning: main actor-isolated property 'contentSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let contentSize = scrollView.contentSize
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:56:59: note: property declared here
@property(nonatomic) CGSize contentSize; // default CGSizeZero
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:499:18: note: add '@MainActor' to make instance method 'constrainScrollViewContentOffset' part of global actor 'MainActor'
private func constrainScrollViewContentOffset(_ contentOffset: CGPoint) -> CGPoint {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:504:47: warning: main actor-isolated property 'adjustedContentInset' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let adjustedContentInset = scrollView.adjustedContentInset
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:67:45: note: property declared here
@property(nonatomic, readonly) UIEdgeInsets adjustedContentInset API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:499:18: note: add '@MainActor' to make instance method 'constrainScrollViewContentOffset' part of global actor 'MainActor'
private func constrainScrollViewContentOffset(_ contentOffset: CGPoint) -> CGPoint {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:528:27: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
return scrollView.bounds.inset(by: scrollView.adjustedContentInset).size
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:188:40: note: property declared here
@property(nonatomic) CGRect bounds; // default bounds is zero origin, frame size. animatable
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:527:18: note: add '@MainActor' to make instance method 'visibleContentSize(of:)' part of global actor 'MainActor'
private func visibleContentSize(of scrollView: UIScrollView) -> CGSize {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:528:55: warning: main actor-isolated property 'adjustedContentInset' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
return scrollView.bounds.inset(by: scrollView.adjustedContentInset).size
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:67:45: note: property declared here
@property(nonatomic, readonly) UIEdgeInsets adjustedContentInset API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:527:18: note: add '@MainActor' to make instance method 'visibleContentSize(of:)' part of global actor 'MainActor'
private func visibleContentSize(of scrollView: UIScrollView) -> CGSize {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:582:64: warning: main actor-isolated property 'constant' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
contentViewMinimumHeightForPresentedKeyboardConstraint.constant = contentView.frame.height
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:178:19: note: mutation of this property is only permitted within the actor
@property CGFloat constant;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:571:10: note: add '@MainActor' to make instance method 'additionalSafeAreaInsetsControllerWillUpdateAdditionalSafeAreaInsetsForPresentedKeyboard' part of global actor 'MainActor'
func additionalSafeAreaInsetsControllerWillUpdateAdditionalSafeAreaInsetsForPresentedKeyboard(_ additionalSafeAreaInsetsController: AdditionalSafeAreaInsetsController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:582:87: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
contentViewMinimumHeightForPresentedKeyboardConstraint.constant = contentView.frame.height
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:185:40: note: property declared here
@property(nonatomic) CGRect frame;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:571:10: note: add '@MainActor' to make instance method 'additionalSafeAreaInsetsControllerWillUpdateAdditionalSafeAreaInsetsForPresentedKeyboard' part of global actor 'MainActor'
func additionalSafeAreaInsetsControllerWillUpdateAdditionalSafeAreaInsetsForPresentedKeyboard(_ additionalSafeAreaInsetsController: AdditionalSafeAreaInsetsController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:583:64: warning: main actor-isolated property 'isActive' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
contentViewMinimumHeightForPresentedKeyboardConstraint.isActive = true
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:181:34: note: mutation of this property is only permitted within the actor
@property (getter=isActive) BOOL active API_AVAILABLE(macos(10.10), ios(8.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:571:10: note: add '@MainActor' to make instance method 'additionalSafeAreaInsetsControllerWillUpdateAdditionalSafeAreaInsetsForPresentedKeyboard' part of global actor 'MainActor'
func additionalSafeAreaInsetsControllerWillUpdateAdditionalSafeAreaInsetsForPresentedKeyboard(_ additionalSafeAreaInsetsController: AdditionalSafeAreaInsetsController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:587:65: warning: main actor-isolated property 'isActive' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
contentViewMinimumHeightForPresentedKeyboardConstraint?.isActive = false
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:181:34: note: mutation of this property is only permitted within the actor
@property (getter=isActive) BOOL active API_AVAILABLE(macos(10.10), ios(8.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:586:10: note: add '@MainActor' to make instance method 'additionalSafeAreaInsetsControllerDidUpdateAdditionalSafeAreaInsetsForDismissedKeyboard' part of global actor 'MainActor'
func additionalSafeAreaInsetsControllerDidUpdateAdditionalSafeAreaInsetsForDismissedKeyboard(_ additionalSafeAreaInsetsController: AdditionalSafeAreaInsetsController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:401:40: warning: sending value of non-Sendable type 'AnyObject' risks causing data races; this is an error in the Swift 6 language mode
hostView.addConstraint(NSLayoutConstraint(item: firstItem, attribute: constraint.firstAttribute, relatedBy: constraint.relation, toItem: secondItem, attribute: constraint.secondAttribute, multiplier: constraint.multiplier, constant: constraint.constant))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:401:40: note: sending task-isolated value of non-Sendable type 'AnyObject' to main actor-isolated initializer 'init(item:attribute:relatedBy:toItem:attribute:multiplier:constant:)' risks causing races in between task-isolated and main actor-isolated uses
hostView.addConstraint(NSLayoutConstraint(item: firstItem, attribute: constraint.firstAttribute, relatedBy: constraint.relation, toItem: secondItem, attribute: constraint.secondAttribute, multiplier: constraint.multiplier, constant: constraint.constant))
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:401:40: warning: sending value of non-Sendable type 'AnyObject' risks causing data races; this is an error in the Swift 6 language mode
hostView.addConstraint(NSLayoutConstraint(item: firstItem, attribute: constraint.firstAttribute, relatedBy: constraint.relation, toItem: secondItem, attribute: constraint.secondAttribute, multiplier: constraint.multiplier, constant: constraint.constant))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:401:40: note: sending task-isolated value of non-Sendable type 'AnyObject' to main actor-isolated initializer 'init(item:attribute:relatedBy:toItem:attribute:multiplier:constant:)' risks causing races in between task-isolated and main actor-isolated uses
hostView.addConstraint(NSLayoutConstraint(item: firstItem, attribute: constraint.firstAttribute, relatedBy: constraint.relation, toItem: secondItem, attribute: constraint.secondAttribute, multiplier: constraint.multiplier, constant: constraint.constant))
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:418:46: warning: sending value of non-Sendable type 'AnyObject' risks causing data races; this is an error in the Swift 6 language mode
toView.addConstraint(NSLayoutConstraint(item: firstItem, attribute: constraint.firstAttribute, relatedBy: constraint.relation, toItem: secondItem, attribute: constraint.secondAttribute, multiplier: constraint.multiplier, constant: constraint.constant))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:418:46: note: sending value of non-Sendable type 'AnyObject' to main actor-isolated initializer 'init(item:attribute:relatedBy:toItem:attribute:multiplier:constant:)' risks causing data races between main actor-isolated and local nonisolated uses
toView.addConstraint(NSLayoutConstraint(item: firstItem, attribute: constraint.firstAttribute, relatedBy: constraint.relation, toItem: secondItem, attribute: constraint.secondAttribute, multiplier: constraint.multiplier, constant: constraint.constant))
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:418:46: note: access can happen concurrently
toView.addConstraint(NSLayoutConstraint(item: firstItem, attribute: constraint.firstAttribute, relatedBy: constraint.relation, toItem: secondItem, attribute: constraint.secondAttribute, multiplier: constraint.multiplier, constant: constraint.constant))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:418:46: warning: sending value of non-Sendable type 'Any?' risks causing data races; this is an error in the Swift 6 language mode
toView.addConstraint(NSLayoutConstraint(item: firstItem, attribute: constraint.firstAttribute, relatedBy: constraint.relation, toItem: secondItem, attribute: constraint.secondAttribute, multiplier: constraint.multiplier, constant: constraint.constant))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:418:46: note: sending value of non-Sendable type 'Any?' to main actor-isolated initializer 'init(item:attribute:relatedBy:toItem:attribute:multiplier:constant:)' risks causing data races between main actor-isolated and local nonisolated uses
toView.addConstraint(NSLayoutConstraint(item: firstItem, attribute: constraint.firstAttribute, relatedBy: constraint.relation, toItem: secondItem, attribute: constraint.secondAttribute, multiplier: constraint.multiplier, constant: constraint.constant))
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:418:46: note: access can happen concurrently
toView.addConstraint(NSLayoutConstraint(item: firstItem, attribute: constraint.firstAttribute, relatedBy: constraint.relation, toItem: secondItem, attribute: constraint.secondAttribute, multiplier: constraint.multiplier, constant: constraint.constant))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:362:21: warning: sending value of non-Sendable type '(any UIViewControllerTransitionCoordinatorContext) -> Void' risks causing data races; this is an error in the Swift 6 language mode
coordinator.animate(alongsideTransition: { (context: UIViewControllerTransitionCoordinatorContext) in
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:362:21: note: sending task-isolated value of non-Sendable type '(any UIViewControllerTransitionCoordinatorContext) -> Void' to main actor-isolated instance method 'animate(alongsideTransition:completion:)' risks causing races in between task-isolated and main actor-isolated uses
coordinator.animate(alongsideTransition: { (context: UIViewControllerTransitionCoordinatorContext) in
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:362:21: warning: sending value of non-Sendable type '(any UIViewControllerTransitionCoordinatorContext) -> Void' risks causing data races; this is an error in the Swift 6 language mode
coordinator.animate(alongsideTransition: { (context: UIViewControllerTransitionCoordinatorContext) in
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift:362:21: note: sending task-isolated value of non-Sendable type '(any UIViewControllerTransitionCoordinatorContext) -> Void' to main actor-isolated instance method 'animate(alongsideTransition:completion:)' risks causing races in between task-isolated and main actor-isolated uses
coordinator.animate(alongsideTransition: { (context: UIViewControllerTransitionCoordinatorContext) in
^
SwiftCompile normal arm64 Compiling\ KeyboardObserver.swift,\ KeyboardObserving.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserving.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
Failed frontend command:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/AdditionalSafeAreaInsetsController.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/AdditionalSafeAreaInsetsControlling.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/IsUnitTest.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardFrameEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardNotificationManager.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardNotificationObserving.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserving.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollRectEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollViewBounceController.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollViewBounceControlling.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollViewFilter.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollViewFilterKeyboardDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollViewFilterScrollDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentScrollView.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/UIView+FirstResponder.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/KeyboardObserver.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/KeyboardObserver.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/KeyboardObserver.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/KeyboardObserver.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/KeyboardObserving.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/KeyboardObserving.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/KeyboardObserving.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/KeyboardObserving.dia -target arm64-apple-tvos12.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/ScrollingContentViewController_const_extract_protocols.json -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -enable-experimental-feature DebugDescriptionMacro -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name ScrollingContentViewController -frontend-parseable-output -disable-clang-spi -target-sdk-version 18.4 -target-sdk-name appletvos18.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/KeyboardObserver.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/KeyboardObserving.o -index-unit-output-path /ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/KeyboardObserver.o -index-unit-output-path /ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/KeyboardObserving.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:106:45: error: 'keyboardWillHideNotification' is unavailable in tvOS
if notification.name == UIResponder.keyboardWillHideNotification
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:131:39: note: 'keyboardWillHideNotification' has been explicitly marked unavailable here
UIKIT_EXTERN NSNotificationName const UIKeyboardWillHideNotification API_UNAVAILABLE(tvos, watchos) NS_SWIFT_NONISOLATED;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:100:51: warning: main actor-isolated property 'keyboardDismissMode' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
keyboardDismissModeIsDefined = scrollView.keyboardDismissMode != .none
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:231:54: note: property declared here
@property(nonatomic) UIScrollViewKeyboardDismissMode keyboardDismissMode API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(visionos); // default is UIScrollViewKeyboardDismissModeNone
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:83:18: note: add '@MainActor' to make instance method 'updateForKeyboardVisibilityNotification' part of global actor 'MainActor'
private func updateForKeyboardVisibilityNotification(_ notification: Notification) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:109:27: warning: main actor-isolated property 'isTracking' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
&& scrollView.isTracking {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:157:56: note: property declared here
@property(nonatomic, readonly, getter=isTracking) BOOL tracking;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:126:20: warning: call to main actor-isolated class method 'performWithoutAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
UIView.performWithoutAnimation {
^
UIKit.UIView.performWithoutAnimation:3:30: note: calls to class method 'performWithoutAnimation' from outside of its actor context are implicitly asynchronous
@MainActor open class func performWithoutAnimation(_ actionsWithoutAnimation: () -> Void)}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:83:18: note: add '@MainActor' to make instance method 'updateForKeyboardVisibilityNotification' part of global actor 'MainActor'
private func updateForKeyboardVisibilityNotification(_ notification: Notification) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:181:16: warning: call to main actor-isolated class method 'performWithoutAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
UIView.performWithoutAnimation {
^
UIKit.UIView.performWithoutAnimation:3:30: note: calls to class method 'performWithoutAnimation' from outside of its actor context are implicitly asynchronous
@MainActor open class func performWithoutAnimation(_ actionsWithoutAnimation: () -> Void)}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:180:18: note: add '@MainActor' to make instance method 'suppressTextFieldTextAnimation()' part of global actor 'MainActor'
private func suppressTextFieldTextAnimation() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:182:36: warning: call to main actor-isolated instance method 'layoutIfNeeded()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
delegate?.contentView?.layoutIfNeeded()
^
UIKit.UIView.layoutIfNeeded:2:22: note: calls to instance method 'layoutIfNeeded()' from outside of its actor context are implicitly asynchronous
@MainActor open func layoutIfNeeded()}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:192:70: error: 'keyboardFrameEndUserInfoKey' is unavailable in tvOS
let keyboardFrameEndUserInfoValue = userInfo[UIResponder.keyboardFrameEndUserInfoKey] as? NSValue,
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:135:30: note: 'keyboardFrameEndUserInfoKey' has been explicitly marked unavailable here
UIKIT_EXTERN NSString *const UIKeyboardFrameEndUserInfoKey API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_NONISOLATED; // NSValue of CGRect
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:193:72: error: 'keyboardAnimationDurationUserInfoKey' is unavailable in tvOS
let keyboardAnimationDurationNumber = userInfo[UIResponder.keyboardAnimationDurationUserInfoKey] as? NSNumber,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:136:30: note: 'keyboardAnimationDurationUserInfoKey' has been explicitly marked unavailable here
UIKIT_EXTERN NSString *const UIKeyboardAnimationDurationUserInfoKey API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_NONISOLATED; // NSNumber of double
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:212:26: error: 'keyboardWillHideNotification' is unavailable in tvOS
case UIResponder.keyboardWillHideNotification:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:131:39: note: 'keyboardWillHideNotification' has been explicitly marked unavailable here
UIKIT_EXTERN NSNotificationName const UIKeyboardWillHideNotification API_UNAVAILABLE(tvos, watchos) NS_SWIFT_NONISOLATED;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:216:26: error: 'keyboardWillShowNotification' is unavailable in tvOS
case UIResponder.keyboardWillShowNotification:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:129:39: note: 'keyboardWillShowNotification' has been explicitly marked unavailable here
UIKIT_EXTERN NSNotificationName const UIKeyboardWillShowNotification API_UNAVAILABLE(tvos, watchos) NS_SWIFT_NONISOLATED;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:195:50: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let window = hostViewController.view.window
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:223:55: note: property declared here
@property(nullable, nonatomic,readonly) UIWindow *window;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:190:18: note: add '@MainActor' to make instance method 'keyboardFrameEvent(from:)' part of global actor 'MainActor'
private func keyboardFrameEvent(from notification: Notification) -> KeyboardFrameEvent? {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:195:45: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let window = hostViewController.view.window
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:116:54: note: property declared here
@property(null_resettable, nonatomic,strong) UIView *view; // The getter first invokes [self loadView] if the view hasn't been set yet. Subclasses must call super if they override the setter or getter.
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:190:18: note: add '@MainActor' to make instance method 'keyboardFrameEvent(from:)' part of global actor 'MainActor'
private func keyboardFrameEvent(from notification: Notification) -> KeyboardFrameEvent? {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:214:55: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
keyboardFrame: CGRect(x: 0, y: window.bounds.height, width: keyboardFrame.size.width, height: 0),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:188:40: note: property declared here
@property(nonatomic) CGRect bounds; // default bounds is zero origin, frame size. animatable
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:190:18: note: add '@MainActor' to make instance method 'keyboardFrameEvent(from:)' part of global actor 'MainActor'
private func keyboardFrameEvent(from notification: Notification) -> KeyboardFrameEvent? {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:218:55: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
keyboardFrame: CGRect(x: 0, y: window.bounds.height - keyboardFrame.size.height, width: keyboardFrame.size.width, height: keyboardFrame.size.height),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:188:40: note: property declared here
@property(nonatomic) CGRect bounds; // default bounds is zero origin, frame size. animatable
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:190:18: note: add '@MainActor' to make instance method 'keyboardFrameEvent(from:)' part of global actor 'MainActor'
private func keyboardFrameEvent(from notification: Notification) -> KeyboardFrameEvent? {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:256:53: warning: call to main actor-isolated instance method 'layoutIfNeeded()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.delegate?.hostViewController?.view.layoutIfNeeded()
^
UIKit.UIView.layoutIfNeeded:2:22: note: calls to instance method 'layoutIfNeeded()' from outside of its actor context are implicitly asynchronous
@MainActor open func layoutIfNeeded()}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:254:14: note: add '@MainActor' to make local function 'animations()' part of global actor 'MainActor'
func animations() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:256:48: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
self.delegate?.hostViewController?.view.layoutIfNeeded()
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:116:54: note: property declared here
@property(null_resettable, nonatomic,strong) UIView *view; // The getter first invokes [self loadView] if the view hasn't been set yet. Subclasses must call super if they override the setter or getter.
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:254:14: note: add '@MainActor' to make local function 'animations()' part of global actor 'MainActor'
func animations() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:264:20: warning: call to main actor-isolated class method 'animate(withDuration:delay:usingSpringWithDamping:initialSpringVelocity:options:animations:completion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
UIView.animate(withDuration: bottomInsetAnimationDuration, delay: 0, usingSpringWithDamping: 1, initialSpringVelocity: 0, options: [], animations: animations, completion: completion)
^
UIKit.UIView.animate:3:30: note: calls to class method 'animate(withDuration:delay:usingSpringWithDamping:initialSpringVelocity:options:animations:completion:)' from outside of its actor context are implicitly asynchronous
@MainActor open class func animate(withDuration duration: TimeInterval, delay: TimeInterval, usingSpringWithDamping dampingRatio: CGFloat, initialSpringVelocity velocity: CGFloat, options: UIView.AnimationOptions = [], animations: @escaping () -> Void, completion: ((Bool) -> Void)? = nil)}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:238:10: note: add '@MainActor' to make instance method 'scrollViewFilter(_:adjustViewForKeyboardFrameEvent:)' part of global actor 'MainActor'
func scrollViewFilter(_ scrollViewFilter: ScrollViewFilter, adjustViewForKeyboardFrameEvent keyboardFrameEvent: KeyboardFrameEvent) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:287:47: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let rootView = hostViewController.view,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:116:54: note: property declared here
@property(null_resettable, nonatomic,strong) UIView *view; // The getter first invokes [self loadView] if the view hasn't been set yet. Subclasses must call super if they override the setter or getter.
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:284:18: note: add '@MainActor' to make instance method 'bottomInset(from:)' part of global actor 'MainActor'
private func bottomInset(from keyboardFrame: CGRect?) -> CGFloat? {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:288:35: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let window = rootView.window else {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:223:55: note: property declared here
@property(nullable, nonatomic,readonly) UIWindow *window;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:284:18: note: add '@MainActor' to make instance method 'bottomInset(from:)' part of global actor 'MainActor'
private func bottomInset(from keyboardFrame: CGRect?) -> CGFloat? {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:293:44: warning: call to main actor-isolated instance method 'convert(_:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let rootViewFrameInWindow = window.convert(rootView.frame, from: rootView.superview)
^
UIKit.UIView.convert:2:22: note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
@MainActor open func convert(_ rect: CGRect, from view: UIView?) -> CGRect}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:284:18: note: add '@MainActor' to make instance method 'bottomInset(from:)' part of global actor 'MainActor'
private func bottomInset(from keyboardFrame: CGRect?) -> CGFloat? {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:293:61: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let rootViewFrameInWindow = window.convert(rootView.frame, from: rootView.superview)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:185:40: note: property declared here
@property(nonatomic) CGRect frame;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:284:18: note: add '@MainActor' to make instance method 'bottomInset(from:)' part of global actor 'MainActor'
private func bottomInset(from keyboardFrame: CGRect?) -> CGFloat? {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:293:83: warning: main actor-isolated property 'superview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let rootViewFrameInWindow = window.convert(rootView.frame, from: rootView.superview)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:221:55: note: property declared here
@property(nullable, nonatomic,readonly) UIView *superview;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:284:18: note: add '@MainActor' to make instance method 'bottomInset(from:)' part of global actor 'MainActor'
private func bottomInset(from keyboardFrame: CGRect?) -> CGFloat? {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:301:62: warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let keyboardViewIntersectionFrameInRootView = window.convert(keyboardViewIntersectionFrameInWindow, to: rootView)
^
UIKit.UIView.convert:3:24: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
@MainActor open func convert(_ rect: CGRect, to coordinateSpace: any UICoordinateSpace) -> CGRect}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:284:18: note: add '@MainActor' to make instance method 'bottomInset(from:)' part of global actor 'MainActor'
private func bottomInset(from keyboardFrame: CGRect?) -> CGFloat? {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:307:44: warning: main actor-isolated property 'safeAreaInsets' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let safeAreaBottomInset = rootView.safeAreaInsets.bottom
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:275:45: note: property declared here
@property (nonatomic,readonly) UIEdgeInsets safeAreaInsets API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:284:18: note: add '@MainActor' to make instance method 'bottomInset(from:)' part of global actor 'MainActor'
private func bottomInset(from keyboardFrame: CGRect?) -> CGFloat? {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:310:64: warning: main actor-isolated property 'additionalSafeAreaInsets' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let additionalSafeAreaBottomInset = hostViewController.additionalSafeAreaInsets.bottom
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:545:35: note: property declared here
@property(nonatomic) UIEdgeInsets additionalSafeAreaInsets API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift:284:18: note: add '@MainActor' to make instance method 'bottomInset(from:)' part of global actor 'MainActor'
private func bottomInset(from keyboardFrame: CGRect?) -> CGFloat? {
^
@MainActor
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserving.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ UIView+FirstResponder.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/UIView+FirstResponder.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/UIView+FirstResponder.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ScrollViewFilterKeyboardDelegate.swift,\ ScrollViewFilterScrollDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollViewFilterKeyboardDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollViewFilterScrollDelegate.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollViewFilterKeyboardDelegate.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollViewFilterScrollDelegate.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ScrollViewBounceControlling.swift,\ ScrollViewFilter.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollViewBounceControlling.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollViewFilter.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollViewBounceControlling.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollViewFilter.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollViewFilter.swift:217:30: warning: capture of 'self' with non-sendable type 'ScrollViewFilter?' in a '@Sendable' closure
guard let self = self else {
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollViewFilter.swift:53:16: note: class 'ScrollViewFilter' does not conform to the 'Sendable' protocol
internal class ScrollViewFilter {
^
SwiftCompile normal arm64 Compiling\ IsUnitTest.swift,\ KeyboardFrameEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/IsUnitTest.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardFrameEvent.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/IsUnitTest.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardFrameEvent.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64 Emitting module for ScrollingContentViewController (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
SwiftDriver\ Compilation\ Requirements ScrollingContentViewController normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation-Requirements -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name ScrollingContentViewController -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/ScrollingContentViewController.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -target arm64-apple-tvos12.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 -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/ScrollingContentViewController-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/ScrollingContentViewController.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/ScrollingContentViewController_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.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/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/ScrollingContentViewController-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardNotificationManager.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
SwiftCompile normal arm64 Compiling\ KeyboardObserver.swift,\ KeyboardObserving.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserving.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
Building workspace spi-builder-workspace with scheme ScrollingContentViewController
(4 failures)
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
ScrollingContentViewController: /Users/admin/builder/spi-builder-workspace
resolved source packages: ScrollingContentViewController
{
"dependencies" : [
],
"manifest_display_name" : "ScrollingContentViewController",
"name" : "ScrollingContentViewController",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
}
],
"products" : [
{
"name" : "ScrollingContentViewController",
"targets" : [
"ScrollingContentViewController"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ScrollingContentViewController",
"module_type" : "SwiftTarget",
"name" : "ScrollingContentViewController",
"path" : "Sources/ScrollingContentViewController",
"product_memberships" : [
"ScrollingContentViewController"
],
"sources" : [
"AdditionalSafeAreaInsetsController.swift",
"AdditionalSafeAreaInsetsControlling.swift",
"IsUnitTest.swift",
"KeyboardFrameEvent.swift",
"KeyboardNotificationManager.swift",
"KeyboardNotificationObserving.swift",
"KeyboardObserver.swift",
"KeyboardObserving.swift",
"ScrollRectEvent.swift",
"ScrollViewBounceController.swift",
"ScrollViewBounceControlling.swift",
"ScrollViewFilter.swift",
"ScrollViewFilterKeyboardDelegate.swift",
"ScrollViewFilterScrollDelegate.swift",
"ScrollingContentScrollView.swift",
"ScrollingContentViewController.swift",
"ScrollingContentViewManager.swift",
"UIView+FirstResponder.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"ScrollingContentViewController"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ScrollingContentViewController -destination generic/platform=tvOS
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme ScrollingContentViewController -destination generic/platform=tvOS
Resolve Package Graph
Resolved source packages:
ScrollingContentViewController: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'ScrollingContentViewController' in project 'ScrollingContentViewController'
➜ Explicit dependency on target 'ScrollingContentViewController' in project 'ScrollingContentViewController'
Target 'ScrollingContentViewController' in project 'ScrollingContentViewController' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: bbf172c3de4717e6f4f524a60a5ba86c
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/bbf172c3de4717e6f4f524a60a5ba86c.xcbuilddata
ClangStatCache /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache
SwiftDriver ScrollingContentViewController normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name ScrollingContentViewController -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/ScrollingContentViewController.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -target arm64-apple-tvos12.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 -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/ScrollingContentViewController-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/ScrollingContentViewController.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/ScrollingContentViewController_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.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/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/ScrollingContentViewController-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ IsUnitTest.swift,\ KeyboardFrameEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/IsUnitTest.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardFrameEvent.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/IsUnitTest.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardFrameEvent.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ AdditionalSafeAreaInsetsController.swift,\ AdditionalSafeAreaInsetsControlling.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/AdditionalSafeAreaInsetsController.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/AdditionalSafeAreaInsetsControlling.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/AdditionalSafeAreaInsetsController.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/AdditionalSafeAreaInsetsControlling.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ KeyboardNotificationManager.swift,\ KeyboardNotificationObserving.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardNotificationManager.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardNotificationObserving.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
Failed frontend command:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/AdditionalSafeAreaInsetsController.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/AdditionalSafeAreaInsetsControlling.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/IsUnitTest.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardFrameEvent.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardNotificationManager.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardNotificationObserving.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserving.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollRectEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollViewBounceController.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollViewBounceControlling.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollViewFilter.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollViewFilterKeyboardDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollViewFilterScrollDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentScrollView.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/UIView+FirstResponder.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/KeyboardNotificationManager.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/KeyboardNotificationManager.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/KeyboardNotificationManager.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/KeyboardNotificationManager.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/KeyboardNotificationObserving.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/KeyboardNotificationObserving.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/KeyboardNotificationObserving.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/KeyboardNotificationObserving.dia -target arm64-apple-tvos12.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/ScrollingContentViewController_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name ScrollingContentViewController -frontend-parseable-output -disable-clang-spi -target-sdk-version 18.4 -target-sdk-name appletvos18.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/KeyboardNotificationManager.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/KeyboardNotificationObserving.o -index-unit-output-path /ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/KeyboardNotificationManager.o -index-unit-output-path /ScrollingContentViewController.build/Debug-appletvos/ScrollingContentViewController.build/Objects-normal/arm64/KeyboardNotificationObserving.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardNotificationManager.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardNotificationManager.swift:29:117: error: 'keyboardWillShowNotification' is unavailable in tvOS
notificationCenter.addObserver(self, selector: #selector(notifyObservers(notification:)), name: UIResponder.keyboardWillShowNotification, object: nil)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:129:39: note: 'keyboardWillShowNotification' has been explicitly marked unavailable here
UIKIT_EXTERN NSNotificationName const UIKeyboardWillShowNotification API_UNAVAILABLE(tvos, watchos) NS_SWIFT_NONISOLATED;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardNotificationManager.swift:30:117: error: 'keyboardWillHideNotification' is unavailable in tvOS
notificationCenter.addObserver(self, selector: #selector(notifyObservers(notification:)), name: UIResponder.keyboardWillHideNotification, object: nil)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:131:39: note: 'keyboardWillHideNotification' has been explicitly marked unavailable here
UIKIT_EXTERN NSNotificationName const UIKeyboardWillHideNotification API_UNAVAILABLE(tvos, watchos) NS_SWIFT_NONISOLATED;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardNotificationManager.swift:35:67: error: 'keyboardWillShowNotification' is unavailable in tvOS
notificationCenter.removeObserver(self, name: UIResponder.keyboardWillShowNotification, object: nil)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:129:39: note: 'keyboardWillShowNotification' has been explicitly marked unavailable here
UIKIT_EXTERN NSNotificationName const UIKeyboardWillShowNotification API_UNAVAILABLE(tvos, watchos) NS_SWIFT_NONISOLATED;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardNotificationManager.swift:36:67: error: 'keyboardWillHideNotification' is unavailable in tvOS
notificationCenter.removeObserver(self, name: UIResponder.keyboardWillHideNotification, object: nil)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:131:39: note: 'keyboardWillHideNotification' has been explicitly marked unavailable here
UIKIT_EXTERN NSNotificationName const UIKeyboardWillHideNotification API_UNAVAILABLE(tvos, watchos) NS_SWIFT_NONISOLATED;
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardNotificationObserving.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ScrollingContentViewManager.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewManager.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ScrollViewFilterKeyboardDelegate.swift,\ ScrollViewFilterScrollDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollViewFilterKeyboardDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollViewFilterScrollDelegate.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollViewFilterKeyboardDelegate.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollViewFilterScrollDelegate.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ScrollingContentScrollView.swift,\ ScrollingContentViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentScrollView.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewController.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentScrollView.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollingContentViewController.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ ScrollingContentViewController (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
EmitSwiftModule normal arm64 (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ScrollViewBounceControlling.swift,\ ScrollViewFilter.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollViewBounceControlling.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollViewFilter.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollViewBounceControlling.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollViewFilter.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ScrollRectEvent.swift,\ ScrollViewBounceController.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollRectEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollViewBounceController.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollRectEvent.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/ScrollViewBounceController.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ UIView+FirstResponder.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/UIView+FirstResponder.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/UIView+FirstResponder.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ KeyboardObserver.swift,\ KeyboardObserving.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserving.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
Command SwiftCompile failed with a nonzero exit code
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 Compiling\ KeyboardNotificationManager.swift,\ KeyboardNotificationObserving.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardNotificationManager.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardNotificationObserving.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardNotificationManager.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
SwiftCompile normal arm64 Compiling\ KeyboardObserver.swift,\ KeyboardObserving.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserver.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingContentViewController/KeyboardObserving.swift (in target 'ScrollingContentViewController' from project 'ScrollingContentViewController')
Building workspace spi-builder-workspace with scheme ScrollingContentViewController
(4 failures)
BUILD FAILURE 6.1 tvOS