Build Information
Failed to build WWOnBoardingViewController, reference 1.3.2 (a3766c), with Swift 6.4 for watchOS using Xcode 27.0 on 20 Sep 2026 10:30:17 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme WWOnBoardingViewController -destination generic/platform=watchOSBuild Log
202 | /// - animated: 動畫
203 | /// - completion: ((Bool) -> Void)?
204 | func moveNextPage(to pageIndex: Int, for direction: UIPageViewController.NavigationDirection, animated: Bool, completion: ((Bool) -> Void)?) {
| `- error: 'UIPageViewController' is unavailable in watchOS
205 |
206 | guard let nextPage = pageViewControllerArray[safe: pageIndex] else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:249:55: error: 'UIPageViewController' is unavailable in watchOS
247 | /// - pageViewController: UIPageViewController
248 | /// - pendingViewControllers: [UIViewController]
249 | func willTransitionToAction(_ pageViewController: UIPageViewController, pendingViewControllers: [UIViewController], lastPageIndex: Int) {
| `- error: 'UIPageViewController' is unavailable in watchOS
250 |
251 | guard let nextController = pendingViewControllers.first,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:249:102: error: 'UIViewController' is unavailable in watchOS
247 | /// - pageViewController: UIPageViewController
248 | /// - pendingViewControllers: [UIViewController]
249 | func willTransitionToAction(_ pageViewController: UIPageViewController, pendingViewControllers: [UIViewController], lastPageIndex: Int) {
| `- error: 'UIViewController' is unavailable in watchOS
250 |
251 | guard let nextController = pendingViewControllers.first,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:283:58: error: 'UIPageViewController' is unavailable in watchOS
281 | /// - previousViewControllers: [UIViewController]
282 | /// - completed: Bool
283 | func transitionCompletedAction(_ pageViewController: UIPageViewController, didFinishAnimating finished: Bool, previousViewControllers: [UIViewController], transitionCompleted completed: Bool) {
| `- error: 'UIPageViewController' is unavailable in watchOS
284 |
285 | if (completed) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:283:141: error: 'UIViewController' is unavailable in watchOS
281 | /// - previousViewControllers: [UIViewController]
282 | /// - completed: Bool
283 | func transitionCompletedAction(_ pageViewController: UIPageViewController, didFinishAnimating finished: Bool, previousViewControllers: [UIViewController], transitionCompleted completed: Bool) {
| `- error: 'UIViewController' is unavailable in watchOS
284 |
285 | if (completed) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:302:56: error: 'UIViewController' is unavailable in watchOS
300 |
301 | /// 取得當前頁面的下一頁 ==> 下一頁如果超過總頁面的話就回到第一頁
302 | func nextViewController(for currentViewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
303 |
304 | guard let currentIndex = pageViewControllerArray.firstIndex(of: currentViewController),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:302:77: error: 'UIViewController' is unavailable in watchOS
300 |
301 | /// 取得當前頁面的下一頁 ==> 下一頁如果超過總頁面的話就回到第一頁
302 | func nextViewController(for currentViewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
303 |
304 | guard let currentIndex = pageViewControllerArray.firstIndex(of: currentViewController),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:326:60: error: 'UIViewController' is unavailable in watchOS
324 | /// - Parameter currentViewController: UIViewController
325 | /// - Returns: UIViewController?
326 | func previousViewController(for currentViewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
327 |
328 | guard let viewControllerIndex = pageViewControllerArray.firstIndex(of: currentViewController),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WWOnBoardingViewController.swift
SwiftCompile normal arm64_32 Compiling\ Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/Extension.swift (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/Extension.swift (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Extension.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ WWOnBoardingViewController (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/Protocol.swift:16:84: error: 'UIViewController' is unavailable in watchOS
14 | /// - Parameter onBoardingViewController: [OnBoardingViewController](https://medium.com/彼得潘的-swift-ios-app-開發問題解答集/隨著換頁更新的-page-control-小圓點-24f631c1928c)
15 | /// - Returns: [UIViewController]
16 | func viewControllers(onBoardingViewController: WWOnBoardingViewController) -> [UIViewController]
| `- error: 'UIViewController' is unavailable in watchOS
17 |
18 | /// 無限Loop的設定
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:36:43: error: 'UIViewController' is unavailable in watchOS
34 | private var pageRotateDirection: PageRotateDirection = .none // 滑動方向
35 |
36 | private var pageViewControllerArray: [UIViewController] {
| `- error: 'UIViewController' is unavailable in watchOS
37 | onBoardingDelegate?.viewControllers(onBoardingViewController: self) ?? [] // 取得引導頁的ViewController們
38 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:11:40: error: 'UIPageViewController' is unavailable in watchOS
9 |
10 | // MARK: WWOnBoardingViewController
11 | open class WWOnBoardingViewController: UIPageViewController {
| `- error: 'UIPageViewController' is unavailable in watchOS
12 |
13 | public typealias InfinityLoopInformation = (hasPrevious: Bool, hasNext: Bool) // 無限Loop時有沒有上一頁?下一頁?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:49:58: error: 'UIPageViewController' is unavailable in watchOS
47 | extension WWOnBoardingViewController: UIPageViewControllerDataSource {
48 |
49 | public func pageViewController(_ pageViewController: UIPageViewController, viewControllerAfter viewController: UIViewController) -> UIViewController? {
| `- error: 'UIPageViewController' is unavailable in watchOS
50 | return nextViewController(for: viewController)
51 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:49:116: error: 'UIViewController' is unavailable in watchOS
47 | extension WWOnBoardingViewController: UIPageViewControllerDataSource {
48 |
49 | public func pageViewController(_ pageViewController: UIPageViewController, viewControllerAfter viewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
50 | return nextViewController(for: viewController)
51 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:49:137: error: 'UIViewController' is unavailable in watchOS
47 | extension WWOnBoardingViewController: UIPageViewControllerDataSource {
48 |
49 | public func pageViewController(_ pageViewController: UIPageViewController, viewControllerAfter viewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
50 | return nextViewController(for: viewController)
51 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:53:58: error: 'UIPageViewController' is unavailable in watchOS
51 | }
52 |
53 | public func pageViewController(_ pageViewController: UIPageViewController, viewControllerBefore viewController: UIViewController) -> UIViewController? {
| `- error: 'UIPageViewController' is unavailable in watchOS
54 | return previousViewController(for: viewController)
55 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:53:117: error: 'UIViewController' is unavailable in watchOS
51 | }
52 |
53 | public func pageViewController(_ pageViewController: UIPageViewController, viewControllerBefore viewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
54 | return previousViewController(for: viewController)
55 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:53:138: error: 'UIViewController' is unavailable in watchOS
51 | }
52 |
53 | public func pageViewController(_ pageViewController: UIPageViewController, viewControllerBefore viewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
54 | return previousViewController(for: viewController)
55 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:47:39: error: 'UIPageViewControllerDataSource' is unavailable in watchOS
45 |
46 | // MARK: - UIPageViewControllerDataSource
47 | extension WWOnBoardingViewController: UIPageViewControllerDataSource {
| `- error: 'UIPageViewControllerDataSource' is unavailable in watchOS
48 |
49 | public func pageViewController(_ pageViewController: UIPageViewController, viewControllerAfter viewController: UIViewController) -> UIViewController? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:100:11: note: 'UIPageViewControllerDataSource' has been explicitly marked unavailable here
98 |
99 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
100 | @protocol UIPageViewControllerDataSource <NSObject>
| `- note: 'UIPageViewControllerDataSource' has been explicitly marked unavailable here
101 |
102 | @required
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:61:58: error: 'UIPageViewController' is unavailable in watchOS
59 | extension WWOnBoardingViewController: UIPageViewControllerDelegate {
60 |
61 | public func pageViewController(_ pageViewController: UIPageViewController, willTransitionTo pendingViewControllers: [UIViewController]) {
| `- error: 'UIPageViewController' is unavailable in watchOS
62 | willTransitionToAction(pageViewController, pendingViewControllers: pendingViewControllers, lastPageIndex: pageViewControllerArray._index())
63 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:61:122: error: 'UIViewController' is unavailable in watchOS
59 | extension WWOnBoardingViewController: UIPageViewControllerDelegate {
60 |
61 | public func pageViewController(_ pageViewController: UIPageViewController, willTransitionTo pendingViewControllers: [UIViewController]) {
| `- error: 'UIViewController' is unavailable in watchOS
62 | willTransitionToAction(pageViewController, pendingViewControllers: pendingViewControllers, lastPageIndex: pageViewControllerArray._index())
63 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:65:58: error: 'UIPageViewController' is unavailable in watchOS
63 | }
64 |
65 | public func pageViewController(_ pageViewController: UIPageViewController, didFinishAnimating finished: Bool, previousViewControllers: [UIViewController], transitionCompleted completed: Bool) {
| `- error: 'UIPageViewController' is unavailable in watchOS
66 | transitionCompletedAction(pageViewController, didFinishAnimating: finished, previousViewControllers: previousViewControllers, transitionCompleted: completed)
67 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:65:141: error: 'UIViewController' is unavailable in watchOS
63 | }
64 |
65 | public func pageViewController(_ pageViewController: UIPageViewController, didFinishAnimating finished: Bool, previousViewControllers: [UIViewController], transitionCompleted completed: Bool) {
| `- error: 'UIViewController' is unavailable in watchOS
66 | transitionCompletedAction(pageViewController, didFinishAnimating: finished, previousViewControllers: previousViewControllers, transitionCompleted: completed)
67 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:59:39: error: 'UIPageViewControllerDelegate' is unavailable in watchOS
57 |
58 | // MARK: - UIPageViewControllerDelegate
59 | extension WWOnBoardingViewController: UIPageViewControllerDelegate {
| `- error: 'UIPageViewControllerDelegate' is unavailable in watchOS
60 |
61 | public func pageViewController(_ pageViewController: UIPageViewController, willTransitionTo pendingViewControllers: [UIViewController]) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:80:11: note: 'UIPageViewControllerDelegate' has been explicitly marked unavailable here
78 |
79 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
80 | @protocol UIPageViewControllerDelegate <NSObject>
| `- note: 'UIPageViewControllerDelegate' has been explicitly marked unavailable here
81 |
82 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:204:57: error: 'UIPageViewController' is unavailable in watchOS
202 | /// - animated: 動畫
203 | /// - completion: ((Bool) -> Void)?
204 | func moveNextPage(to pageIndex: Int, for direction: UIPageViewController.NavigationDirection, animated: Bool, completion: ((Bool) -> Void)?) {
| `- error: 'UIPageViewController' is unavailable in watchOS
205 |
206 | guard let nextPage = pageViewControllerArray[safe: pageIndex] else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:249:55: error: 'UIPageViewController' is unavailable in watchOS
247 | /// - pageViewController: UIPageViewController
248 | /// - pendingViewControllers: [UIViewController]
249 | func willTransitionToAction(_ pageViewController: UIPageViewController, pendingViewControllers: [UIViewController], lastPageIndex: Int) {
| `- error: 'UIPageViewController' is unavailable in watchOS
250 |
251 | guard let nextController = pendingViewControllers.first,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:249:102: error: 'UIViewController' is unavailable in watchOS
247 | /// - pageViewController: UIPageViewController
248 | /// - pendingViewControllers: [UIViewController]
249 | func willTransitionToAction(_ pageViewController: UIPageViewController, pendingViewControllers: [UIViewController], lastPageIndex: Int) {
| `- error: 'UIViewController' is unavailable in watchOS
250 |
251 | guard let nextController = pendingViewControllers.first,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:283:58: error: 'UIPageViewController' is unavailable in watchOS
281 | /// - previousViewControllers: [UIViewController]
282 | /// - completed: Bool
283 | func transitionCompletedAction(_ pageViewController: UIPageViewController, didFinishAnimating finished: Bool, previousViewControllers: [UIViewController], transitionCompleted completed: Bool) {
| `- error: 'UIPageViewController' is unavailable in watchOS
284 |
285 | if (completed) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:283:141: error: 'UIViewController' is unavailable in watchOS
281 | /// - previousViewControllers: [UIViewController]
282 | /// - completed: Bool
283 | func transitionCompletedAction(_ pageViewController: UIPageViewController, didFinishAnimating finished: Bool, previousViewControllers: [UIViewController], transitionCompleted completed: Bool) {
| `- error: 'UIViewController' is unavailable in watchOS
284 |
285 | if (completed) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:302:56: error: 'UIViewController' is unavailable in watchOS
300 |
301 | /// 取得當前頁面的下一頁 ==> 下一頁如果超過總頁面的話就回到第一頁
302 | func nextViewController(for currentViewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
303 |
304 | guard let currentIndex = pageViewControllerArray.firstIndex(of: currentViewController),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:302:77: error: 'UIViewController' is unavailable in watchOS
300 |
301 | /// 取得當前頁面的下一頁 ==> 下一頁如果超過總頁面的話就回到第一頁
302 | func nextViewController(for currentViewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
303 |
304 | guard let currentIndex = pageViewControllerArray.firstIndex(of: currentViewController),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:326:60: error: 'UIViewController' is unavailable in watchOS
324 | /// - Parameter currentViewController: UIViewController
325 | /// - Returns: UIViewController?
326 | func previousViewController(for currentViewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
327 |
328 | guard let viewControllerIndex = pageViewControllerArray.firstIndex(of: currentViewController),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:326:81: error: 'UIViewController' is unavailable in watchOS
324 | /// - Parameter currentViewController: UIViewController
325 | /// - Returns: UIViewController?
326 | func previousViewController(for currentViewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
327 |
328 | guard let viewControllerIndex = pageViewControllerArray.firstIndex(of: currentViewController),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/Protocol.swift /Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64_32/WWOnBoardingViewController-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name WWOnBoardingViewController -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64_32/WWOnBoardingViewController_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64_32/WWOnBoardingViewController.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64_32/WWOnBoardingViewController.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64_32/WWOnBoardingViewController-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64_32/WWOnBoardingViewController-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64_32/WWOnBoardingViewController-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64_32/WWOnBoardingViewController.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64_32/WWOnBoardingViewController.abi.json
SwiftCompile normal arm64_32 (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ WWOnBoardingViewController (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
SwiftCompile normal arm64 (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ WWOnBoardingViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WWOnBoardingViewController.swift
SwiftCompile normal arm64 Compiling\ Protocol.swift /Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/Protocol.swift (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/Protocol.swift (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Protocol.swift
SwiftCompile normal arm64 Compiling\ Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/Extension.swift (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/Extension.swift (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Extension.swift
SwiftCompile normal arm64 Compiling\ resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile resource_bundle_accessor.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-20 06:30:08.189 xcodebuild[669:4286] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ WWOnBoardingViewController (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
SwiftCompile normal arm64_32 (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
Building workspace WWOnBoardingViewController with scheme WWOnBoardingViewController
(3 failures)
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
WWOnBoardingViewController: /Users/admin/builder/spi-builder-workspace
resolved source packages: WWOnBoardingViewController
2026-09-20 06:30:14.017 xcodebuild[797:4773] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "WWOnBoardingViewController",
"name" : "WWOnBoardingViewController",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
}
],
"products" : [
{
"name" : "WWOnBoardingViewController",
"targets" : [
"WWOnBoardingViewController"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "WWOnBoardingViewController",
"module_type" : "SwiftTarget",
"name" : "WWOnBoardingViewController",
"path" : "Sources/WWOnBoardingViewController",
"product_memberships" : [
"WWOnBoardingViewController"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/Privacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Extension.swift",
"Protocol.swift",
"WWOnBoardingViewController.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
{
"workspace" : {
"name" : "WWOnBoardingViewController",
"schemes" : [
"WWOnBoardingViewController"
]
}
}
2026-09-20 06:30:15.189 xcodebuild[805:4842] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme WWOnBoardingViewController -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme WWOnBoardingViewController -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
WWOnBoardingViewController: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (3 targets)
Target 'WWOnBoardingViewController-product' in project 'WWOnBoardingViewController'
➜ Explicit dependency on target 'WWOnBoardingViewController' in project 'WWOnBoardingViewController'
➜ Explicit dependency on target 'WWOnBoardingViewController_WWOnBoardingViewController' in project 'WWOnBoardingViewController'
Target 'WWOnBoardingViewController' in project 'WWOnBoardingViewController'
➜ Explicit dependency on target 'WWOnBoardingViewController_WWOnBoardingViewController' in project 'WWOnBoardingViewController'
Target 'WWOnBoardingViewController_WWOnBoardingViewController' in project 'WWOnBoardingViewController' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
SwiftDriver WWOnBoardingViewController normal arm64 com.apple.xcode.tools.swift.compiler (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name WWOnBoardingViewController -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64/WWOnBoardingViewController.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64/WWOnBoardingViewController-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64/WWOnBoardingViewController.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64/WWOnBoardingViewController-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64/WWOnBoardingViewController_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/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64/WWOnBoardingViewController-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver WWOnBoardingViewController normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name WWOnBoardingViewController -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64_32/WWOnBoardingViewController.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64_32/WWOnBoardingViewController-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64_32/WWOnBoardingViewController.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64_32/WWOnBoardingViewController-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64_32/WWOnBoardingViewController_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/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64_32/WWOnBoardingViewController-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile resource_bundle_accessor.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ WWOnBoardingViewController (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/Protocol.swift:16:84: error: 'UIViewController' is unavailable in watchOS
14 | /// - Parameter onBoardingViewController: [OnBoardingViewController](https://medium.com/彼得潘的-swift-ios-app-開發問題解答集/隨著換頁更新的-page-control-小圓點-24f631c1928c)
15 | /// - Returns: [UIViewController]
16 | func viewControllers(onBoardingViewController: WWOnBoardingViewController) -> [UIViewController]
| `- error: 'UIViewController' is unavailable in watchOS
17 |
18 | /// 無限Loop的設定
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:36:43: error: 'UIViewController' is unavailable in watchOS
34 | private var pageRotateDirection: PageRotateDirection = .none // 滑動方向
35 |
36 | private var pageViewControllerArray: [UIViewController] {
| `- error: 'UIViewController' is unavailable in watchOS
37 | onBoardingDelegate?.viewControllers(onBoardingViewController: self) ?? [] // 取得引導頁的ViewController們
38 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:11:40: error: 'UIPageViewController' is unavailable in watchOS
9 |
10 | // MARK: WWOnBoardingViewController
11 | open class WWOnBoardingViewController: UIPageViewController {
| `- error: 'UIPageViewController' is unavailable in watchOS
12 |
13 | public typealias InfinityLoopInformation = (hasPrevious: Bool, hasNext: Bool) // 無限Loop時有沒有上一頁?下一頁?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:49:58: error: 'UIPageViewController' is unavailable in watchOS
47 | extension WWOnBoardingViewController: UIPageViewControllerDataSource {
48 |
49 | public func pageViewController(_ pageViewController: UIPageViewController, viewControllerAfter viewController: UIViewController) -> UIViewController? {
| `- error: 'UIPageViewController' is unavailable in watchOS
50 | return nextViewController(for: viewController)
51 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:49:116: error: 'UIViewController' is unavailable in watchOS
47 | extension WWOnBoardingViewController: UIPageViewControllerDataSource {
48 |
49 | public func pageViewController(_ pageViewController: UIPageViewController, viewControllerAfter viewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
50 | return nextViewController(for: viewController)
51 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:49:137: error: 'UIViewController' is unavailable in watchOS
47 | extension WWOnBoardingViewController: UIPageViewControllerDataSource {
48 |
49 | public func pageViewController(_ pageViewController: UIPageViewController, viewControllerAfter viewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
50 | return nextViewController(for: viewController)
51 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:53:58: error: 'UIPageViewController' is unavailable in watchOS
51 | }
52 |
53 | public func pageViewController(_ pageViewController: UIPageViewController, viewControllerBefore viewController: UIViewController) -> UIViewController? {
| `- error: 'UIPageViewController' is unavailable in watchOS
54 | return previousViewController(for: viewController)
55 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:53:117: error: 'UIViewController' is unavailable in watchOS
51 | }
52 |
53 | public func pageViewController(_ pageViewController: UIPageViewController, viewControllerBefore viewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
54 | return previousViewController(for: viewController)
55 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:53:138: error: 'UIViewController' is unavailable in watchOS
51 | }
52 |
53 | public func pageViewController(_ pageViewController: UIPageViewController, viewControllerBefore viewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
54 | return previousViewController(for: viewController)
55 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:47:39: error: 'UIPageViewControllerDataSource' is unavailable in watchOS
45 |
46 | // MARK: - UIPageViewControllerDataSource
47 | extension WWOnBoardingViewController: UIPageViewControllerDataSource {
| `- error: 'UIPageViewControllerDataSource' is unavailable in watchOS
48 |
49 | public func pageViewController(_ pageViewController: UIPageViewController, viewControllerAfter viewController: UIViewController) -> UIViewController? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:100:11: note: 'UIPageViewControllerDataSource' has been explicitly marked unavailable here
98 |
99 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
100 | @protocol UIPageViewControllerDataSource <NSObject>
| `- note: 'UIPageViewControllerDataSource' has been explicitly marked unavailable here
101 |
102 | @required
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:61:58: error: 'UIPageViewController' is unavailable in watchOS
59 | extension WWOnBoardingViewController: UIPageViewControllerDelegate {
60 |
61 | public func pageViewController(_ pageViewController: UIPageViewController, willTransitionTo pendingViewControllers: [UIViewController]) {
| `- error: 'UIPageViewController' is unavailable in watchOS
62 | willTransitionToAction(pageViewController, pendingViewControllers: pendingViewControllers, lastPageIndex: pageViewControllerArray._index())
63 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:61:122: error: 'UIViewController' is unavailable in watchOS
59 | extension WWOnBoardingViewController: UIPageViewControllerDelegate {
60 |
61 | public func pageViewController(_ pageViewController: UIPageViewController, willTransitionTo pendingViewControllers: [UIViewController]) {
| `- error: 'UIViewController' is unavailable in watchOS
62 | willTransitionToAction(pageViewController, pendingViewControllers: pendingViewControllers, lastPageIndex: pageViewControllerArray._index())
63 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:65:58: error: 'UIPageViewController' is unavailable in watchOS
63 | }
64 |
65 | public func pageViewController(_ pageViewController: UIPageViewController, didFinishAnimating finished: Bool, previousViewControllers: [UIViewController], transitionCompleted completed: Bool) {
| `- error: 'UIPageViewController' is unavailable in watchOS
66 | transitionCompletedAction(pageViewController, didFinishAnimating: finished, previousViewControllers: previousViewControllers, transitionCompleted: completed)
67 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:65:141: error: 'UIViewController' is unavailable in watchOS
63 | }
64 |
65 | public func pageViewController(_ pageViewController: UIPageViewController, didFinishAnimating finished: Bool, previousViewControllers: [UIViewController], transitionCompleted completed: Bool) {
| `- error: 'UIViewController' is unavailable in watchOS
66 | transitionCompletedAction(pageViewController, didFinishAnimating: finished, previousViewControllers: previousViewControllers, transitionCompleted: completed)
67 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:59:39: error: 'UIPageViewControllerDelegate' is unavailable in watchOS
57 |
58 | // MARK: - UIPageViewControllerDelegate
59 | extension WWOnBoardingViewController: UIPageViewControllerDelegate {
| `- error: 'UIPageViewControllerDelegate' is unavailable in watchOS
60 |
61 | public func pageViewController(_ pageViewController: UIPageViewController, willTransitionTo pendingViewControllers: [UIViewController]) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:80:11: note: 'UIPageViewControllerDelegate' has been explicitly marked unavailable here
78 |
79 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
80 | @protocol UIPageViewControllerDelegate <NSObject>
| `- note: 'UIPageViewControllerDelegate' has been explicitly marked unavailable here
81 |
82 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:204:57: error: 'UIPageViewController' is unavailable in watchOS
202 | /// - animated: 動畫
203 | /// - completion: ((Bool) -> Void)?
204 | func moveNextPage(to pageIndex: Int, for direction: UIPageViewController.NavigationDirection, animated: Bool, completion: ((Bool) -> Void)?) {
| `- error: 'UIPageViewController' is unavailable in watchOS
205 |
206 | guard let nextPage = pageViewControllerArray[safe: pageIndex] else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:249:55: error: 'UIPageViewController' is unavailable in watchOS
247 | /// - pageViewController: UIPageViewController
248 | /// - pendingViewControllers: [UIViewController]
249 | func willTransitionToAction(_ pageViewController: UIPageViewController, pendingViewControllers: [UIViewController], lastPageIndex: Int) {
| `- error: 'UIPageViewController' is unavailable in watchOS
250 |
251 | guard let nextController = pendingViewControllers.first,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:249:102: error: 'UIViewController' is unavailable in watchOS
247 | /// - pageViewController: UIPageViewController
248 | /// - pendingViewControllers: [UIViewController]
249 | func willTransitionToAction(_ pageViewController: UIPageViewController, pendingViewControllers: [UIViewController], lastPageIndex: Int) {
| `- error: 'UIViewController' is unavailable in watchOS
250 |
251 | guard let nextController = pendingViewControllers.first,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:283:58: error: 'UIPageViewController' is unavailable in watchOS
281 | /// - previousViewControllers: [UIViewController]
282 | /// - completed: Bool
283 | func transitionCompletedAction(_ pageViewController: UIPageViewController, didFinishAnimating finished: Bool, previousViewControllers: [UIViewController], transitionCompleted completed: Bool) {
| `- error: 'UIPageViewController' is unavailable in watchOS
284 |
285 | if (completed) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:283:141: error: 'UIViewController' is unavailable in watchOS
281 | /// - previousViewControllers: [UIViewController]
282 | /// - completed: Bool
283 | func transitionCompletedAction(_ pageViewController: UIPageViewController, didFinishAnimating finished: Bool, previousViewControllers: [UIViewController], transitionCompleted completed: Bool) {
| `- error: 'UIViewController' is unavailable in watchOS
284 |
285 | if (completed) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:302:56: error: 'UIViewController' is unavailable in watchOS
300 |
301 | /// 取得當前頁面的下一頁 ==> 下一頁如果超過總頁面的話就回到第一頁
302 | func nextViewController(for currentViewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
303 |
304 | guard let currentIndex = pageViewControllerArray.firstIndex(of: currentViewController),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:302:77: error: 'UIViewController' is unavailable in watchOS
300 |
301 | /// 取得當前頁面的下一頁 ==> 下一頁如果超過總頁面的話就回到第一頁
302 | func nextViewController(for currentViewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
303 |
304 | guard let currentIndex = pageViewControllerArray.firstIndex(of: currentViewController),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:326:60: error: 'UIViewController' is unavailable in watchOS
324 | /// - Parameter currentViewController: UIViewController
325 | /// - Returns: UIViewController?
326 | func previousViewController(for currentViewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
327 |
328 | guard let viewControllerIndex = pageViewControllerArray.firstIndex(of: currentViewController),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:326:81: error: 'UIViewController' is unavailable in watchOS
324 | /// - Parameter currentViewController: UIViewController
325 | /// - Returns: UIViewController?
326 | func previousViewController(for currentViewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
327 |
328 | guard let viewControllerIndex = pageViewControllerArray.firstIndex(of: currentViewController),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/Protocol.swift /Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64/WWOnBoardingViewController-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name WWOnBoardingViewController -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64/WWOnBoardingViewController_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64/WWOnBoardingViewController.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64/WWOnBoardingViewController.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64/WWOnBoardingViewController-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64/WWOnBoardingViewController-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64/WWOnBoardingViewController-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64/WWOnBoardingViewController.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64/WWOnBoardingViewController.abi.json
SwiftCompile normal arm64 (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ WWOnBoardingViewController (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/Protocol.swift:16:84: error: 'UIViewController' is unavailable in watchOS
14 | /// - Parameter onBoardingViewController: [OnBoardingViewController](https://medium.com/彼得潘的-swift-ios-app-開發問題解答集/隨著換頁更新的-page-control-小圓點-24f631c1928c)
15 | /// - Returns: [UIViewController]
16 | func viewControllers(onBoardingViewController: WWOnBoardingViewController) -> [UIViewController]
| `- error: 'UIViewController' is unavailable in watchOS
17 |
18 | /// 無限Loop的設定
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:36:43: error: 'UIViewController' is unavailable in watchOS
34 | private var pageRotateDirection: PageRotateDirection = .none // 滑動方向
35 |
36 | private var pageViewControllerArray: [UIViewController] {
| `- error: 'UIViewController' is unavailable in watchOS
37 | onBoardingDelegate?.viewControllers(onBoardingViewController: self) ?? [] // 取得引導頁的ViewController們
38 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:11:40: error: 'UIPageViewController' is unavailable in watchOS
9 |
10 | // MARK: WWOnBoardingViewController
11 | open class WWOnBoardingViewController: UIPageViewController {
| `- error: 'UIPageViewController' is unavailable in watchOS
12 |
13 | public typealias InfinityLoopInformation = (hasPrevious: Bool, hasNext: Bool) // 無限Loop時有沒有上一頁?下一頁?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:49:58: error: 'UIPageViewController' is unavailable in watchOS
47 | extension WWOnBoardingViewController: UIPageViewControllerDataSource {
48 |
49 | public func pageViewController(_ pageViewController: UIPageViewController, viewControllerAfter viewController: UIViewController) -> UIViewController? {
| `- error: 'UIPageViewController' is unavailable in watchOS
50 | return nextViewController(for: viewController)
51 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:49:116: error: 'UIViewController' is unavailable in watchOS
47 | extension WWOnBoardingViewController: UIPageViewControllerDataSource {
48 |
49 | public func pageViewController(_ pageViewController: UIPageViewController, viewControllerAfter viewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
50 | return nextViewController(for: viewController)
51 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:49:137: error: 'UIViewController' is unavailable in watchOS
47 | extension WWOnBoardingViewController: UIPageViewControllerDataSource {
48 |
49 | public func pageViewController(_ pageViewController: UIPageViewController, viewControllerAfter viewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
50 | return nextViewController(for: viewController)
51 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:53:58: error: 'UIPageViewController' is unavailable in watchOS
51 | }
52 |
53 | public func pageViewController(_ pageViewController: UIPageViewController, viewControllerBefore viewController: UIViewController) -> UIViewController? {
| `- error: 'UIPageViewController' is unavailable in watchOS
54 | return previousViewController(for: viewController)
55 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:53:117: error: 'UIViewController' is unavailable in watchOS
51 | }
52 |
53 | public func pageViewController(_ pageViewController: UIPageViewController, viewControllerBefore viewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
54 | return previousViewController(for: viewController)
55 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:53:138: error: 'UIViewController' is unavailable in watchOS
51 | }
52 |
53 | public func pageViewController(_ pageViewController: UIPageViewController, viewControllerBefore viewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
54 | return previousViewController(for: viewController)
55 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:47:39: error: 'UIPageViewControllerDataSource' is unavailable in watchOS
45 |
46 | // MARK: - UIPageViewControllerDataSource
47 | extension WWOnBoardingViewController: UIPageViewControllerDataSource {
| `- error: 'UIPageViewControllerDataSource' is unavailable in watchOS
48 |
49 | public func pageViewController(_ pageViewController: UIPageViewController, viewControllerAfter viewController: UIViewController) -> UIViewController? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:100:11: note: 'UIPageViewControllerDataSource' has been explicitly marked unavailable here
98 |
99 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
100 | @protocol UIPageViewControllerDataSource <NSObject>
| `- note: 'UIPageViewControllerDataSource' has been explicitly marked unavailable here
101 |
102 | @required
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:61:58: error: 'UIPageViewController' is unavailable in watchOS
59 | extension WWOnBoardingViewController: UIPageViewControllerDelegate {
60 |
61 | public func pageViewController(_ pageViewController: UIPageViewController, willTransitionTo pendingViewControllers: [UIViewController]) {
| `- error: 'UIPageViewController' is unavailable in watchOS
62 | willTransitionToAction(pageViewController, pendingViewControllers: pendingViewControllers, lastPageIndex: pageViewControllerArray._index())
63 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:61:122: error: 'UIViewController' is unavailable in watchOS
59 | extension WWOnBoardingViewController: UIPageViewControllerDelegate {
60 |
61 | public func pageViewController(_ pageViewController: UIPageViewController, willTransitionTo pendingViewControllers: [UIViewController]) {
| `- error: 'UIViewController' is unavailable in watchOS
62 | willTransitionToAction(pageViewController, pendingViewControllers: pendingViewControllers, lastPageIndex: pageViewControllerArray._index())
63 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:65:58: error: 'UIPageViewController' is unavailable in watchOS
63 | }
64 |
65 | public func pageViewController(_ pageViewController: UIPageViewController, didFinishAnimating finished: Bool, previousViewControllers: [UIViewController], transitionCompleted completed: Bool) {
| `- error: 'UIPageViewController' is unavailable in watchOS
66 | transitionCompletedAction(pageViewController, didFinishAnimating: finished, previousViewControllers: previousViewControllers, transitionCompleted: completed)
67 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:65:141: error: 'UIViewController' is unavailable in watchOS
63 | }
64 |
65 | public func pageViewController(_ pageViewController: UIPageViewController, didFinishAnimating finished: Bool, previousViewControllers: [UIViewController], transitionCompleted completed: Bool) {
| `- error: 'UIViewController' is unavailable in watchOS
66 | transitionCompletedAction(pageViewController, didFinishAnimating: finished, previousViewControllers: previousViewControllers, transitionCompleted: completed)
67 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:59:39: error: 'UIPageViewControllerDelegate' is unavailable in watchOS
57 |
58 | // MARK: - UIPageViewControllerDelegate
59 | extension WWOnBoardingViewController: UIPageViewControllerDelegate {
| `- error: 'UIPageViewControllerDelegate' is unavailable in watchOS
60 |
61 | public func pageViewController(_ pageViewController: UIPageViewController, willTransitionTo pendingViewControllers: [UIViewController]) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:80:11: note: 'UIPageViewControllerDelegate' has been explicitly marked unavailable here
78 |
79 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
80 | @protocol UIPageViewControllerDelegate <NSObject>
| `- note: 'UIPageViewControllerDelegate' has been explicitly marked unavailable here
81 |
82 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:204:57: error: 'UIPageViewController' is unavailable in watchOS
202 | /// - animated: 動畫
203 | /// - completion: ((Bool) -> Void)?
204 | func moveNextPage(to pageIndex: Int, for direction: UIPageViewController.NavigationDirection, animated: Bool, completion: ((Bool) -> Void)?) {
| `- error: 'UIPageViewController' is unavailable in watchOS
205 |
206 | guard let nextPage = pageViewControllerArray[safe: pageIndex] else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:249:55: error: 'UIPageViewController' is unavailable in watchOS
247 | /// - pageViewController: UIPageViewController
248 | /// - pendingViewControllers: [UIViewController]
249 | func willTransitionToAction(_ pageViewController: UIPageViewController, pendingViewControllers: [UIViewController], lastPageIndex: Int) {
| `- error: 'UIPageViewController' is unavailable in watchOS
250 |
251 | guard let nextController = pendingViewControllers.first,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:249:102: error: 'UIViewController' is unavailable in watchOS
247 | /// - pageViewController: UIPageViewController
248 | /// - pendingViewControllers: [UIViewController]
249 | func willTransitionToAction(_ pageViewController: UIPageViewController, pendingViewControllers: [UIViewController], lastPageIndex: Int) {
| `- error: 'UIViewController' is unavailable in watchOS
250 |
251 | guard let nextController = pendingViewControllers.first,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:283:58: error: 'UIPageViewController' is unavailable in watchOS
281 | /// - previousViewControllers: [UIViewController]
282 | /// - completed: Bool
283 | func transitionCompletedAction(_ pageViewController: UIPageViewController, didFinishAnimating finished: Bool, previousViewControllers: [UIViewController], transitionCompleted completed: Bool) {
| `- error: 'UIPageViewController' is unavailable in watchOS
284 |
285 | if (completed) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:283:141: error: 'UIViewController' is unavailable in watchOS
281 | /// - previousViewControllers: [UIViewController]
282 | /// - completed: Bool
283 | func transitionCompletedAction(_ pageViewController: UIPageViewController, didFinishAnimating finished: Bool, previousViewControllers: [UIViewController], transitionCompleted completed: Bool) {
| `- error: 'UIViewController' is unavailable in watchOS
284 |
285 | if (completed) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:302:56: error: 'UIViewController' is unavailable in watchOS
300 |
301 | /// 取得當前頁面的下一頁 ==> 下一頁如果超過總頁面的話就回到第一頁
302 | func nextViewController(for currentViewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
303 |
304 | guard let currentIndex = pageViewControllerArray.firstIndex(of: currentViewController),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:302:77: error: 'UIViewController' is unavailable in watchOS
300 |
301 | /// 取得當前頁面的下一頁 ==> 下一頁如果超過總頁面的話就回到第一頁
302 | func nextViewController(for currentViewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
303 |
304 | guard let currentIndex = pageViewControllerArray.firstIndex(of: currentViewController),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:326:60: error: 'UIViewController' is unavailable in watchOS
324 | /// - Parameter currentViewController: UIViewController
325 | /// - Returns: UIViewController?
326 | func previousViewController(for currentViewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
327 |
328 | guard let viewControllerIndex = pageViewControllerArray.firstIndex(of: currentViewController),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:326:81: error: 'UIViewController' is unavailable in watchOS
324 | /// - Parameter currentViewController: UIViewController
325 | /// - Returns: UIViewController?
326 | func previousViewController(for currentViewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
327 |
328 | guard let viewControllerIndex = pageViewControllerArray.firstIndex(of: currentViewController),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/Protocol.swift /Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64_32/WWOnBoardingViewController-dependencies-2.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name WWOnBoardingViewController -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64_32/WWOnBoardingViewController_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64_32/WWOnBoardingViewController.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64_32/WWOnBoardingViewController.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64_32/WWOnBoardingViewController-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64_32/WWOnBoardingViewController-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64_32/WWOnBoardingViewController-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64_32/WWOnBoardingViewController.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/Objects-normal/arm64_32/WWOnBoardingViewController.abi.json
SwiftCompile normal arm64_32 (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWOnBoardingViewController.build/Debug-watchos/WWOnBoardingViewController-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile resource_bundle_accessor.swift
SwiftCompile normal arm64 Compiling\ WWOnBoardingViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:36:43: error: 'UIViewController' is unavailable in watchOS
34 | private var pageRotateDirection: PageRotateDirection = .none // 滑動方向
35 |
36 | private var pageViewControllerArray: [UIViewController] {
| `- error: 'UIViewController' is unavailable in watchOS
37 | onBoardingDelegate?.viewControllers(onBoardingViewController: self) ?? [] // 取得引導頁的ViewController們
38 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:11:40: error: 'UIPageViewController' is unavailable in watchOS
9 |
10 | // MARK: WWOnBoardingViewController
11 | open class WWOnBoardingViewController: UIPageViewController {
| `- error: 'UIPageViewController' is unavailable in watchOS
12 |
13 | public typealias InfinityLoopInformation = (hasPrevious: Bool, hasNext: Bool) // 無限Loop時有沒有上一頁?下一頁?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:49:58: error: 'UIPageViewController' is unavailable in watchOS
47 | extension WWOnBoardingViewController: UIPageViewControllerDataSource {
48 |
49 | public func pageViewController(_ pageViewController: UIPageViewController, viewControllerAfter viewController: UIViewController) -> UIViewController? {
| `- error: 'UIPageViewController' is unavailable in watchOS
50 | return nextViewController(for: viewController)
51 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:49:116: error: 'UIViewController' is unavailable in watchOS
47 | extension WWOnBoardingViewController: UIPageViewControllerDataSource {
48 |
49 | public func pageViewController(_ pageViewController: UIPageViewController, viewControllerAfter viewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
50 | return nextViewController(for: viewController)
51 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:49:137: error: 'UIViewController' is unavailable in watchOS
47 | extension WWOnBoardingViewController: UIPageViewControllerDataSource {
48 |
49 | public func pageViewController(_ pageViewController: UIPageViewController, viewControllerAfter viewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
50 | return nextViewController(for: viewController)
51 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:53:58: error: 'UIPageViewController' is unavailable in watchOS
51 | }
52 |
53 | public func pageViewController(_ pageViewController: UIPageViewController, viewControllerBefore viewController: UIViewController) -> UIViewController? {
| `- error: 'UIPageViewController' is unavailable in watchOS
54 | return previousViewController(for: viewController)
55 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:53:117: error: 'UIViewController' is unavailable in watchOS
51 | }
52 |
53 | public func pageViewController(_ pageViewController: UIPageViewController, viewControllerBefore viewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
54 | return previousViewController(for: viewController)
55 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:53:138: error: 'UIViewController' is unavailable in watchOS
51 | }
52 |
53 | public func pageViewController(_ pageViewController: UIPageViewController, viewControllerBefore viewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
54 | return previousViewController(for: viewController)
55 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:47:39: error: 'UIPageViewControllerDataSource' is unavailable in watchOS
45 |
46 | // MARK: - UIPageViewControllerDataSource
47 | extension WWOnBoardingViewController: UIPageViewControllerDataSource {
| `- error: 'UIPageViewControllerDataSource' is unavailable in watchOS
48 |
49 | public func pageViewController(_ pageViewController: UIPageViewController, viewControllerAfter viewController: UIViewController) -> UIViewController? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:100:11: note: 'UIPageViewControllerDataSource' has been explicitly marked unavailable here
98 |
99 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
100 | @protocol UIPageViewControllerDataSource <NSObject>
| `- note: 'UIPageViewControllerDataSource' has been explicitly marked unavailable here
101 |
102 | @required
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:61:58: error: 'UIPageViewController' is unavailable in watchOS
59 | extension WWOnBoardingViewController: UIPageViewControllerDelegate {
60 |
61 | public func pageViewController(_ pageViewController: UIPageViewController, willTransitionTo pendingViewControllers: [UIViewController]) {
| `- error: 'UIPageViewController' is unavailable in watchOS
62 | willTransitionToAction(pageViewController, pendingViewControllers: pendingViewControllers, lastPageIndex: pageViewControllerArray._index())
63 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:61:122: error: 'UIViewController' is unavailable in watchOS
59 | extension WWOnBoardingViewController: UIPageViewControllerDelegate {
60 |
61 | public func pageViewController(_ pageViewController: UIPageViewController, willTransitionTo pendingViewControllers: [UIViewController]) {
| `- error: 'UIViewController' is unavailable in watchOS
62 | willTransitionToAction(pageViewController, pendingViewControllers: pendingViewControllers, lastPageIndex: pageViewControllerArray._index())
63 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:65:58: error: 'UIPageViewController' is unavailable in watchOS
63 | }
64 |
65 | public func pageViewController(_ pageViewController: UIPageViewController, didFinishAnimating finished: Bool, previousViewControllers: [UIViewController], transitionCompleted completed: Bool) {
| `- error: 'UIPageViewController' is unavailable in watchOS
66 | transitionCompletedAction(pageViewController, didFinishAnimating: finished, previousViewControllers: previousViewControllers, transitionCompleted: completed)
67 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:65:141: error: 'UIViewController' is unavailable in watchOS
63 | }
64 |
65 | public func pageViewController(_ pageViewController: UIPageViewController, didFinishAnimating finished: Bool, previousViewControllers: [UIViewController], transitionCompleted completed: Bool) {
| `- error: 'UIViewController' is unavailable in watchOS
66 | transitionCompletedAction(pageViewController, didFinishAnimating: finished, previousViewControllers: previousViewControllers, transitionCompleted: completed)
67 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:59:39: error: 'UIPageViewControllerDelegate' is unavailable in watchOS
57 |
58 | // MARK: - UIPageViewControllerDelegate
59 | extension WWOnBoardingViewController: UIPageViewControllerDelegate {
| `- error: 'UIPageViewControllerDelegate' is unavailable in watchOS
60 |
61 | public func pageViewController(_ pageViewController: UIPageViewController, willTransitionTo pendingViewControllers: [UIViewController]) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:80:11: note: 'UIPageViewControllerDelegate' has been explicitly marked unavailable here
78 |
79 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
80 | @protocol UIPageViewControllerDelegate <NSObject>
| `- note: 'UIPageViewControllerDelegate' has been explicitly marked unavailable here
81 |
82 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:204:57: error: 'UIPageViewController' is unavailable in watchOS
202 | /// - animated: 動畫
203 | /// - completion: ((Bool) -> Void)?
204 | func moveNextPage(to pageIndex: Int, for direction: UIPageViewController.NavigationDirection, animated: Bool, completion: ((Bool) -> Void)?) {
| `- error: 'UIPageViewController' is unavailable in watchOS
205 |
206 | guard let nextPage = pageViewControllerArray[safe: pageIndex] else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:249:55: error: 'UIPageViewController' is unavailable in watchOS
247 | /// - pageViewController: UIPageViewController
248 | /// - pendingViewControllers: [UIViewController]
249 | func willTransitionToAction(_ pageViewController: UIPageViewController, pendingViewControllers: [UIViewController], lastPageIndex: Int) {
| `- error: 'UIPageViewController' is unavailable in watchOS
250 |
251 | guard let nextController = pendingViewControllers.first,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:249:102: error: 'UIViewController' is unavailable in watchOS
247 | /// - pageViewController: UIPageViewController
248 | /// - pendingViewControllers: [UIViewController]
249 | func willTransitionToAction(_ pageViewController: UIPageViewController, pendingViewControllers: [UIViewController], lastPageIndex: Int) {
| `- error: 'UIViewController' is unavailable in watchOS
250 |
251 | guard let nextController = pendingViewControllers.first,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:283:58: error: 'UIPageViewController' is unavailable in watchOS
281 | /// - previousViewControllers: [UIViewController]
282 | /// - completed: Bool
283 | func transitionCompletedAction(_ pageViewController: UIPageViewController, didFinishAnimating finished: Bool, previousViewControllers: [UIViewController], transitionCompleted completed: Bool) {
| `- error: 'UIPageViewController' is unavailable in watchOS
284 |
285 | if (completed) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:283:141: error: 'UIViewController' is unavailable in watchOS
281 | /// - previousViewControllers: [UIViewController]
282 | /// - completed: Bool
283 | func transitionCompletedAction(_ pageViewController: UIPageViewController, didFinishAnimating finished: Bool, previousViewControllers: [UIViewController], transitionCompleted completed: Bool) {
| `- error: 'UIViewController' is unavailable in watchOS
284 |
285 | if (completed) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:302:56: error: 'UIViewController' is unavailable in watchOS
300 |
301 | /// 取得當前頁面的下一頁 ==> 下一頁如果超過總頁面的話就回到\347\254\254一頁
302 | func nextViewController(for currentViewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
303 |
304 | guard let currentIndex = pageViewControllerArray.firstIndex(of: currentViewController),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:302:77: error: 'UIViewController' is unavailable in watchOS
300 |
301 | /// 取得當前頁面的下一頁 ==> 下一頁如果超過總頁面的話就回到第一頁
302 | func nextViewController(for currentViewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
303 |
304 | guard let currentIndex = pageViewControllerArray.firstIndex(of: currentViewController),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:326:60: error: 'UIViewController' is unavailable in watchOS
324 | /// - Parameter currentViewController: UIViewController
325 | /// - Returns: UIViewController?
326 | func previousViewController(for currentViewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
327 |
328 | guard let viewControllerIndex = pageViewControllerArray.firstIndex(of: currentViewController),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WWOnBoardingViewController.swift
SwiftCompile normal arm64 Compiling\ Protocol.swift /Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/Protocol.swift (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/Protocol.swift (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Protocol.swift
SwiftCompile normal arm64_32 Compiling\ Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/Extension.swift (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/Extension.swift (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Extension.swift
SwiftCompile normal arm64_32 Compiling\ Protocol.swift /Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/Protocol.swift (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/Protocol.swift (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Protocol.swift
SwiftCompile normal arm64_32 Compiling\ WWOnBoardingViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:36:43: error: 'UIViewController' is unavailable in watchOS
34 | private var pageRotateDirection: PageRotateDirection = .none // 滑動方向
35 |
36 | private var pageViewControllerArray: [UIViewController] {
| `- error: 'UIViewController' is unavailable in watchOS
37 | onBoardingDelegate?.viewControllers(onBoardingViewController: self) ?? [] // 取得引導頁的ViewController們
38 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:11:40: error: 'UIPageViewController' is unavailable in watchOS
9 |
10 | // MARK: WWOnBoardingViewController
11 | open class WWOnBoardingViewController: UIPageViewController {
| `- error: 'UIPageViewController' is unavailable in watchOS
12 |
13 | public typealias InfinityLoopInformation = (hasPrevious: Bool, hasNext: Bool) // 無限Loop時有沒有上一頁?下一頁?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:49:58: error: 'UIPageViewController' is unavailable in watchOS
47 | extension WWOnBoardingViewController: UIPageViewControllerDataSource {
48 |
49 | public func pageViewController(_ pageViewController: UIPageViewController, viewControllerAfter viewController: UIViewController) -> UIViewController? {
| `- error: 'UIPageViewController' is unavailable in watchOS
50 | return nextViewController(for: viewController)
51 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:49:116: error: 'UIViewController' is unavailable in watchOS
47 | extension WWOnBoardingViewController: UIPageViewControllerDataSource {
48 |
49 | public func pageViewController(_ pageViewController: UIPageViewController, viewControllerAfter viewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
50 | return nextViewController(for: viewController)
51 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:49:137: error: 'UIViewController' is unavailable in watchOS
47 | extension WWOnBoardingViewController: UIPageViewControllerDataSource {
48 |
49 | public func pageViewController(_ pageViewController: UIPageViewController, viewControllerAfter viewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
50 | return nextViewController(for: viewController)
51 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:53:58: error: 'UIPageViewController' is unavailable in watchOS
51 | }
52 |
53 | public func pageViewController(_ pageViewController: UIPageViewController, viewControllerBefore viewController: UIViewController) -> UIViewController? {
| `- error: 'UIPageViewController' is unavailable in watchOS
54 | return previousViewController(for: viewController)
55 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:53:117: error: 'UIViewController' is unavailable in watchOS
51 | }
52 |
53 | public func pageViewController(_ pageViewController: UIPageViewController, viewControllerBefore viewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
54 | return previousViewController(for: viewController)
55 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:53:138: error: 'UIViewController' is unavailable in watchOS
51 | }
52 |
53 | public func pageViewController(_ pageViewController: UIPageViewController, viewControllerBefore viewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
54 | return previousViewController(for: viewController)
55 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:47:39: error: 'UIPageViewControllerDataSource' is unavailable in watchOS
45 |
46 | // MARK: - UIPageViewControllerDataSource
47 | extension WWOnBoardingViewController: UIPageViewControllerDataSource {
| `- error: 'UIPageViewControllerDataSource' is unavailable in watchOS
48 |
49 | public func pageViewController(_ pageViewController: UIPageViewController, viewControllerAfter viewController: UIViewController) -> UIViewController? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:100:11: note: 'UIPageViewControllerDataSource' has been explicitly marked unavailable here
98 |
99 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
100 | @protocol UIPageViewControllerDataSource <NSObject>
| `- note: 'UIPageViewControllerDataSource' has been explicitly marked unavailable here
101 |
102 | @required
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:61:58: error: 'UIPageViewController' is unavailable in watchOS
59 | extension WWOnBoardingViewController: UIPageViewControllerDelegate {
60 |
61 | public func pageViewController(_ pageViewController: UIPageViewController, willTransitionTo pendingViewControllers: [UIViewController]) {
| `- error: 'UIPageViewController' is unavailable in watchOS
62 | willTransitionToAction(pageViewController, pendingViewControllers: pendingViewControllers, lastPageIndex: pageViewControllerArray._index())
63 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:61:122: error: 'UIViewController' is unavailable in watchOS
59 | extension WWOnBoardingViewController: UIPageViewControllerDelegate {
60 |
61 | public func pageViewController(_ pageViewController: UIPageViewController, willTransitionTo pendingViewControllers: [UIViewController]) {
| `- error: 'UIViewController' is unavailable in watchOS
62 | willTransitionToAction(pageViewController, pendingViewControllers: pendingViewControllers, lastPageIndex: pageViewControllerArray._index())
63 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:65:58: error: 'UIPageViewController' is unavailable in watchOS
63 | }
64 |
65 | public func pageViewController(_ pageViewController: UIPageViewController, didFinishAnimating finished: Bool, previousViewControllers: [UIViewController], transitionCompleted completed: Bool) {
| `- error: 'UIPageViewController' is unavailable in watchOS
66 | transitionCompletedAction(pageViewController, didFinishAnimating: finished, previousViewControllers: previousViewControllers, transitionCompleted: completed)
67 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:65:141: error: 'UIViewController' is unavailable in watchOS
63 | }
64 |
65 | public func pageViewController(_ pageViewController: UIPageViewController, didFinishAnimating finished: Bool, previousViewControllers: [UIViewController], transitionCompleted completed: Bool) {
| `- error: 'UIViewController' is unavailable in watchOS
66 | transitionCompletedAction(pageViewController, didFinishAnimating: finished, previousViewControllers: previousViewControllers, transitionCompleted: completed)
67 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:59:39: error: 'UIPageViewControllerDelegate' is unavailable in watchOS
57 |
58 | // MARK: - UIPageViewControllerDelegate
59 | extension WWOnBoardingViewController: UIPageViewControllerDelegate {
| `- error: 'UIPageViewControllerDelegate' is unavailable in watchOS
60 |
61 | public func pageViewController(_ pageViewController: UIPageViewController, willTransitionTo pendingViewControllers: [UIViewController]) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:80:11: note: 'UIPageViewControllerDelegate' has been explicitly marked unavailable here
78 |
79 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
80 | @protocol UIPageViewControllerDelegate <NSObject>
| `- note: 'UIPageViewControllerDelegate' has been explicitly marked unavailable here
81 |
82 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:204:57: error: 'UIPageViewController' is unavailable in watchOS
202 | /// - animated: 動畫
203 | /// - completion: ((Bool) -> Void)?
204 | func moveNextPage(to pageIndex: Int, for direction: UIPageViewController.NavigationDirection, animated: Bool, completion: ((Bool) -> Void)?) {
| `- error: 'UIPageViewController' is unavailable in watchOS
205 |
206 | guard let nextPage = pageViewControllerArray[safe: pageIndex] else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:249:55: error: 'UIPageViewController' is unavailable in watchOS
247 | /// - pageViewController: UIPageViewController
248 | /// - pendingViewControllers: [UIViewController]
249 | func willTransitionToAction(_ pageViewController: UIPageViewController, pendingViewControllers: [UIViewController], lastPageIndex: Int) {
| `- error: 'UIPageViewController' is unavailable in watchOS
250 |
251 | guard let nextController = pendingViewControllers.first,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:249:102: error: 'UIViewController' is unavailable in watchOS
247 | /// - pageViewController: UIPageViewController
248 | /// - pendingViewControllers: [UIViewController]
249 | func willTransitionToAction(_ pageViewController: UIPageViewController, pendingViewControllers: [UIViewController], lastPageIndex: Int) {
| `- error: 'UIViewController' is unavailable in watchOS
250 |
251 | guard let nextController = pendingViewControllers.first,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:283:58: error: 'UIPageViewController' is unavailable in watchOS
281 | /// - previousViewControllers: [UIViewController]
282 | /// - completed: Bool
283 | func transitionCompletedAction(_ pageViewController: UIPageViewController, didFinishAnimating finished: Bool, previousViewControllers: [UIViewController], transitionCompleted completed: Bool) {
| `- error: 'UIPageViewController' is unavailable in watchOS
284 |
285 | if (completed) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIPageViewController : UIViewController {
| `- note: 'UIPageViewController' has been explicitly marked unavailable here
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:283:141: error: 'UIViewController' is unavailable in watchOS
281 | /// - previousViewControllers: [UIViewController]
282 | /// - completed: Bool
283 | func transitionCompletedAction(_ pageViewController: UIPageViewController, didFinishAnimating finished: Bool, previousViewControllers: [UIViewController], transitionCompleted completed: Bool) {
| `- error: 'UIViewController' is unavailable in watchOS
284 |
285 | if (completed) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:302:56: error: 'UIViewController' is unavailable in watchOS
300 |
301 | /// 取得當前頁面的下一頁 ==> 下一頁如果超過總頁面的話就回到第一頁
302 | func nextViewController(for currentViewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
303 |
304 | guard let currentIndex = pageViewControllerArray.firstIndex(of: currentViewController),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:302:77: error: 'UIViewController' is unavailable in watchOS
300 |
301 | /// 取得當前頁面的下一頁 ==> 下一頁如果超過總頁面的話就回到第一頁
302 | func nextViewController(for currentViewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
303 |
304 | guard let currentIndex = pageViewControllerArray.firstIndex(of: currentViewController),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift:326:60: error: 'UIViewController' is unavailable in watchOS
324 | /// - Parameter currentViewController: UIViewController
325 | /// - Returns: UIViewController?
326 | func previousViewController(for currentViewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
327 |
328 | guard let viewControllerIndex = pageViewControllerArray.firstIndex(of: currentViewController),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/WWOnBoardingViewController.swift (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WWOnBoardingViewController.swift
SwiftCompile normal arm64 Compiling\ Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/Extension.swift (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWOnBoardingViewController/Extension.swift (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Extension.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-20 06:30:16.095 xcodebuild[806:4865] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ WWOnBoardingViewController (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
SwiftCompile normal arm64 (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ WWOnBoardingViewController (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
SwiftCompile normal arm64_32 (in target 'WWOnBoardingViewController' from project 'WWOnBoardingViewController')
Building workspace WWOnBoardingViewController with scheme WWOnBoardingViewController
(5 failures)
BUILD FAILURE 6.4 watchOS