Build Information
Failed to build NKModalPresenter, reference 1.7.5 (d133cd
), with Swift 6.1 for watchOS using Xcode 16.3 on 1 May 2025 11:55:43 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme NKModalPresenter -destination generic/platform=watchOS
Build Log
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:263:14: error: cannot find type 'UIWindow' in scope
var window: UIWindow?
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:264:23: error: cannot find type 'UIWindow' in scope
weak var lastWindow: UIWindow?
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:265:32: error: cannot find type 'UIView' in scope
var lastPosition: (container: UIView, frame: CGRect)?
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:266:26: error: cannot find type 'UIImageView' in scope
var anchorCapturedView: UIImageView?
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:267:27: error: cannot find type 'UIImageView' in scope
var contentCapturedView: UIImageView?
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:268:22: error: cannot find type 'UIView' in scope
var transitionView: UIView?
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:274:23: error: cannot find type 'UIInterfaceOrientation' in scope
var lastOrientation: UIInterfaceOrientation?
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:276:18: error: cannot find type 'UITapGestureRecognizer' in scope
var tapGesture: UITapGestureRecognizer?
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:277:18: error: cannot find type 'UIPanGestureRecognizer' in scope
var panGesture: UIPanGestureRecognizer?
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:301:23: error: method does not override any method from its superclass
public override func viewDidLoad() {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:317:23: error: method does not override any method from its superclass
public override func viewDidAppear(_ animated: Bool) {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:322:23: error: method does not override any method from its superclass
public override func viewDidDisappear(_ animated: Bool) {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:327:23: error: method does not override any method from its superclass
public override func viewDidLayoutSubviews() {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:533:23: error: method does not override any method from its superclass
public override func dismiss(animated: Bool, completion: (() -> Void)? = nil) {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:700:63: error: cannot find type 'UIView' in scope
private func animationBlock(duration: TimeInterval, options: UIView.AnimationOptions, animations: @escaping (() -> Void), completion: ((Bool) -> Void)? = nil) {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:710:42: error: cannot find type 'UIImageView' in scope
private func capture(_ view: UIView) -> UIImageView {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:710:31: error: cannot find type 'UIView' in scope
private func capture(_ view: UIView) -> UIImageView {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:720:36: error: cannot find type 'UIView' in scope
private func captureImage(_ view: UIView) -> UIImage? {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:735:53: error: cannot find type 'UIImageView' in scope
private func removeCapturedView(_ imageView: inout UIImageView?) {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:863:30: error: cannot find type 'UIPanGestureRecognizer' in scope
@objc func onPan(_ gesture: UIPanGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:964:30: error: cannot find type 'UIGestureRecognizerDelegate' in scope
extension NKModalController: UIGestureRecognizerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:966:53: error: cannot find type 'UIGestureRecognizer' in scope
public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:966:95: error: cannot find type 'UITouch' in scope
public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:983:29: error: cannot find type 'UIViewController' in scope
var visibleViewController: UIViewController? {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:989:22: error: property does not override any property from its superclass
public override var shouldAutorotate: Bool {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:993:54: error: cannot find type 'UIInterfaceOrientationMask' in scope
public override var supportedInterfaceOrientations: UIInterfaceOrientationMask {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:997:68: error: cannot find type 'UIInterfaceOrientation' in scope
public override var preferredInterfaceOrientationForPresentation: UIInterfaceOrientation {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1007:22: error: property does not override any property from its superclass
public override var prefersStatusBarHidden: Bool {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1011:47: error: cannot find type 'UIStatusBarStyle' in scope
public override var preferredStatusBarStyle: UIStatusBarStyle {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1015:57: error: cannot find type 'UIStatusBarAnimation' in scope
public override var preferredStatusBarUpdateAnimation: UIStatusBarAnimation {
^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:980:46: error: cannot find type 'UIViewController' in scope
public class NKModalContainerViewController: UIViewController {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1023:11: error: cannot find type 'UIViewController' in scope
extension UIViewController {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1037:21: warning: static property '_onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var _onceTracker = [String]()
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1037:21: note: convert '_onceTracker' to a 'let' constant to make 'Sendable' shared state immutable
private static var _onceTracker = [String]()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1037:21: note: add '@MainActor' to make static property '_onceTracker' part of global actor 'MainActor'
private static var _onceTracker = [String]()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1037:21: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var _onceTracker = [String]()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:22:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NKModalPresenter' may have shared mutable state; this is an error in the Swift 6 language mode
public static let shared = NKModalPresenter()
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:21:14: note: class 'NKModalPresenter' does not conform to the 'Sendable' protocol
public class NKModalPresenter {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:22:20: note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
public static let shared = NKModalPresenter()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:22:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let shared = NKModalPresenter()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:34:38: error: cannot find type 'UIViewController' in scope
public func present(viewController: UIViewController, animate: NKModalPresentAnimation? = nil, to position: NKModalPresentPosition? = nil) -> NKModalController {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:43:38: error: cannot find type 'UIViewController' in scope
public func dismiss(viewController: UIViewController, animated: Bool, completion: (() -> Void)? = nil) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:63:57: error: cannot find type 'UIViewController' in scope
public func modalController(containing viewController: UIViewController) -> NKModalController? {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:67:47: error: cannot find type 'UIView' in scope
public func modalController(containing view: UIView) -> NKModalController? {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:83:11: error: cannot find type 'UIViewController' in scope
extension UIViewController {
^~~~~~~~~~~~~~~~
SwiftEmitModule normal arm64 Emitting\ module\ for\ NKModalPresenter (in target 'NKModalPresenter' from project 'NKModalPresenter')
EmitSwiftModule normal arm64 (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:28:18: error: cannot find type 'UIView' in scope
case from(view: UIView)
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:21:13: error: type 'NKModalPresentAnimation' does not conform to protocol 'Equatable'
public enum NKModalPresentAnimation: Equatable {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:28:18: note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'NKModalPresentAnimation' to 'Equatable'
case from(view: UIView)
^
Swift.==:1:24: note: candidate would match if 'NKModalPresentAnimation' conformed to 'RawRepresentable'
@inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
^
Swift.FloatingPoint.==:2:20: note: candidate would match if 'NKModalPresentAnimation' conformed to 'FloatingPoint'
public static func == (lhs: Self, rhs: Self) -> Bool}
^
Swift.BinaryInteger.==:2:20: note: candidate would match if 'NKModalPresentAnimation' conformed to 'BinaryInteger'
public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
^
Swift._Pointer.==:2:20: note: candidate would match if 'NKModalPresentAnimation' conformed to '_Pointer'
public static func == (lhs: Self, rhs: Self) -> Bool}
^
Swift._Pointer.==:2:31: note: candidate would match if 'NKModalPresentAnimation' conformed to '_Pointer'
@inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
^
Swift.Strideable.==:2:31: note: candidate would match if 'NKModalPresentAnimation' conformed to 'Strideable'
@inlinable public static func == (x: Self, y: Self) -> Bool}
^
Swift.StringProtocol.==:2:31: note: candidate would match if 'NKModalPresentAnimation' conformed to 'StringProtocol'
@inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
^
Swift.SIMD.==:2:20: note: candidate would match if 'NKModalPresentAnimation' conformed to 'SIMD'
public static func == (a: Self, b: Self) -> Bool}
^
CoreFoundation._CFObject.==:2:20: note: candidate would match if 'NKModalPresentAnimation' conformed to '_CFObject'
public static func == (left: Self, right: Self) -> Bool}
^
Foundation.AttributedStringProtocol.==:2:20: note: candidate would match if 'NKModalPresentAnimation' conformed to 'AttributedStringProtocol'
public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
^
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'NKModalPresentAnimation' conformed to '_BridgedStoredNSError'
public static func == (lhs: Self, rhs: Self) -> Bool}
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:21:13: note: add stubs for conformance
public enum NKModalPresentAnimation: Equatable {
^
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(NKModalPresentAnimation, NKModalPresentAnimation) -> Bool'
static func == (lhs: Self, rhs: Self) -> Bool}
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:38:16: error: cannot find type 'UIView' in scope
case to(view: UIView)
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:31:13: error: type 'NKModalDismissAnimation' does not conform to protocol 'Equatable'
public enum NKModalDismissAnimation: Equatable {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:38:16: note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'NKModalDismissAnimation' to 'Equatable'
case to(view: UIView)
^
Swift.==:1:24: note: candidate would match if 'NKModalDismissAnimation' conformed to 'RawRepresentable'
@inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
^
Swift.FloatingPoint.==:2:20: note: candidate would match if 'NKModalDismissAnimation' conformed to 'FloatingPoint'
public static func == (lhs: Self, rhs: Self) -> Bool}
^
Swift.BinaryInteger.==:2:20: note: candidate would match if 'NKModalDismissAnimation' conformed to 'BinaryInteger'
public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
^
Swift._Pointer.==:2:20: note: candidate would match if 'NKModalDismissAnimation' conformed to '_Pointer'
public static func == (lhs: Self, rhs: Self) -> Bool}
^
Swift._Pointer.==:2:31: note: candidate would match if 'NKModalDismissAnimation' conformed to '_Pointer'
@inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
^
Swift.Strideable.==:2:31: note: candidate would match if 'NKModalDismissAnimation' conformed to 'Strideable'
@inlinable public static func == (x: Self, y: Self) -> Bool}
^
Swift.StringProtocol.==:2:31: note: candidate would match if 'NKModalDismissAnimation' conformed to 'StringProtocol'
@inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
^
Swift.SIMD.==:2:20: note: candidate would match if 'NKModalDismissAnimation' conformed to 'SIMD'
public static func == (a: Self, b: Self) -> Bool}
^
CoreFoundation._CFObject.==:2:20: note: candidate would match if 'NKModalDismissAnimation' conformed to '_CFObject'
public static func == (left: Self, right: Self) -> Bool}
^
Foundation.AttributedStringProtocol.==:2:20: note: candidate would match if 'NKModalDismissAnimation' conformed to 'AttributedStringProtocol'
public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
^
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'NKModalDismissAnimation' conformed to '_BridgedStoredNSError'
public static func == (lhs: Self, rhs: Self) -> Bool}
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:31:13: note: add stubs for conformance
public enum NKModalDismissAnimation: Equatable {
^
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(NKModalDismissAnimation, NKModalDismissAnimation) -> Bool'
static func == (lhs: Self, rhs: Self) -> Bool}
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:50:84: error: cannot find type 'UIViewController' in scope
func modalController(_ controller: NKModalController, willPresent viewController: UIViewController)
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:51:83: error: cannot find type 'UIViewController' in scope
func modalController(_ controller: NKModalController, didPresent viewController: UIViewController)
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:52:84: error: cannot find type 'UIViewController' in scope
func modalController(_ controller: NKModalController, willDismiss viewController: UIViewController)
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:53:83: error: cannot find type 'UIViewController' in scope
func modalController(_ controller: NKModalController, didDismiss viewController: UIViewController)
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:54:67: error: cannot find type 'UIGestureRecognizer' in scope
func modalController(_ controller: NKModalController, dragState: UIGestureRecognizer.State)
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:61:71: error: cannot find type 'UIViewController' in scope
func presentingViewController(modalController: NKModalController) -> UIViewController?
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:62:59: error: cannot find type 'UIModalPresentationStyle' in scope
func presentStyle(modalController: NKModalController) -> UIModalPresentationStyle
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:70:57: error: cannot find type 'CACornerMask' in scope
func cornerMask(modalController: NKModalController) -> CACornerMask
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:71:58: error: cannot find type 'UIWindow' in scope
func windowLevel(modalController: NKModalController) -> UIWindow.Level
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:72:61: error: cannot find type 'UIView' in scope
func transitionView(modalController: NKModalController) -> UIView?
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:73:72: error: cannot find type 'UIView' in scope
func transitionViewContentMode(modalController: NKModalController) -> UIView.ContentMode?
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:79:84: error: cannot find type 'UIViewController' in scope
func modalController(_ controller: NKModalController, willPresent viewController: UIViewController) {}
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:80:83: error: cannot find type 'UIViewController' in scope
func modalController(_ controller: NKModalController, didPresent viewController: UIViewController) {}
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:81:84: error: cannot find type 'UIViewController' in scope
func modalController(_ controller: NKModalController, willDismiss viewController: UIViewController) {}
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:82:83: error: cannot find type 'UIViewController' in scope
func modalController(_ controller: NKModalController, didDismiss viewController: UIViewController) {}
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:83:67: error: cannot find type 'UIGestureRecognizer' in scope
func modalController(_ controller: NKModalController, dragState: UIGestureRecognizer.State) {}
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:90:71: error: cannot find type 'UIViewController' in scope
func presentingViewController(modalController: NKModalController) -> UIViewController? { nil }
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:91:59: error: cannot find type 'UIModalPresentationStyle' in scope
func presentStyle(modalController: NKModalController) -> UIModalPresentationStyle { .custom }
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:99:57: error: cannot find type 'CACornerMask' in scope
func cornerMask(modalController: NKModalController) -> CACornerMask { [.layerMaxXMaxYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMinXMinYCorner] }
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:100:58: error: cannot find type 'UIWindow' in scope
func windowLevel(modalController: NKModalController) -> UIWindow.Level { .normal + 1 }
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:101:61: error: cannot find type 'UIView' in scope
func transitionView(modalController: NKModalController) -> UIView? { nil }
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:102:72: error: cannot find type 'UIView' in scope
func transitionViewContentMode(modalController: NKModalController) -> UIView.ContentMode? { nil }
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:108:32: error: cannot find type 'UIView' in scope
func toPresentAnimation(view: UIView) -> NKModalPresentAnimation {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:137:32: error: cannot find type 'UIView' in scope
func toDismissAnimation(view: UIView) -> NKModalDismissAnimation {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:170:32: error: cannot find type 'UIView' in scope
func toDismissAnimation(view: UIView) -> NKModalDismissAnimation {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:185:30: error: cannot find type 'UIView' in scope
func toAnimationOption() -> UIView.AnimationOptions {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:196:11: error: cannot find type 'UIWindow' in scope
extension UIWindow {
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:981:53: error: cannot find type 'UIViewController' in scope
public fileprivate(set) var contentViewController: UIViewController!
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:279:30: error: cannot find type 'UIViewController' in scope
public init(viewController: UIViewController) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:233:43: error: cannot find type 'UIView' in scope
public fileprivate(set) var contentView: UIView!
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:234:25: error: cannot find type 'UIView' in scope
public var anchorView: UIView? {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:250:20: warning: static property 'backgroundColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
public static var backgroundColor = UIColor.black.withAlphaComponent(0.65)
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:250:20: note: convert 'backgroundColor' to a 'let' constant to make 'Sendable' shared state immutable
public static var backgroundColor = UIColor.black.withAlphaComponent(0.65)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:250:20: note: add '@MainActor' to make static property 'backgroundColor' part of global actor 'MainActor'
public static var backgroundColor = UIColor.black.withAlphaComponent(0.65)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:250:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static var backgroundColor = UIColor.black.withAlphaComponent(0.65)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:251:20: warning: static property 'animationDuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
public static var animationDuration: TimeInterval = 0.45
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:251:20: note: convert 'animationDuration' to a 'let' constant to make 'Sendable' shared state immutable
public static var animationDuration: TimeInterval = 0.45
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:251:20: note: add '@MainActor' to make static property 'animationDuration' part of global actor 'MainActor'
public static var animationDuration: TimeInterval = 0.45
^
@MainActor
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:251:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static var animationDuration: TimeInterval = 0.45
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:252:20: warning: static property 'easingAnimation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
public static var easingAnimation: NKModalEasingAnimation = .easeInOut
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:252:20: note: convert 'easingAnimation' to a 'let' constant to make 'Sendable' shared state immutable
public static var easingAnimation: NKModalEasingAnimation = .easeInOut
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:252:20: note: add '@MainActor' to make static property 'easingAnimation' part of global actor 'MainActor'
public static var easingAnimation: NKModalEasingAnimation = .easeInOut
^
@MainActor
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:252:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static var easingAnimation: NKModalEasingAnimation = .easeInOut
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:253:20: warning: static property 'cornerRadius' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
public static var cornerRadius: CGFloat = 8.0
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:253:20: note: convert 'cornerRadius' to a 'let' constant to make 'Sendable' shared state immutable
public static var cornerRadius: CGFloat = 8.0
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:253:20: note: add '@MainActor' to make static property 'cornerRadius' part of global actor 'MainActor'
public static var cornerRadius: CGFloat = 8.0
^
@MainActor
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:253:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static var cornerRadius: CGFloat = 8.0
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:254:32: error: cannot find type 'CACornerMask' in scope
public static var cornerMask: CACornerMask = [.layerMaxXMaxYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMinXMinYCorner]
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:254:20: warning: static property 'cornerMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
public static var cornerMask: CACornerMask = [.layerMaxXMaxYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMinXMinYCorner]
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:254:20: note: convert 'cornerMask' to a 'let' constant to make 'Sendable' shared state immutable
public static var cornerMask: CACornerMask = [.layerMaxXMaxYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMinXMinYCorner]
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:254:20: note: add '@MainActor' to make static property 'cornerMask' part of global actor 'MainActor'
public static var cornerMask: CACornerMask = [.layerMaxXMaxYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMinXMinYCorner]
^
@MainActor
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:254:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static var cornerMask: CACornerMask = [.layerMaxXMaxYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMinXMinYCorner]
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:260:25: error: cannot find type 'CACornerMask' in scope
public var cornerMask: CACornerMask = NKModalController.cornerMask
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:262:22: error: cannot find 'UIView' in scope
let containerView = UIView()
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:263:14: error: cannot find type 'UIWindow' in scope
var window: UIWindow?
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:264:23: error: cannot find type 'UIWindow' in scope
weak var lastWindow: UIWindow?
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:265:32: error: cannot find type 'UIView' in scope
var lastPosition: (container: UIView, frame: CGRect)?
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:266:26: error: cannot find type 'UIImageView' in scope
var anchorCapturedView: UIImageView?
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:267:27: error: cannot find type 'UIImageView' in scope
var contentCapturedView: UIImageView?
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:268:22: error: cannot find type 'UIView' in scope
var transitionView: UIView?
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:274:23: error: cannot find type 'UIInterfaceOrientation' in scope
var lastOrientation: UIInterfaceOrientation?
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:276:18: error: cannot find type 'UITapGestureRecognizer' in scope
var tapGesture: UITapGestureRecognizer?
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:277:18: error: cannot find type 'UIPanGestureRecognizer' in scope
var panGesture: UIPanGestureRecognizer?
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:301:23: error: method does not override any method from its superclass
public override func viewDidLoad() {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:317:23: error: method does not override any method from its superclass
public override func viewDidAppear(_ animated: Bool) {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:322:23: error: method does not override any method from its superclass
public override func viewDidDisappear(_ animated: Bool) {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:327:23: error: method does not override any method from its superclass
public override func viewDidLayoutSubviews() {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:533:23: error: method does not override any method from its superclass
public override func dismiss(animated: Bool, completion: (() -> Void)? = nil) {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:700:63: error: cannot find type 'UIView' in scope
private func animationBlock(duration: TimeInterval, options: UIView.AnimationOptions, animations: @escaping (() -> Void), completion: ((Bool) -> Void)? = nil) {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:710:42: error: cannot find type 'UIImageView' in scope
private func capture(_ view: UIView) -> UIImageView {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:710:31: error: cannot find type 'UIView' in scope
private func capture(_ view: UIView) -> UIImageView {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:720:36: error: cannot find type 'UIView' in scope
private func captureImage(_ view: UIView) -> UIImage? {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:735:53: error: cannot find type 'UIImageView' in scope
private func removeCapturedView(_ imageView: inout UIImageView?) {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:863:30: error: cannot find type 'UIPanGestureRecognizer' in scope
@objc func onPan(_ gesture: UIPanGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:964:30: error: cannot find type 'UIGestureRecognizerDelegate' in scope
extension NKModalController: UIGestureRecognizerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:966:53: error: cannot find type 'UIGestureRecognizer' in scope
public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:966:95: error: cannot find type 'UITouch' in scope
public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:983:29: error: cannot find type 'UIViewController' in scope
var visibleViewController: UIViewController? {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:989:22: error: property does not override any property from its superclass
public override var shouldAutorotate: Bool {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:993:54: error: cannot find type 'UIInterfaceOrientationMask' in scope
public override var supportedInterfaceOrientations: UIInterfaceOrientationMask {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:997:68: error: cannot find type 'UIInterfaceOrientation' in scope
public override var preferredInterfaceOrientationForPresentation: UIInterfaceOrientation {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1007:22: error: property does not override any property from its superclass
public override var prefersStatusBarHidden: Bool {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1011:47: error: cannot find type 'UIStatusBarStyle' in scope
public override var preferredStatusBarStyle: UIStatusBarStyle {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1015:57: error: cannot find type 'UIStatusBarAnimation' in scope
public override var preferredStatusBarUpdateAnimation: UIStatusBarAnimation {
^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:980:46: error: cannot find type 'UIViewController' in scope
public class NKModalContainerViewController: UIViewController {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1023:11: error: cannot find type 'UIViewController' in scope
extension UIViewController {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1037:21: warning: static property '_onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var _onceTracker = [String]()
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1037:21: note: convert '_onceTracker' to a 'let' constant to make 'Sendable' shared state immutable
private static var _onceTracker = [String]()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1037:21: note: add '@MainActor' to make static property '_onceTracker' part of global actor 'MainActor'
private static var _onceTracker = [String]()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1037:21: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var _onceTracker = [String]()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:22:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NKModalPresenter' may have shared mutable state; this is an error in the Swift 6 language mode
public static let shared = NKModalPresenter()
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:21:14: note: class 'NKModalPresenter' does not conform to the 'Sendable' protocol
public class NKModalPresenter {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:22:20: note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
public static let shared = NKModalPresenter()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:22:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let shared = NKModalPresenter()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:34:38: error: cannot find type 'UIViewController' in scope
public func present(viewController: UIViewController, animate: NKModalPresentAnimation? = nil, to position: NKModalPresentPosition? = nil) -> NKModalController {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:43:38: error: cannot find type 'UIViewController' in scope
public func dismiss(viewController: UIViewController, animated: Bool, completion: (() -> Void)? = nil) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:63:57: error: cannot find type 'UIViewController' in scope
public func modalController(containing viewController: UIViewController) -> NKModalController? {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:67:47: error: cannot find type 'UIView' in scope
public func modalController(containing view: UIView) -> NKModalController? {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:83:11: error: cannot find type 'UIViewController' in scope
extension UIViewController {
^~~~~~~~~~~~~~~~
Failed frontend command:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift -target arm64-apple-watchos5.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -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/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter_const_extract_protocols.json -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -enable-experimental-feature DebugDescriptionMacro -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name NKModalPresenter -frontend-parseable-output -disable-clang-spi -target-sdk-version 11.4 -target-sdk-name watchos11.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.abi.json
SwiftCompile normal arm64_32 Compiling\ NKModalPresenter.swift /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k Compiling\ NKModalController.swift /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ NKModalPresenter.swift /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k Compiling\ NKModalPresenter.swift /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ NKModalController.swift /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ NKModalController.swift /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
** BUILD FAILED **
The following build commands failed:
EmitSwiftModule normal arm64_32 (in target 'NKModalPresenter' from project 'NKModalPresenter')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ NKModalPresenter (in target 'NKModalPresenter' from project 'NKModalPresenter')
SwiftEmitModule normal armv7k Emitting\ module\ for\ NKModalPresenter (in target 'NKModalPresenter' from project 'NKModalPresenter')
EmitSwiftModule normal armv7k (in target 'NKModalPresenter' from project 'NKModalPresenter')
EmitSwiftModule normal arm64 (in target 'NKModalPresenter' from project 'NKModalPresenter')
SwiftEmitModule normal arm64 Emitting\ module\ for\ NKModalPresenter (in target 'NKModalPresenter' from project 'NKModalPresenter')
Building workspace spi-builder-workspace with scheme NKModalPresenter
(7 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
Invalid Exclude '/Users/admin/builder/spi-builder-workspace/NKModalPresenter/Example': File not found.
Resolved source packages:
NKModalPresenter: /Users/admin/builder/spi-builder-workspace
resolved source packages: NKModalPresenter
{
"dependencies" : [
],
"manifest_display_name" : "NKModalPresenter",
"name" : "NKModalPresenter",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "9.0"
}
],
"products" : [
{
"name" : "NKModalPresenter",
"targets" : [
"NKModalPresenter"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "NKModalPresenter",
"module_type" : "SwiftTarget",
"name" : "NKModalPresenter",
"path" : "NKModalPresenter",
"product_memberships" : [
"NKModalPresenter"
],
"sources" : [
"NKModalController.swift",
"NKModalPresenter.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/NKModalPresenter/Example': File not found.
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"NKModalPresenter"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme NKModalPresenter -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme NKModalPresenter -destination generic/platform=watchOS
Resolve Package Graph
Invalid Exclude '/Users/admin/builder/spi-builder-workspace/NKModalPresenter/Example': File not found.
Resolved source packages:
NKModalPresenter: /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 'NKModalPresenter' in project 'NKModalPresenter'
➜ Explicit dependency on target 'NKModalPresenter' in project 'NKModalPresenter'
Target 'NKModalPresenter' in project 'NKModalPresenter' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 3325477a01162673826f94631a532432
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/3325477a01162673826f94631a532432.xcbuilddata
ClangStatCache /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache
SwiftDriver NKModalPresenter normal arm64 com.apple.xcode.tools.swift.compiler (in target 'NKModalPresenter' from project 'NKModalPresenter')
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 NKModalPresenter -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target arm64-apple-watchos5.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter-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/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.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/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.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/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver NKModalPresenter normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'NKModalPresenter' from project 'NKModalPresenter')
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 NKModalPresenter -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64_32/NKModalPresenter.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target arm64_32-apple-watchos5.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64_32/NKModalPresenter-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/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64_32/NKModalPresenter.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/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64_32/NKModalPresenter_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.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/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64_32/NKModalPresenter-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver NKModalPresenter normal armv7k com.apple.xcode.tools.swift.compiler (in target 'NKModalPresenter' from project 'NKModalPresenter')
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 NKModalPresenter -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/armv7k/NKModalPresenter.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target armv7k-apple-watchos5.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/armv7k/NKModalPresenter-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/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/armv7k/NKModalPresenter.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/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/armv7k/NKModalPresenter_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.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/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/armv7k/NKModalPresenter-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ NKModalPresenter (in target 'NKModalPresenter' from project 'NKModalPresenter')
EmitSwiftModule normal arm64_32 (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:28:18: error: cannot find type 'UIView' in scope
case from(view: UIView)
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:21:13: error: type 'NKModalPresentAnimation' does not conform to protocol 'Equatable'
public enum NKModalPresentAnimation: Equatable {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:28:18: note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'NKModalPresentAnimation' to 'Equatable'
case from(view: UIView)
^
Swift.==:1:24: note: candidate would match if 'NKModalPresentAnimation' conformed to 'RawRepresentable'
@inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
^
Swift.FloatingPoint.==:2:20: note: candidate would match if 'NKModalPresentAnimation' conformed to 'FloatingPoint'
public static func == (lhs: Self, rhs: Self) -> Bool}
^
Swift.BinaryInteger.==:2:20: note: candidate would match if 'NKModalPresentAnimation' conformed to 'BinaryInteger'
public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
^
Swift._Pointer.==:2:20: note: candidate would match if 'NKModalPresentAnimation' conformed to '_Pointer'
public static func == (lhs: Self, rhs: Self) -> Bool}
^
Swift._Pointer.==:2:31: note: candidate would match if 'NKModalPresentAnimation' conformed to '_Pointer'
@inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
^
Swift.Strideable.==:2:31: note: candidate would match if 'NKModalPresentAnimation' conformed to 'Strideable'
@inlinable public static func == (x: Self, y: Self) -> Bool}
^
Swift.StringProtocol.==:2:31: note: candidate would match if 'NKModalPresentAnimation' conformed to 'StringProtocol'
@inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
^
Swift.SIMD.==:2:20: note: candidate would match if 'NKModalPresentAnimation' conformed to 'SIMD'
public static func == (a: Self, b: Self) -> Bool}
^
CoreFoundation._CFObject.==:2:20: note: candidate would match if 'NKModalPresentAnimation' conformed to '_CFObject'
public static func == (left: Self, right: Self) -> Bool}
^
Foundation.AttributedStringProtocol.==:2:20: note: candidate would match if 'NKModalPresentAnimation' conformed to 'AttributedStringProtocol'
public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
^
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'NKModalPresentAnimation' conformed to '_BridgedStoredNSError'
public static func == (lhs: Self, rhs: Self) -> Bool}
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:21:13: note: add stubs for conformance
public enum NKModalPresentAnimation: Equatable {
^
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(NKModalPresentAnimation, NKModalPresentAnimation) -> Bool'
static func == (lhs: Self, rhs: Self) -> Bool}
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:38:16: error: cannot find type 'UIView' in scope
case to(view: UIView)
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:31:13: error: type 'NKModalDismissAnimation' does not conform to protocol 'Equatable'
public enum NKModalDismissAnimation: Equatable {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:38:16: note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'NKModalDismissAnimation' to 'Equatable'
case to(view: UIView)
^
Swift.==:1:24: note: candidate would match if 'NKModalDismissAnimation' conformed to 'RawRepresentable'
@inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
^
Swift.FloatingPoint.==:2:20: note: candidate would match if 'NKModalDismissAnimation' conformed to 'FloatingPoint'
public static func == (lhs: Self, rhs: Self) -> Bool}
^
Swift.BinaryInteger.==:2:20: note: candidate would match if 'NKModalDismissAnimation' conformed to 'BinaryInteger'
public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
^
Swift._Pointer.==:2:20: note: candidate would match if 'NKModalDismissAnimation' conformed to '_Pointer'
public static func == (lhs: Self, rhs: Self) -> Bool}
^
Swift._Pointer.==:2:31: note: candidate would match if 'NKModalDismissAnimation' conformed to '_Pointer'
@inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
^
Swift.Strideable.==:2:31: note: candidate would match if 'NKModalDismissAnimation' conformed to 'Strideable'
@inlinable public static func == (x: Self, y: Self) -> Bool}
^
Swift.StringProtocol.==:2:31: note: candidate would match if 'NKModalDismissAnimation' conformed to 'StringProtocol'
@inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
^
Swift.SIMD.==:2:20: note: candidate would match if 'NKModalDismissAnimation' conformed to 'SIMD'
public static func == (a: Self, b: Self) -> Bool}
^
CoreFoundation._CFObject.==:2:20: note: candidate would match if 'NKModalDismissAnimation' conformed to '_CFObject'
public static func == (left: Self, right: Self) -> Bool}
^
Foundation.AttributedStringProtocol.==:2:20: note: candidate would match if 'NKModalDismissAnimation' conformed to 'AttributedStringProtocol'
public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
^
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'NKModalDismissAnimation' conformed to '_BridgedStoredNSError'
public static func == (lhs: Self, rhs: Self) -> Bool}
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:31:13: note: add stubs for conformance
public enum NKModalDismissAnimation: Equatable {
^
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(NKModalDismissAnimation, NKModalDismissAnimation) -> Bool'
static func == (lhs: Self, rhs: Self) -> Bool}
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:50:84: error: cannot find type 'UIViewController' in scope
func modalController(_ controller: NKModalController, willPresent viewController: UIViewController)
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:51:83: error: cannot find type 'UIViewController' in scope
func modalController(_ controller: NKModalController, didPresent viewController: UIViewController)
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:52:84: error: cannot find type 'UIViewController' in scope
func modalController(_ controller: NKModalController, willDismiss viewController: UIViewController)
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:53:83: error: cannot find type 'UIViewController' in scope
func modalController(_ controller: NKModalController, didDismiss viewController: UIViewController)
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:54:67: error: cannot find type 'UIGestureRecognizer' in scope
func modalController(_ controller: NKModalController, dragState: UIGestureRecognizer.State)
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:61:71: error: cannot find type 'UIViewController' in scope
func presentingViewController(modalController: NKModalController) -> UIViewController?
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:62:59: error: cannot find type 'UIModalPresentationStyle' in scope
func presentStyle(modalController: NKModalController) -> UIModalPresentationStyle
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:70:57: error: cannot find type 'CACornerMask' in scope
func cornerMask(modalController: NKModalController) -> CACornerMask
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:71:58: error: cannot find type 'UIWindow' in scope
func windowLevel(modalController: NKModalController) -> UIWindow.Level
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:72:61: error: cannot find type 'UIView' in scope
func transitionView(modalController: NKModalController) -> UIView?
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:73:72: error: cannot find type 'UIView' in scope
func transitionViewContentMode(modalController: NKModalController) -> UIView.ContentMode?
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:79:84: error: cannot find type 'UIViewController' in scope
func modalController(_ controller: NKModalController, willPresent viewController: UIViewController) {}
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:80:83: error: cannot find type 'UIViewController' in scope
func modalController(_ controller: NKModalController, didPresent viewController: UIViewController) {}
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:81:84: error: cannot find type 'UIViewController' in scope
func modalController(_ controller: NKModalController, willDismiss viewController: UIViewController) {}
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:82:83: error: cannot find type 'UIViewController' in scope
func modalController(_ controller: NKModalController, didDismiss viewController: UIViewController) {}
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:83:67: error: cannot find type 'UIGestureRecognizer' in scope
func modalController(_ controller: NKModalController, dragState: UIGestureRecognizer.State) {}
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:90:71: error: cannot find type 'UIViewController' in scope
func presentingViewController(modalController: NKModalController) -> UIViewController? { nil }
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:91:59: error: cannot find type 'UIModalPresentationStyle' in scope
func presentStyle(modalController: NKModalController) -> UIModalPresentationStyle { .custom }
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:99:57: error: cannot find type 'CACornerMask' in scope
func cornerMask(modalController: NKModalController) -> CACornerMask { [.layerMaxXMaxYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMinXMinYCorner] }
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:100:58: error: cannot find type 'UIWindow' in scope
func windowLevel(modalController: NKModalController) -> UIWindow.Level { .normal + 1 }
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:101:61: error: cannot find type 'UIView' in scope
func transitionView(modalController: NKModalController) -> UIView? { nil }
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:102:72: error: cannot find type 'UIView' in scope
func transitionViewContentMode(modalController: NKModalController) -> UIView.ContentMode? { nil }
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:108:32: error: cannot find type 'UIView' in scope
func toPresentAnimation(view: UIView) -> NKModalPresentAnimation {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:137:32: error: cannot find type 'UIView' in scope
func toDismissAnimation(view: UIView) -> NKModalDismissAnimation {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:170:32: error: cannot find type 'UIView' in scope
func toDismissAnimation(view: UIView) -> NKModalDismissAnimation {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:185:30: error: cannot find type 'UIView' in scope
func toAnimationOption() -> UIView.AnimationOptions {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:196:11: error: cannot find type 'UIWindow' in scope
extension UIWindow {
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:279:30: error: cannot find type 'UIViewController' in scope
public init(viewController: UIViewController) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:233:43: error: cannot find type 'UIView' in scope
public fileprivate(set) var contentView: UIView!
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:234:25: error: cannot find type 'UIView' in scope
public var anchorView: UIView? {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:254:32: error: cannot find type 'CACornerMask' in scope
public static var cornerMask: CACornerMask = [.layerMaxXMaxYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMinXMinYCorner]
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:260:25: error: cannot find type 'CACornerMask' in scope
public var cornerMask: CACornerMask = NKModalController.cornerMask
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:262:22: error: cannot find 'UIView' in scope
let containerView = UIView()
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:263:14: error: cannot find type 'UIWindow' in scope
var window: UIWindow?
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:264:23: error: cannot find type 'UIWindow' in scope
weak var lastWindow: UIWindow?
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:265:32: error: cannot find type 'UIView' in scope
var lastPosition: (container: UIView, frame: CGRect)?
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:266:26: error: cannot find type 'UIImageView' in scope
var anchorCapturedView: UIImageView?
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:267:27: error: cannot find type 'UIImageView' in scope
var contentCapturedView: UIImageView?
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:268:22: error: cannot find type 'UIView' in scope
var transitionView: UIView?
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:274:23: error: cannot find type 'UIInterfaceOrientation' in scope
var lastOrientation: UIInterfaceOrientation?
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:276:18: error: cannot find type 'UITapGestureRecognizer' in scope
var tapGesture: UITapGestureRecognizer?
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:277:18: error: cannot find type 'UIPanGestureRecognizer' in scope
var panGesture: UIPanGestureRecognizer?
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:301:23: error: method does not override any method from its superclass
public override func viewDidLoad() {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:317:23: error: method does not override any method from its superclass
public override func viewDidAppear(_ animated: Bool) {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:322:23: error: method does not override any method from its superclass
public override func viewDidDisappear(_ animated: Bool) {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:327:23: error: method does not override any method from its superclass
public override func viewDidLayoutSubviews() {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:533:23: error: method does not override any method from its superclass
public override func dismiss(animated: Bool, completion: (() -> Void)? = nil) {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:700:63: error: cannot find type 'UIView' in scope
private func animationBlock(duration: TimeInterval, options: UIView.AnimationOptions, animations: @escaping (() -> Void), completion: ((Bool) -> Void)? = nil) {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:710:42: error: cannot find type 'UIImageView' in scope
private func capture(_ view: UIView) -> UIImageView {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:710:31: error: cannot find type 'UIView' in scope
private func capture(_ view: UIView) -> UIImageView {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:720:36: error: cannot find type 'UIView' in scope
private func captureImage(_ view: UIView) -> UIImage? {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:735:53: error: cannot find type 'UIImageView' in scope
private func removeCapturedView(_ imageView: inout UIImageView?) {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:863:30: error: cannot find type 'UIPanGestureRecognizer' in scope
@objc func onPan(_ gesture: UIPanGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:964:30: error: cannot find type 'UIGestureRecognizerDelegate' in scope
extension NKModalController: UIGestureRecognizerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:966:53: error: cannot find type 'UIGestureRecognizer' in scope
public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:966:95: error: cannot find type 'UITouch' in scope
public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:981:53: error: cannot find type 'UIViewController' in scope
public fileprivate(set) var contentViewController: UIViewController!
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:983:29: error: cannot find type 'UIViewController' in scope
var visibleViewController: UIViewController? {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:989:22: error: property does not override any property from its superclass
public override var shouldAutorotate: Bool {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:993:54: error: cannot find type 'UIInterfaceOrientationMask' in scope
public override var supportedInterfaceOrientations: UIInterfaceOrientationMask {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:997:68: error: cannot find type 'UIInterfaceOrientation' in scope
public override var preferredInterfaceOrientationForPresentation: UIInterfaceOrientation {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1007:22: error: property does not override any property from its superclass
public override var prefersStatusBarHidden: Bool {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1011:47: error: cannot find type 'UIStatusBarStyle' in scope
public override var preferredStatusBarStyle: UIStatusBarStyle {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1015:57: error: cannot find type 'UIStatusBarAnimation' in scope
public override var preferredStatusBarUpdateAnimation: UIStatusBarAnimation {
^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:980:46: error: cannot find type 'UIViewController' in scope
public class NKModalContainerViewController: UIViewController {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1023:11: error: cannot find type 'UIViewController' in scope
extension UIViewController {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:34:38: error: cannot find type 'UIViewController' in scope
public func present(viewController: UIViewController, animate: NKModalPresentAnimation? = nil, to position: NKModalPresentPosition? = nil) -> NKModalController {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:43:38: error: cannot find type 'UIViewController' in scope
public func dismiss(viewController: UIViewController, animated: Bool, completion: (() -> Void)? = nil) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:63:57: error: cannot find type 'UIViewController' in scope
public func modalController(containing viewController: UIViewController) -> NKModalController? {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:67:47: error: cannot find type 'UIView' in scope
public func modalController(containing view: UIView) -> NKModalController? {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:83:11: error: cannot find type 'UIViewController' in scope
extension UIViewController {
^~~~~~~~~~~~~~~~
Failed frontend command:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift -target arm64_32-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -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/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64_32/NKModalPresenter_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name NKModalPresenter -frontend-parseable-output -disable-clang-spi -target-sdk-version 11.4 -target-sdk-name watchos11.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64_32/NKModalPresenter.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64_32/NKModalPresenter.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64_32/NKModalPresenter-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64_32/NKModalPresenter-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64_32/NKModalPresenter-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64_32/NKModalPresenter.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64_32/NKModalPresenter.abi.json
SwiftEmitModule normal arm64 Emitting\ module\ for\ NKModalPresenter (in target 'NKModalPresenter' from project 'NKModalPresenter')
EmitSwiftModule normal arm64 (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:28:18: error: cannot find type 'UIView' in scope
case from(view: UIView)
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:21:13: error: type 'NKModalPresentAnimation' does not conform to protocol 'Equatable'
public enum NKModalPresentAnimation: Equatable {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:28:18: note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'NKModalPresentAnimation' to 'Equatable'
case from(view: UIView)
^
Swift.==:1:24: note: candidate would match if 'NKModalPresentAnimation' conformed to 'RawRepresentable'
@inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
^
Swift.FloatingPoint.==:2:20: note: candidate would match if 'NKModalPresentAnimation' conformed to 'FloatingPoint'
public static func == (lhs: Self, rhs: Self) -> Bool}
^
Swift.BinaryInteger.==:2:20: note: candidate would match if 'NKModalPresentAnimation' conformed to 'BinaryInteger'
public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
^
Swift._Pointer.==:2:20: note: candidate would match if 'NKModalPresentAnimation' conformed to '_Pointer'
public static func == (lhs: Self, rhs: Self) -> Bool}
^
Swift._Pointer.==:2:31: note: candidate would match if 'NKModalPresentAnimation' conformed to '_Pointer'
@inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
^
Swift.Strideable.==:2:31: note: candidate would match if 'NKModalPresentAnimation' conformed to 'Strideable'
@inlinable public static func == (x: Self, y: Self) -> Bool}
^
Swift.StringProtocol.==:2:31: note: candidate would match if 'NKModalPresentAnimation' conformed to 'StringProtocol'
@inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
^
Swift.SIMD.==:2:20: note: candidate would match if 'NKModalPresentAnimation' conformed to 'SIMD'
public static func == (a: Self, b: Self) -> Bool}
^
CoreFoundation._CFObject.==:2:20: note: candidate would match if 'NKModalPresentAnimation' conformed to '_CFObject'
public static func == (left: Self, right: Self) -> Bool}
^
Foundation.AttributedStringProtocol.==:2:20: note: candidate would match if 'NKModalPresentAnimation' conformed to 'AttributedStringProtocol'
public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
^
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'NKModalPresentAnimation' conformed to '_BridgedStoredNSError'
public static func == (lhs: Self, rhs: Self) -> Bool}
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:21:13: note: add stubs for conformance
public enum NKModalPresentAnimation: Equatable {
^
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(NKModalPresentAnimation, NKModalPresentAnimation) -> Bool'
static func == (lhs: Self, rhs: Self) -> Bool}
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:38:16: error: cannot find type 'UIView' in scope
case to(view: UIView)
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:31:13: error: type 'NKModalDismissAnimation' does not conform to protocol 'Equatable'
public enum NKModalDismissAnimation: Equatable {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:38:16: note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'NKModalDismissAnimation' to 'Equatable'
case to(view: UIView)
^
Swift.==:1:24: note: candidate would match if 'NKModalDismissAnimation' conformed to 'RawRepresentable'
@inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
^
Swift.FloatingPoint.==:2:20: note: candidate would match if 'NKModalDismissAnimation' conformed to 'FloatingPoint'
public static func == (lhs: Self, rhs: Self) -> Bool}
^
Swift.BinaryInteger.==:2:20: note: candidate would match if 'NKModalDismissAnimation' conformed to 'BinaryInteger'
public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
^
Swift._Pointer.==:2:20: note: candidate would match if 'NKModalDismissAnimation' conformed to '_Pointer'
public static func == (lhs: Self, rhs: Self) -> Bool}
^
Swift._Pointer.==:2:31: note: candidate would match if 'NKModalDismissAnimation' conformed to '_Pointer'
@inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
^
Swift.Strideable.==:2:31: note: candidate would match if 'NKModalDismissAnimation' conformed to 'Strideable'
@inlinable public static func == (x: Self, y: Self) -> Bool}
^
Swift.StringProtocol.==:2:31: note: candidate would match if 'NKModalDismissAnimation' conformed to 'StringProtocol'
@inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
^
Swift.SIMD.==:2:20: note: candidate would match if 'NKModalDismissAnimation' conformed to 'SIMD'
public static func == (a: Self, b: Self) -> Bool}
^
CoreFoundation._CFObject.==:2:20: note: candidate would match if 'NKModalDismissAnimation' conformed to '_CFObject'
public static func == (left: Self, right: Self) -> Bool}
^
Foundation.AttributedStringProtocol.==:2:20: note: candidate would match if 'NKModalDismissAnimation' conformed to 'AttributedStringProtocol'
public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
^
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'NKModalDismissAnimation' conformed to '_BridgedStoredNSError'
public static func == (lhs: Self, rhs: Self) -> Bool}
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:31:13: note: add stubs for conformance
public enum NKModalDismissAnimation: Equatable {
^
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(NKModalDismissAnimation, NKModalDismissAnimation) -> Bool'
static func == (lhs: Self, rhs: Self) -> Bool}
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:50:84: error: cannot find type 'UIViewController' in scope
func modalController(_ controller: NKModalController, willPresent viewController: UIViewController)
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:51:83: error: cannot find type 'UIViewController' in scope
func modalController(_ controller: NKModalController, didPresent viewController: UIViewController)
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:52:84: error: cannot find type 'UIViewController' in scope
func modalController(_ controller: NKModalController, willDismiss viewController: UIViewController)
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:53:83: error: cannot find type 'UIViewController' in scope
func modalController(_ controller: NKModalController, didDismiss viewController: UIViewController)
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:54:67: error: cannot find type 'UIGestureRecognizer' in scope
func modalController(_ controller: NKModalController, dragState: UIGestureRecognizer.State)
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:61:71: error: cannot find type 'UIViewController' in scope
func presentingViewController(modalController: NKModalController) -> UIViewController?
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:62:59: error: cannot find type 'UIModalPresentationStyle' in scope
func presentStyle(modalController: NKModalController) -> UIModalPresentationStyle
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:70:57: error: cannot find type 'CACornerMask' in scope
func cornerMask(modalController: NKModalController) -> CACornerMask
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:71:58: error: cannot find type 'UIWindow' in scope
func windowLevel(modalController: NKModalController) -> UIWindow.Level
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:72:61: error: cannot find type 'UIView' in scope
func transitionView(modalController: NKModalController) -> UIView?
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:73:72: error: cannot find type 'UIView' in scope
func transitionViewContentMode(modalController: NKModalController) -> UIView.ContentMode?
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:79:84: error: cannot find type 'UIViewController' in scope
func modalController(_ controller: NKModalController, willPresent viewController: UIViewController) {}
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:80:83: error: cannot find type 'UIViewController' in scope
func modalController(_ controller: NKModalController, didPresent viewController: UIViewController) {}
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:81:84: error: cannot find type 'UIViewController' in scope
func modalController(_ controller: NKModalController, willDismiss viewController: UIViewController) {}
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:82:83: error: cannot find type 'UIViewController' in scope
func modalController(_ controller: NKModalController, didDismiss viewController: UIViewController) {}
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:83:67: error: cannot find type 'UIGestureRecognizer' in scope
func modalController(_ controller: NKModalController, dragState: UIGestureRecognizer.State) {}
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:90:71: error: cannot find type 'UIViewController' in scope
func presentingViewController(modalController: NKModalController) -> UIViewController? { nil }
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:91:59: error: cannot find type 'UIModalPresentationStyle' in scope
func presentStyle(modalController: NKModalController) -> UIModalPresentationStyle { .custom }
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:99:57: error: cannot find type 'CACornerMask' in scope
func cornerMask(modalController: NKModalController) -> CACornerMask { [.layerMaxXMaxYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMinXMinYCorner] }
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:100:58: error: cannot find type 'UIWindow' in scope
func windowLevel(modalController: NKModalController) -> UIWindow.Level { .normal + 1 }
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:101:61: error: cannot find type 'UIView' in scope
func transitionView(modalController: NKModalController) -> UIView? { nil }
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:102:72: error: cannot find type 'UIView' in scope
func transitionViewContentMode(modalController: NKModalController) -> UIView.ContentMode? { nil }
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:108:32: error: cannot find type 'UIView' in scope
func toPresentAnimation(view: UIView) -> NKModalPresentAnimation {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:137:32: error: cannot find type 'UIView' in scope
func toDismissAnimation(view: UIView) -> NKModalDismissAnimation {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:170:32: error: cannot find type 'UIView' in scope
func toDismissAnimation(view: UIView) -> NKModalDismissAnimation {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:185:30: error: cannot find type 'UIView' in scope
func toAnimationOption() -> UIView.AnimationOptions {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:196:11: error: cannot find type 'UIWindow' in scope
extension UIWindow {
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:279:30: error: cannot find type 'UIViewController' in scope
public init(viewController: UIViewController) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:233:43: error: cannot find type 'UIView' in scope
public fileprivate(set) var contentView: UIView!
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:234:25: error: cannot find type 'UIView' in scope
public var anchorView: UIView? {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:254:32: error: cannot find type 'CACornerMask' in scope
public static var cornerMask: CACornerMask = [.layerMaxXMaxYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMinXMinYCorner]
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:260:25: error: cannot find type 'CACornerMask' in scope
public var cornerMask: CACornerMask = NKModalController.cornerMask
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:262:22: error: cannot find 'UIView' in scope
let containerView = UIView()
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:263:14: error: cannot find type 'UIWindow' in scope
var window: UIWindow?
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:264:23: error: cannot find type 'UIWindow' in scope
weak var lastWindow: UIWindow?
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:265:32: error: cannot find type 'UIView' in scope
var lastPosition: (container: UIView, frame: CGRect)?
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:266:26: error: cannot find type 'UIImageView' in scope
var anchorCapturedView: UIImageView?
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:267:27: error: cannot find type 'UIImageView' in scope
var contentCapturedView: UIImageView?
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:268:22: error: cannot find type 'UIView' in scope
var transitionView: UIView?
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:274:23: error: cannot find type 'UIInterfaceOrientation' in scope
var lastOrientation: UIInterfaceOrientation?
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:276:18: error: cannot find type 'UITapGestureRecognizer' in scope
var tapGesture: UITapGestureRecognizer?
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:277:18: error: cannot find type 'UIPanGestureRecognizer' in scope
var panGesture: UIPanGestureRecognizer?
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:301:23: error: method does not override any method from its superclass
public override func viewDidLoad() {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:317:23: error: method does not override any method from its superclass
public override func viewDidAppear(_ animated: Bool) {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:322:23: error: method does not override any method from its superclass
public override func viewDidDisappear(_ animated: Bool) {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:327:23: error: method does not override any method from its superclass
public override func viewDidLayoutSubviews() {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:533:23: error: method does not override any method from its superclass
public override func dismiss(animated: Bool, completion: (() -> Void)? = nil) {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:700:63: error: cannot find type 'UIView' in scope
private func animationBlock(duration: TimeInterval, options: UIView.AnimationOptions, animations: @escaping (() -> Void), completion: ((Bool) -> Void)? = nil) {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:710:42: error: cannot find type 'UIImageView' in scope
private func capture(_ view: UIView) -> UIImageView {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:710:31: error: cannot find type 'UIView' in scope
private func capture(_ view: UIView) -> UIImageView {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:720:36: error: cannot find type 'UIView' in scope
private func captureImage(_ view: UIView) -> UIImage? {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:735:53: error: cannot find type 'UIImageView' in scope
private func removeCapturedView(_ imageView: inout UIImageView?) {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:863:30: error: cannot find type 'UIPanGestureRecognizer' in scope
@objc func onPan(_ gesture: UIPanGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:964:30: error: cannot find type 'UIGestureRecognizerDelegate' in scope
extension NKModalController: UIGestureRecognizerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:966:53: error: cannot find type 'UIGestureRecognizer' in scope
public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:966:95: error: cannot find type 'UITouch' in scope
public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:981:53: error: cannot find type 'UIViewController' in scope
public fileprivate(set) var contentViewController: UIViewController!
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:983:29: error: cannot find type 'UIViewController' in scope
var visibleViewController: UIViewController? {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:989:22: error: property does not override any property from its superclass
public override var shouldAutorotate: Bool {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:993:54: error: cannot find type 'UIInterfaceOrientationMask' in scope
public override var supportedInterfaceOrientations: UIInterfaceOrientationMask {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:997:68: error: cannot find type 'UIInterfaceOrientation' in scope
public override var preferredInterfaceOrientationForPresentation: UIInterfaceOrientation {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1007:22: error: property does not override any property from its superclass
public override var prefersStatusBarHidden: Bool {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1011:47: error: cannot find type 'UIStatusBarStyle' in scope
public override var preferredStatusBarStyle: UIStatusBarStyle {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1015:57: error: cannot find type 'UIStatusBarAnimation' in scope
public override var preferredStatusBarUpdateAnimation: UIStatusBarAnimation {
^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:980:46: error: cannot find type 'UIViewController' in scope
public class NKModalContainerViewController: UIViewController {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1023:11: error: cannot find type 'UIViewController' in scope
extension UIViewController {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:34:38: error: cannot find type 'UIViewController' in scope
public func present(viewController: UIViewController, animate: NKModalPresentAnimation? = nil, to position: NKModalPresentPosition? = nil) -> NKModalController {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:43:38: error: cannot find type 'UIViewController' in scope
public func dismiss(viewController: UIViewController, animated: Bool, completion: (() -> Void)? = nil) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:63:57: error: cannot find type 'UIViewController' in scope
public func modalController(containing viewController: UIViewController) -> NKModalController? {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:67:47: error: cannot find type 'UIView' in scope
public func modalController(containing view: UIView) -> NKModalController? {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:83:11: error: cannot find type 'UIViewController' in scope
extension UIViewController {
^~~~~~~~~~~~~~~~
Failed frontend command:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift -target arm64-apple-watchos5.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -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/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name NKModalPresenter -frontend-parseable-output -disable-clang-spi -target-sdk-version 11.4 -target-sdk-name watchos11.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.abi.json
SwiftCompile normal arm64 Compiling\ NKModalController.swift /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal armv7k Emitting\ module\ for\ NKModalPresenter (in target 'NKModalPresenter' from project 'NKModalPresenter')
EmitSwiftModule normal armv7k (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:28:18: error: cannot find type 'UIView' in scope
case from(view: UIView)
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:21:13: error: type 'NKModalPresentAnimation' does not conform to protocol 'Equatable'
public enum NKModalPresentAnimation: Equatable {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:28:18: note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'NKModalPresentAnimation' to 'Equatable'
case from(view: UIView)
^
Swift.==:1:24: note: candidate would match if 'NKModalPresentAnimation' conformed to 'RawRepresentable'
@inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
^
Swift.FloatingPoint.==:2:20: note: candidate would match if 'NKModalPresentAnimation' conformed to 'FloatingPoint'
public static func == (lhs: Self, rhs: Self) -> Bool}
^
Swift.BinaryInteger.==:2:20: note: candidate would match if 'NKModalPresentAnimation' conformed to 'BinaryInteger'
public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
^
Swift._Pointer.==:2:20: note: candidate would match if 'NKModalPresentAnimation' conformed to '_Pointer'
public static func == (lhs: Self, rhs: Self) -> Bool}
^
Swift._Pointer.==:2:31: note: candidate would match if 'NKModalPresentAnimation' conformed to '_Pointer'
@inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
^
Swift.Strideable.==:2:31: note: candidate would match if 'NKModalPresentAnimation' conformed to 'Strideable'
@inlinable public static func == (x: Self, y: Self) -> Bool}
^
Swift.StringProtocol.==:2:31: note: candidate would match if 'NKModalPresentAnimation' conformed to 'StringProtocol'
@inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
^
Swift.SIMD.==:2:20: note: candidate would match if 'NKModalPresentAnimation' conformed to 'SIMD'
public static func == (a: Self, b: Self) -> Bool}
^
CoreFoundation._CFObject.==:2:20: note: candidate would match if 'NKModalPresentAnimation' conformed to '_CFObject'
public static func == (left: Self, right: Self) -> Bool}
^
Foundation.AttributedStringProtocol.==:2:20: note: candidate would match if 'NKModalPresentAnimation' conformed to 'AttributedStringProtocol'
public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
^
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'NKModalPresentAnimation' conformed to '_BridgedStoredNSError'
public static func == (lhs: Self, rhs: Self) -> Bool}
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:21:13: note: add stubs for conformance
public enum NKModalPresentAnimation: Equatable {
^
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(NKModalPresentAnimation, NKModalPresentAnimation) -> Bool'
static func == (lhs: Self, rhs: Self) -> Bool}
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:38:16: error: cannot find type 'UIView' in scope
case to(view: UIView)
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:31:13: error: type 'NKModalDismissAnimation' does not conform to protocol 'Equatable'
public enum NKModalDismissAnimation: Equatable {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:38:16: note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'NKModalDismissAnimation' to 'Equatable'
case to(view: UIView)
^
Swift.==:1:24: note: candidate would match if 'NKModalDismissAnimation' conformed to 'RawRepresentable'
@inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
^
Swift.FloatingPoint.==:2:20: note: candidate would match if 'NKModalDismissAnimation' conformed to 'FloatingPoint'
public static func == (lhs: Self, rhs: Self) -> Bool}
^
Swift.BinaryInteger.==:2:20: note: candidate would match if 'NKModalDismissAnimation' conformed to 'BinaryInteger'
public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
^
Swift._Pointer.==:2:20: note: candidate would match if 'NKModalDismissAnimation' conformed to '_Pointer'
public static func == (lhs: Self, rhs: Self) -> Bool}
^
Swift._Pointer.==:2:31: note: candidate would match if 'NKModalDismissAnimation' conformed to '_Pointer'
@inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
^
Swift.Strideable.==:2:31: note: candidate would match if 'NKModalDismissAnimation' conformed to 'Strideable'
@inlinable public static func == (x: Self, y: Self) -> Bool}
^
Swift.StringProtocol.==:2:31: note: candidate would match if 'NKModalDismissAnimation' conformed to 'StringProtocol'
@inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
^
Swift.SIMD.==:2:20: note: candidate would match if 'NKModalDismissAnimation' conformed to 'SIMD'
public static func == (a: Self, b: Self) -> Bool}
^
CoreFoundation._CFObject.==:2:20: note: candidate would match if 'NKModalDismissAnimation' conformed to '_CFObject'
public static func == (left: Self, right: Self) -> Bool}
^
Foundation.AttributedStringProtocol.==:2:20: note: candidate would match if 'NKModalDismissAnimation' conformed to 'AttributedStringProtocol'
public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
^
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'NKModalDismissAnimation' conformed to '_BridgedStoredNSError'
public static func == (lhs: Self, rhs: Self) -> Bool}
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:31:13: note: add stubs for conformance
public enum NKModalDismissAnimation: Equatable {
^
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(NKModalDismissAnimation, NKModalDismissAnimation) -> Bool'
static func == (lhs: Self, rhs: Self) -> Bool}
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:50:84: error: cannot find type 'UIViewController' in scope
func modalController(_ controller: NKModalController, willPresent viewController: UIViewController)
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:51:83: error: cannot find type 'UIViewController' in scope
func modalController(_ controller: NKModalController, didPresent viewController: UIViewController)
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:52:84: error: cannot find type 'UIViewController' in scope
func modalController(_ controller: NKModalController, willDismiss viewController: UIViewController)
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:53:83: error: cannot find type 'UIViewController' in scope
func modalController(_ controller: NKModalController, didDismiss viewController: UIViewController)
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:54:67: error: cannot find type 'UIGestureRecognizer' in scope
func modalController(_ controller: NKModalController, dragState: UIGestureRecognizer.State)
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:61:71: error: cannot find type 'UIViewController' in scope
func presentingViewController(modalController: NKModalController) -> UIViewController?
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:62:59: error: cannot find type 'UIModalPresentationStyle' in scope
func presentStyle(modalController: NKModalController) -> UIModalPresentationStyle
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:70:57: error: cannot find type 'CACornerMask' in scope
func cornerMask(modalController: NKModalController) -> CACornerMask
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:71:58: error: cannot find type 'UIWindow' in scope
func windowLevel(modalController: NKModalController) -> UIWindow.Level
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:72:61: error: cannot find type 'UIView' in scope
func transitionView(modalController: NKModalController) -> UIView?
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:73:72: error: cannot find type 'UIView' in scope
func transitionViewContentMode(modalController: NKModalController) -> UIView.ContentMode?
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:79:84: error: cannot find type 'UIViewController' in scope
func modalController(_ controller: NKModalController, willPresent viewController: UIViewController) {}
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:80:83: error: cannot find type 'UIViewController' in scope
func modalController(_ controller: NKModalController, didPresent viewController: UIViewController) {}
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:81:84: error: cannot find type 'UIViewController' in scope
func modalController(_ controller: NKModalController, willDismiss viewController: UIViewController) {}
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:82:83: error: cannot find type 'UIViewController' in scope
func modalController(_ controller: NKModalController, didDismiss viewController: UIViewController) {}
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:83:67: error: cannot find type 'UIGestureRecognizer' in scope
func modalController(_ controller: NKModalController, dragState: UIGestureRecognizer.State) {}
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:90:71: error: cannot find type 'UIViewController' in scope
func presentingViewController(modalController: NKModalController) -> UIViewController? { nil }
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:91:59: error: cannot find type 'UIModalPresentationStyle' in scope
func presentStyle(modalController: NKModalController) -> UIModalPresentationStyle { .custom }
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:99:57: error: cannot find type 'CACornerMask' in scope
func cornerMask(modalController: NKModalController) -> CACornerMask { [.layerMaxXMaxYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMinXMinYCorner] }
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:100:58: error: cannot find type 'UIWindow' in scope
func windowLevel(modalController: NKModalController) -> UIWindow.Level { .normal + 1 }
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:101:61: error: cannot find type 'UIView' in scope
func transitionView(modalController: NKModalController) -> UIView? { nil }
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:102:72: error: cannot find type 'UIView' in scope
func transitionViewContentMode(modalController: NKModalController) -> UIView.ContentMode? { nil }
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:108:32: error: cannot find type 'UIView' in scope
func toPresentAnimation(view: UIView) -> NKModalPresentAnimation {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:137:32: error: cannot find type 'UIView' in scope
func toDismissAnimation(view: UIView) -> NKModalDismissAnimation {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:170:32: error: cannot find type 'UIView' in scope
func toDismissAnimation(view: UIView) -> NKModalDismissAnimation {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:185:30: error: cannot find type 'UIView' in scope
func toAnimationOption() -> UIView.AnimationOptions {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:196:11: error: cannot find type 'UIWindow' in scope
extension UIWindow {
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:279:30: error: cannot find type 'UIViewController' in scope
public init(viewController: UIViewController) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:233:43: error: cannot find type 'UIView' in scope
public fileprivate(set) var contentView: UIView!
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:234:25: error: cannot find type 'UIView' in scope
public var anchorView: UIView? {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:254:32: error: cannot find type 'CACornerMask' in scope
public static var cornerMask: CACornerMask = [.layerMaxXMaxYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMinXMinYCorner]
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:260:25: error: cannot find type 'CACornerMask' in scope
public var cornerMask: CACornerMask = NKModalController.cornerMask
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:262:22: error: cannot find 'UIView' in scope
let containerView = UIView()
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:263:14: error: cannot find type 'UIWindow' in scope
var window: UIWindow?
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:264:23: error: cannot find type 'UIWindow' in scope
weak var lastWindow: UIWindow?
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:265:32: error: cannot find type 'UIView' in scope
var lastPosition: (container: UIView, frame: CGRect)?
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:266:26: error: cannot find type 'UIImageView' in scope
var anchorCapturedView: UIImageView?
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:267:27: error: cannot find type 'UIImageView' in scope
var contentCapturedView: UIImageView?
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:268:22: error: cannot find type 'UIView' in scope
var transitionView: UIView?
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:274:23: error: cannot find type 'UIInterfaceOrientation' in scope
var lastOrientation: UIInterfaceOrientation?
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:276:18: error: cannot find type 'UITapGestureRecognizer' in scope
var tapGesture: UITapGestureRecognizer?
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:277:18: error: cannot find type 'UIPanGestureRecognizer' in scope
var panGesture: UIPanGestureRecognizer?
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:301:23: error: method does not override any method from its superclass
public override func viewDidLoad() {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:317:23: error: method does not override any method from its superclass
public override func viewDidAppear(_ animated: Bool) {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:322:23: error: method does not override any method from its superclass
public override func viewDidDisappear(_ animated: Bool) {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:327:23: error: method does not override any method from its superclass
public override func viewDidLayoutSubviews() {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:533:23: error: method does not override any method from its superclass
public override func dismiss(animated: Bool, completion: (() -> Void)? = nil) {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:700:63: error: cannot find type 'UIView' in scope
private func animationBlock(duration: TimeInterval, options: UIView.AnimationOptions, animations: @escaping (() -> Void), completion: ((Bool) -> Void)? = nil) {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:710:42: error: cannot find type 'UIImageView' in scope
private func capture(_ view: UIView) -> UIImageView {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:710:31: error: cannot find type 'UIView' in scope
private func capture(_ view: UIView) -> UIImageView {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:720:36: error: cannot find type 'UIView' in scope
private func captureImage(_ view: UIView) -> UIImage? {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:735:53: error: cannot find type 'UIImageView' in scope
private func removeCapturedView(_ imageView: inout UIImageView?) {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:863:30: error: cannot find type 'UIPanGestureRecognizer' in scope
@objc func onPan(_ gesture: UIPanGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:964:30: error: cannot find type 'UIGestureRecognizerDelegate' in scope
extension NKModalController: UIGestureRecognizerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:966:53: error: cannot find type 'UIGestureRecognizer' in scope
public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:966:95: error: cannot find type 'UITouch' in scope
public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:981:53: error: cannot find type 'UIViewController' in scope
public fileprivate(set) var contentViewController: UIViewController!
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:983:29: error: cannot find type 'UIViewController' in scope
var visibleViewController: UIViewController? {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:989:22: error: property does not override any property from its superclass
public override var shouldAutorotate: Bool {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:993:54: error: cannot find type 'UIInterfaceOrientationMask' in scope
public override var supportedInterfaceOrientations: UIInterfaceOrientationMask {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:997:68: error: cannot find type 'UIInterfaceOrientation' in scope
public override var preferredInterfaceOrientationForPresentation: UIInterfaceOrientation {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1007:22: error: property does not override any property from its superclass
public override var prefersStatusBarHidden: Bool {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1011:47: error: cannot find type 'UIStatusBarStyle' in scope
public override var preferredStatusBarStyle: UIStatusBarStyle {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1015:57: error: cannot find type 'UIStatusBarAnimation' in scope
public override var preferredStatusBarUpdateAnimation: UIStatusBarAnimation {
^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:980:46: error: cannot find type 'UIViewController' in scope
public class NKModalContainerViewController: UIViewController {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1023:11: error: cannot find type 'UIViewController' in scope
extension UIViewController {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:34:38: error: cannot find type 'UIViewController' in scope
public func present(viewController: UIViewController, animate: NKModalPresentAnimation? = nil, to position: NKModalPresentPosition? = nil) -> NKModalController {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:43:38: error: cannot find type 'UIViewController' in scope
public func dismiss(viewController: UIViewController, animated: Bool, completion: (() -> Void)? = nil) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:63:57: error: cannot find type 'UIViewController' in scope
public func modalController(containing viewController: UIViewController) -> NKModalController? {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:67:47: error: cannot find type 'UIView' in scope
public func modalController(containing view: UIView) -> NKModalController? {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:83:11: error: cannot find type 'UIViewController' in scope
extension UIViewController {
^~~~~~~~~~~~~~~~
Failed frontend command:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift -target armv7k-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -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/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/armv7k/NKModalPresenter_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name NKModalPresenter -frontend-parseable-output -disable-clang-spi -target-sdk-version 11.4 -target-sdk-name watchos11.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/armv7k/NKModalPresenter.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/armv7k/NKModalPresenter.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/armv7k/NKModalPresenter-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/armv7k/NKModalPresenter-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/armv7k/NKModalPresenter-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/armv7k/NKModalPresenter.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/armv7k/NKModalPresenter.abi.json
SwiftCompile normal arm64_32 Compiling\ NKModalPresenter.swift /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ NKModalPresenter.swift /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k Compiling\ NKModalController.swift /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ NKModalController.swift /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k Compiling\ NKModalPresenter.swift /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
** BUILD FAILED **
The following build commands failed:
EmitSwiftModule normal arm64_32 (in target 'NKModalPresenter' from project 'NKModalPresenter')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ NKModalPresenter (in target 'NKModalPresenter' from project 'NKModalPresenter')
EmitSwiftModule normal arm64 (in target 'NKModalPresenter' from project 'NKModalPresenter')
SwiftEmitModule normal arm64 Emitting\ module\ for\ NKModalPresenter (in target 'NKModalPresenter' from project 'NKModalPresenter')
EmitSwiftModule normal armv7k (in target 'NKModalPresenter' from project 'NKModalPresenter')
SwiftEmitModule normal armv7k Emitting\ module\ for\ NKModalPresenter (in target 'NKModalPresenter' from project 'NKModalPresenter')
Building workspace spi-builder-workspace with scheme NKModalPresenter
(7 failures)
BUILD FAILURE 6.1 watchOS