Build Information
Failed to build FSPagerView with Swift 6.0 for watchOS using Xcode 16.0.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a xcodebuild -IDEClonedSourcePackagesDirPathOverride=$workDir/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $workDir/.derivedData build -scheme FSPagerView -destination generic/platform=watchos OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete
Build Log
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift (in target 'FSPagerView' from project 'FSPagerView')
cd /Users/admin/builder/spi-builder-workspace
/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -c /Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPageViewLayout.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPageViewTransformer.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPagerCollectionView.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewCell.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewLayoutAttributes.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/armv7k/FSPagerView.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/armv7k/FSPagerView.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/armv7k/FSPagerView.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/armv7k/FSPagerView.dia -target armv7k-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/armv7k/FSPagerView_const_extract_protocols.json -strict-concurrency\=complete -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 -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name FSPagerView -frontend-parseable-output -disable-clang-spi -target-sdk-version 10.4 -target-sdk-name watchos10.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/armv7k/FSPagerView.o -index-unit-output-path /FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/armv7k/FSPagerView.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:20:10: error: method cannot be marked @objc because the type of the parameter cannot be represented in Objective-C
func numberOfItems(in pagerView: FSPagerView) -> Int
^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:20:38: note: classes not annotated with @objc cannot be represented in Objective-C
func numberOfItems(in pagerView: FSPagerView) -> Int
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:24:10: error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
func pagerView(_ pagerView: FSPagerView, cellForItemAt index: Int) -> FSPagerViewCell
^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:24:33: note: classes not annotated with @objc cannot be represented in Objective-C
func pagerView(_ pagerView: FSPagerView, cellForItemAt index: Int) -> FSPagerViewCell
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:33:19: error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
optional func pagerView(_ pagerView: FSPagerView, shouldHighlightItemAt index: Int) -> Bool
^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:33:42: note: classes not annotated with @objc cannot be represented in Objective-C
optional func pagerView(_ pagerView: FSPagerView, shouldHighlightItemAt index: Int) -> Bool
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:37:19: error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
optional func pagerView(_ pagerView: FSPagerView, didHighlightItemAt index: Int)
^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:37:42: note: classes not annotated with @objc cannot be represented in Objective-C
optional func pagerView(_ pagerView: FSPagerView, didHighlightItemAt index: Int)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:41:19: error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
optional func pagerView(_ pagerView: FSPagerView, shouldSelectItemAt index: Int) -> Bool
^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:41:42: note: classes not annotated with @objc cannot be represented in Objective-C
optional func pagerView(_ pagerView: FSPagerView, shouldSelectItemAt index: Int) -> Bool
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:45:19: error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
optional func pagerView(_ pagerView: FSPagerView, didSelectItemAt index: Int)
^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:45:42: note: classes not annotated with @objc cannot be represented in Objective-C
optional func pagerView(_ pagerView: FSPagerView, didSelectItemAt index: Int)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:49:19: error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
optional func pagerView(_ pagerView: FSPagerView, willDisplay cell: FSPagerViewCell, forItemAt index: Int)
^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:49:42: note: classes not annotated with @objc cannot be represented in Objective-C
optional func pagerView(_ pagerView: FSPagerView, willDisplay cell: FSPagerViewCell, forItemAt index: Int)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:49:19: error: method cannot be marked @objc because the type of the parameter 2 cannot be represented in Objective-C
optional func pagerView(_ pagerView: FSPagerView, willDisplay cell: FSPagerViewCell, forItemAt index: Int)
^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:49:73: note: classes not annotated with @objc cannot be represented in Objective-C
optional func pagerView(_ pagerView: FSPagerView, willDisplay cell: FSPagerViewCell, forItemAt index: Int)
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:53:19: error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
optional func pagerView(_ pagerView: FSPagerView, didEndDisplaying cell: FSPagerViewCell, forItemAt index: Int)
^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:53:42: note: classes not annotated with @objc cannot be represented in Objective-C
optional func pagerView(_ pagerView: FSPagerView, didEndDisplaying cell: FSPagerViewCell, forItemAt index: Int)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:53:19: error: method cannot be marked @objc because the type of the parameter 2 cannot be represented in Objective-C
optional func pagerView(_ pagerView: FSPagerView, didEndDisplaying cell: FSPagerViewCell, forItemAt index: Int)
^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:53:78: note: classes not annotated with @objc cannot be represented in Objective-C
optional func pagerView(_ pagerView: FSPagerView, didEndDisplaying cell: FSPagerViewCell, forItemAt index: Int)
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:57:19: error: method cannot be marked @objc because the type of the parameter cannot be represented in Objective-C
optional func pagerViewWillBeginDragging(_ pagerView: FSPagerView)
^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:57:59: note: classes not annotated with @objc cannot be represented in Objective-C
optional func pagerViewWillBeginDragging(_ pagerView: FSPagerView)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:61:19: error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
optional func pagerViewWillEndDragging(_ pagerView: FSPagerView, targetIndex: Int)
^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:61:57: note: classes not annotated with @objc cannot be represented in Objective-C
optional func pagerViewWillEndDragging(_ pagerView: FSPagerView, targetIndex: Int)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:65:19: error: method cannot be marked @objc because the type of the parameter cannot be represented in Objective-C
optional func pagerViewDidScroll(_ pagerView: FSPagerView)
^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:65:51: note: classes not annotated with @objc cannot be represented in Objective-C
optional func pagerViewDidScroll(_ pagerView: FSPagerView)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:69:19: error: method cannot be marked @objc because the type of the parameter cannot be represented in Objective-C
optional func pagerViewDidEndScrollAnimation(_ pagerView: FSPagerView)
^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:69:63: note: classes not annotated with @objc cannot be represented in Objective-C
optional func pagerViewDidEndScrollAnimation(_ pagerView: FSPagerView)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:73:19: error: method cannot be marked @objc because the type of the parameter cannot be represented in Objective-C
optional func pagerViewDidEndDecelerating(_ pagerView: FSPagerView)
^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:73:60: note: classes not annotated with @objc cannot be represented in Objective-C
optional func pagerViewDidEndDecelerating(_ pagerView: FSPagerView)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:328:50: error: cannot find type 'UICollectionView' in scope
public func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:332:107: error: cannot find type 'UICollectionViewCell' in scope
public func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:332:50: error: cannot find type 'UICollectionView' in scope
public func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:341:50: error: cannot find type 'UICollectionView' in scope
public func collectionView(_ collectionView: UICollectionView, shouldHighlightItemAt indexPath: IndexPath) -> Bool {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:349:50: error: cannot find type 'UICollectionView' in scope
public func collectionView(_ collectionView: UICollectionView, didHighlightItemAt indexPath: IndexPath) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:357:50: error: cannot find type 'UICollectionView' in scope
public func collectionView(_ collectionView: UICollectionView, shouldSelectItemAt indexPath: IndexPath) -> Bool {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:365:50: error: cannot find type 'UICollectionView' in scope
public func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:377:50: error: cannot find type 'UICollectionView' in scope
public func collectionView(_ collectionView: UICollectionView, willDisplay cell: UICollectionViewCell, forItemAt indexPath: IndexPath) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:377:86: error: cannot find type 'UICollectionViewCell' in scope
public func collectionView(_ collectionView: UICollectionView, willDisplay cell: UICollectionViewCell, forItemAt indexPath: IndexPath) {
^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:385:50: error: cannot find type 'UICollectionView' in scope
public func collectionView(_ collectionView: UICollectionView, didEndDisplaying cell: UICollectionViewCell, forItemAt indexPath: IndexPath) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:385:91: error: cannot find type 'UICollectionViewCell' in scope
public func collectionView(_ collectionView: UICollectionView, didEndDisplaying cell: UICollectionViewCell, forItemAt indexPath: IndexPath) {
^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:128:33: error: value of type 'FSPagerCollectionView' has no member 'reloadData'
self.collectionView.reloadData()
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:174:30: error: cannot find type 'UIView' in scope
open var backgroundView: UIView? {
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:180:22: error: value of type 'FSPagerView' has no member 'insertSubview'
self.insertSubview(backgroundView, at: 0)
~~~~ ^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:181:22: error: value of type 'FSPagerView' has no member 'setNeedsLayout'
self.setNeedsLayout()
~~~~ ^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:213:36: error: cannot find type 'UIPanGestureRecognizer' in scope
open var panGestureRecognizer: UIPanGestureRecognizer {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:223:36: error: cannot find type 'UIView' in scope
internal weak var contentView: UIView!
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:266:21: error: initializer does not override a designated initializer from its superclass
public override init(frame: CGRect) {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:276:24: error: method does not override any method from its superclass
open override func layoutSubviews() {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:283:53: error: cannot find type 'UIWindow' in scope
open override func willMove(toWindow newWindow: UIWindow?) {
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:283:24: error: method does not override any method from its superclass
open override func willMove(toWindow newWindow: UIWindow?) {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:316:53: error: cannot find type 'UICollectionView' in scope
public func numberOfSections(in collectionView: UICollectionView) -> Int {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:393:51: error: cannot find type 'UIScrollView' in scope
public func scrollViewDidScroll(_ scrollView: UIScrollView) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:407:59: error: cannot find type 'UIScrollView' in scope
public func scrollViewWillBeginDragging(_ scrollView: UIScrollView) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:416:57: error: cannot find type 'UIScrollView' in scope
public func scrollViewWillEndDragging(_ scrollView: UIScrollView, withVelocity velocity: CGPoint, targetContentOffset: UnsafeMutablePointer<CGPoint>) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:427:60: error: cannot find type 'UIScrollView' in scope
public func scrollViewDidEndDecelerating(_ scrollView: UIScrollView) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:433:66: error: cannot find type 'UIScrollView' in scope
public func scrollViewDidEndScrollingAnimation(_ scrollView: UIScrollView) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:457:31: error: cannot find type 'UINib' in scope
open func register(_ nib: UINib?, forCellWithReuseIdentifier identifier: String) {
^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:468:15: error: method cannot be marked @objc because its result type cannot be represented in Objective-C
open func dequeueReusableCell(withReuseIdentifier identifier: String, at index: Int) -> FSPagerViewCell {
^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:468:93: note: classes not annotated with @objc cannot be represented in Objective-C
open func dequeueReusableCell(withReuseIdentifier identifier: String, at index: Int) -> FSPagerViewCell {
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:535:15: error: method cannot be marked @objc because the type of the parameter cannot be represented in Objective-C
open func index(for cell: FSPagerViewCell) -> Int {
^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:535:31: note: classes not annotated with @objc cannot be represented in Objective-C
open func index(for cell: FSPagerViewCell) -> Int {
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:547:15: error: method cannot be marked @objc because its result type cannot be represented in Objective-C
open func cellForItem(at index: Int) -> FSPagerViewCell? {
^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:78:25: error: cannot find type 'UIView' in scope
open class FSPagerView: UIView,UICollectionViewDataSource,UICollectionViewDelegate {
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:78:32: error: cannot find type 'UICollectionViewDataSource' in scope
open class FSPagerView: UIView,UICollectionViewDataSource,UICollectionViewDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:78:59: error: cannot find type 'UICollectionViewDelegate' in scope
open class FSPagerView: UIView,UICollectionViewDataSource,UICollectionViewDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:139:35: error: value of type 'FSPagerCollectionView' has no member 'isScrollEnabled'
set { self.collectionView.isScrollEnabled = newValue }
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:140:42: error: value of type 'FSPagerCollectionView' has no member 'isScrollEnabled'
get { return self.collectionView.isScrollEnabled }
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:146:35: error: value of type 'FSPagerCollectionView' has no member 'bounces'
set { self.collectionView.bounces = newValue }
~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:147:42: error: value of type 'FSPagerCollectionView' has no member 'bounces'
get { return self.collectionView.bounces }
~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:153:35: error: value of type 'FSPagerCollectionView' has no member 'alwaysBounceHorizontal'
set { self.collectionView.alwaysBounceHorizontal = newValue }
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:154:42: error: value of type 'FSPagerCollectionView' has no member 'alwaysBounceHorizontal'
get { return self.collectionView.alwaysBounceHorizontal }
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:160:35: error: value of type 'FSPagerCollectionView' has no member 'alwaysBounceVertical'
set { self.collectionView.alwaysBounceVertical = newValue }
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:161:42: error: value of type 'FSPagerCollectionView' has no member 'alwaysBounceVertical'
get { return self.collectionView.alwaysBounceVertical }
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:200:36: error: value of type 'FSPagerCollectionView' has no member 'isTracking'
return self.collectionView.isTracking
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:206:53: error: value of type 'FSPagerCollectionView' has no member 'contentOffset'
let contentOffset = max(self.collectionView.contentOffset.x, self.collectionView.contentOffset.y)
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:206:90: error: value of type 'FSPagerCollectionView' has no member 'contentOffset'
let contentOffset = max(self.collectionView.contentOffset.x, self.collectionView.contentOffset.y)
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:230:59: error: value of type 'FSPagerCollectionView' has no member 'contentSize'
guard self.numberOfItems > 0, self.collectionView.contentSize != .zero else {
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:233:52: error: value of type 'FSPagerCollectionView' has no member 'indexPathsForVisibleItems'
let sortedIndexPaths = self.collectionView.indexPathsForVisibleItems.sorted { (l, r) -> Bool in
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:241:45: error: value of type 'FSPagerCollectionView' has no member 'bounds'
ruler = self.collectionView.bounds.midX
~~~~~~~~~~~~~~~~~~~ ^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:267:9: error: 'super' members cannot be referenced in a root class
super.init(frame: frame)
^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:272:9: error: 'super' members cannot be referenced in a root class
super.init(coder: aDecoder)
^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:277:9: error: 'super' members cannot be referenced in a root class
super.layoutSubviews()
^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:278:43: error: value of type 'FSPagerView' has no member 'bounds'
self.backgroundView?.frame = self.bounds
~~~~ ^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:279:39: error: value of type 'FSPagerView' has no member 'bounds'
self.contentView.frame = self.bounds
~~~~ ^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:280:29: error: value of type 'FSPagerCollectionView' has no member 'frame'
self.collectionView.frame = self.contentView.bounds
~~~~~~~~~~~~~~~~~~~ ^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:284:9: error: 'super' members cannot be referenced in a root class
super.willMove(toWindow: newWindow)
^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:310:29: error: value of type 'FSPagerCollectionView' has no member 'dataSource'
self.collectionView.dataSource = nil
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:310:42: error: 'nil' requires a contextual type
self.collectionView.dataSource = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:311:29: error: value of type 'FSPagerCollectionView' has no member 'delegate'
self.collectionView.delegate = nil
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:311:40: error: 'nil' requires a contextual type
self.collectionView.delegate = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:448:29: error: value of type 'FSPagerCollectionView' has no member 'register'
self.collectionView.register(cellClass, forCellWithReuseIdentifier: identifier)
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:458:29: error: value of type 'FSPagerCollectionView' has no member 'register'
self.collectionView.register(nib, forCellWithReuseIdentifier: identifier)
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:470:40: error: value of type 'FSPagerCollectionView' has no member 'dequeueReusableCell'
let cell = self.collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath)
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:481:29: error: value of type 'FSPagerCollectionView' has no member 'reloadData'
self.collectionView.reloadData()
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:492:29: error: cannot find type 'UICollectionView' in scope
let scrollPosition: UICollectionView.ScrollPosition = self.scrollDirection == .horizontal ? .centeredHorizontally : .centeredVertically
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:493:29: error: value of type 'FSPagerCollectionView' has no member 'selectItem'
self.collectionView.selectItem(at: indexPath, animated: animated, scrollPosition: scrollPosition)
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:504:29: error: value of type 'FSPagerCollectionView' has no member 'deselectItem'
self.collectionView.deselectItem(at: indexPath, animated: animated)
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:527:29: error: value of type 'FSPagerCollectionView' has no member 'setContentOffset'
self.collectionView.setContentOffset(contentOffset, animated: animated)
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:536:51: error: value of type 'FSPagerCollectionView' has no member 'indexPath'
guard let indexPath = self.collectionView.indexPath(for: cell) else {
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:549:36: error: value of type 'FSPagerCollectionView' has no member 'cellForItem'
return self.collectionView.cellForItem(at: indexPath) as? FSPagerViewCell
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:557:27: error: cannot find 'UIView' in scope
let contentView = UIView(frame:CGRect.zero)
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:559:14: error: value of type 'FSPagerView' has no member 'addSubview'
self.addSubview(contentView)
~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerCollectionView.swift:39:63: error: cannot find type 'UICollectionViewLayout' in scope
override init(frame: CGRect, collectionViewLayout layout: UICollectionViewLayout) {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:564:51: error: extra arguments at positions #1, #2 in call
let collectionView = FSPagerCollectionView(frame: CGRect.zero, collectionViewLayout: collectionViewLayout)
^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerCollectionView.swift:44:14: note: 'init(coder:)' declared here
required init?(coder aDecoder: NSCoder) {
^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:564:52: error: missing argument for parameter 'coder' in call
let collectionView = FSPagerCollectionView(frame: CGRect.zero, collectionViewLayout: collectionViewLayout)
^
coder: <#NSCoder#>,
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerCollectionView.swift:44:14: note: 'init(coder:)' declared here
required init?(coder aDecoder: NSCoder) {
^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:584:28: error: value of type 'FSPagerView' has no member 'superview'
guard let _ = self.superview, let _ = self.window, self.numberOfItems > 0, !self.isTracking else {
~~~~ ^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:584:52: error: value of type 'FSPagerView' has no member 'window'
guard let _ = self.superview, let _ = self.window, self.numberOfItems > 0, !self.isTracking else {
~~~~ ^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:593:29: error: value of type 'FSPagerCollectionView' has no member 'setContentOffset'
self.collectionView.setContentOffset(contentOffset, animated: true)
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~
SwiftCompile normal arm64 Compiling\ FSPageViewLayout.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPageViewLayout.swift (in target 'FSPagerView' from project 'FSPagerView')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftTaskExecution -- /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/FSPageViewLayout.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPageViewTransformer.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPagerCollectionView.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewCell.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewLayoutAttributes.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64/FSPageViewLayout.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64/FSPageViewLayout.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64/FSPageViewLayout.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64/FSPageViewLayout.dia -target arm64-apple-watchos5.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64/FSPagerView_const_extract_protocols.json -strict-concurrency\=complete -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 -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name FSPagerView -frontend-parseable-output -disable-clang-spi -target-sdk-version 10.4 -target-sdk-name watchos10.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64/FSPageViewLayout.o -index-unit-output-path /FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64/FSPageViewLayout.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FSPageViewLayout.swift (in target 'FSPagerView' from project 'FSPagerView')
cd /Users/admin/builder/spi-builder-workspace
/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -c /Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/FSPageViewLayout.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPageViewTransformer.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPagerCollectionView.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewCell.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewLayoutAttributes.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64/FSPageViewLayout.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64/FSPageViewLayout.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64/FSPageViewLayout.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64/FSPageViewLayout.dia -target arm64-apple-watchos5.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64/FSPagerView_const_extract_protocols.json -strict-concurrency\=complete -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 -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name FSPagerView -frontend-parseable-output -disable-clang-spi -target-sdk-version 10.4 -target-sdk-name watchos10.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64/FSPageViewLayout.o -index-unit-output-path /FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64/FSPageViewLayout.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftEmitModule normal armv7k Emitting\ module\ for\ FSPagerView (in target 'FSPagerView' from project 'FSPagerView')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftTaskExecution -- /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPageViewLayout.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPageViewTransformer.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPagerCollectionView.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewCell.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewLayoutAttributes.swift -target armv7k-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/armv7k/FSPagerView_const_extract_protocols.json -strict-concurrency\=complete -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 -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name FSPagerView -disable-clang-spi -target-sdk-version 10.4 -target-sdk-name watchos10.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/armv7k/FSPagerView.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/armv7k/FSPagerView.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/armv7k/FSPagerView-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/armv7k/FSPagerView-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/armv7k/FSPagerView-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/armv7k/FSPagerView.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/armv7k/FSPagerView.abi.json
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:42:18: error: value of type 'FSPageControl' has no member 'setNeedsLayout'
40 | open var interitemSpacing: CGFloat = 6 {
41 | didSet {
42 | self.setNeedsLayout()
| `- error: value of type 'FSPageControl' has no member 'setNeedsLayout'
43 | }
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:50:18: error: value of type 'FSPageControl' has no member 'setNeedsLayout'
48 | open var contentInsets: UIEdgeInsets = .zero {
49 | didSet {
50 | self.setNeedsLayout()
| `- error: value of type 'FSPageControl' has no member 'setNeedsLayout'
51 | }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:55:51: error: cannot find type 'UIControl' in scope
53 |
54 | /// The horizontal alignment of content within the control’s bounds. Default is center.
55 | open override var contentHorizontalAlignment: UIControl.ContentHorizontalAlignment {
| `- error: cannot find type 'UIControl' in scope
56 | didSet {
57 | self.setNeedsLayout()
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:55:23: error: property does not override any property from its superclass
53 |
54 | /// The horizontal alignment of content within the control’s bounds. Default is center.
55 | open override var contentHorizontalAlignment: UIControl.ContentHorizontalAlignment {
| `- error: property does not override any property from its superclass
56 | didSet {
57 | self.setNeedsLayout()
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:57:18: error: value of type 'FSPageControl' has no member 'setNeedsLayout'
55 | open override var contentHorizontalAlignment: UIControl.ContentHorizontalAlignment {
56 | didSet {
57 | self.setNeedsLayout()
| `- error: value of type 'FSPageControl' has no member 'setNeedsLayout'
58 | }
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:69:33: error: cannot find type 'UIControl' in scope
67 | }
68 |
69 | internal var strokeColors: [UIControl.State: UIColor] = [:]
| `- error: cannot find type 'UIControl' in scope
70 | internal var fillColors: [UIControl.State: UIColor] = [:]
71 | internal var paths: [UIControl.State: UIBezierPath] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:70:31: error: cannot find type 'UIControl' in scope
68 |
69 | internal var strokeColors: [UIControl.State: UIColor] = [:]
70 | internal var fillColors: [UIControl.State: UIColor] = [:]
| `- error: cannot find type 'UIControl' in scope
71 | internal var paths: [UIControl.State: UIBezierPath] = [:]
72 | internal var images: [UIControl.State: UIImage] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:71:26: error: cannot find type 'UIControl' in scope
69 | internal var strokeColors: [UIControl.State: UIColor] = [:]
70 | internal var fillColors: [UIControl.State: UIColor] = [:]
71 | internal var paths: [UIControl.State: UIBezierPath] = [:]
| `- error: cannot find type 'UIControl' in scope
72 | internal var images: [UIControl.State: UIImage] = [:]
73 | internal var alphas: [UIControl.State: CGFloat] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:72:27: error: cannot find type 'UIControl' in scope
70 | internal var fillColors: [UIControl.State: UIColor] = [:]
71 | internal var paths: [UIControl.State: UIBezierPath] = [:]
72 | internal var images: [UIControl.State: UIImage] = [:]
| `- error: cannot find type 'UIControl' in scope
73 | internal var alphas: [UIControl.State: CGFloat] = [:]
74 | internal var transforms: [UIControl.State: CGAffineTransform] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:73:27: error: cannot find type 'UIControl' in scope
71 | internal var paths: [UIControl.State: UIBezierPath] = [:]
72 | internal var images: [UIControl.State: UIImage] = [:]
73 | internal var alphas: [UIControl.State: CGFloat] = [:]
| `- error: cannot find type 'UIControl' in scope
74 | internal var transforms: [UIControl.State: CGAffineTransform] = [:]
75 |
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:74:31: error: cannot find type 'UIControl' in scope
72 | internal var images: [UIControl.State: UIImage] = [:]
73 | internal var alphas: [UIControl.State: CGFloat] = [:]
74 | internal var transforms: [UIControl.State: CGAffineTransform] = [:]
| `- error: cannot find type 'UIControl' in scope
75 |
76 | fileprivate weak var contentView: UIView!
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:76:39: error: cannot find type 'UIView' in scope
74 | internal var transforms: [UIControl.State: CGAffineTransform] = [:]
75 |
76 | fileprivate weak var contentView: UIView!
| `- error: cannot find type 'UIView' in scope
77 |
78 | fileprivate var needsUpdateIndicators = false
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:80:40: error: cannot find 'CAShapeLayer' in scope
78 | fileprivate var needsUpdateIndicators = false
79 | fileprivate var needsCreateIndicators = false
80 | fileprivate var indicatorLayers = [CAShapeLayer]()
| `- error: cannot find 'CAShapeLayer' in scope
81 |
82 | public override init(frame: CGRect) {
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:80:39: error: cannot call value of non-function type '[Any]'
78 | fileprivate var needsUpdateIndicators = false
79 | fileprivate var needsCreateIndicators = false
80 | fileprivate var indicatorLayers = [CAShapeLayer]()
| `- error: cannot call value of non-function type '[Any]'
81 |
82 | public override init(frame: CGRect) {
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:82:21: error: initializer does not override a designated initializer from its superclass
80 | fileprivate var indicatorLayers = [CAShapeLayer]()
81 |
82 | public override init(frame: CGRect) {
| `- error: initializer does not override a designated initializer from its superclass
83 | super.init(frame: frame)
84 | commonInit()
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:92:24: error: method does not override any method from its superclass
90 | }
91 |
92 | open override func layoutSubviews() {
| `- error: method does not override any method from its superclass
93 | super.layoutSubviews()
94 | self.contentView.frame = {
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:104:50: error: cannot find type 'CALayer' in scope
102 | }
103 |
104 | open override func layoutSublayers(of layer: CALayer) {
| `- error: cannot find type 'CALayer' in scope
105 | super.layoutSublayers(of: layer)
106 |
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:104:24: error: method does not override any method from its superclass
102 | }
103 |
104 | open override func layoutSublayers(of layer: CALayer) {
| `- error: method does not override any method from its superclass
105 | super.layoutSublayers(of: layer)
106 |
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:141:66: error: cannot find type 'UIControl' in scope
139 | /// - state: The state that uses the specified stroke color.
140 | @objc(setStrokeColor:forState:)
141 | open func setStrokeColor(_ strokeColor: UIColor?, for state: UIControl.State) {
| `- error: cannot find type 'UIControl' in scope
142 | guard self.strokeColors[state] != strokeColor else {
143 | return
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:155:62: error: cannot find type 'UIControl' in scope
153 | /// - state: The state that uses the specified fill color.
154 | @objc(setFillColor:forState:)
155 | open func setFillColor(_ fillColor: UIColor?, for state: UIControl.State) {
| `- error: cannot find type 'UIControl' in scope
156 | guard self.fillColors[state] != fillColor else {
157 | return
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:169:54: error: cannot find type 'UIControl' in scope
167 | /// - state: The state that uses the specified image.
168 | @objc(setImage:forState:)
169 | open func setImage(_ image: UIImage?, for state: UIControl.State) {
| `- error: cannot find type 'UIControl' in scope
170 | guard self.images[state] != image else {
171 | return
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:184:53: error: cannot find type 'UIControl' in scope
182 | /// - alpha: The alpha value to use for the specified state.
183 | /// - state: The state that uses the specified alpha.
184 | open func setAlpha(_ alpha: CGFloat, for state: UIControl.State) {
| `- error: cannot find type 'UIControl' in scope
185 | guard self.alphas[state] != alpha else {
186 | return
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:198:57: error: cannot find type 'UIControl' in scope
196 | /// - state: The state that uses the specified path.
197 | @objc(setPath:forState:)
198 | open func setPath(_ path: UIBezierPath?, for state: UIControl.State) {
| `- error: cannot find type 'UIControl' in scope
199 | guard self.paths[state] != path else {
200 | return
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:244:59: error: cannot find type 'CAShapeLayer' in scope
242 | }
243 |
244 | fileprivate func updateIndicatorAttributes(for layer: CAShapeLayer) {
| `- error: cannot find type 'CAShapeLayer' in scope
245 | let index = self.indicatorLayers.firstIndex(of: layer)
246 | let state: UIControl.State = index == self.currentPage ? .selected : .normal
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:12:27: error: cannot find type 'UIControl' in scope
10 |
11 | @IBDesignable
12 | open class FSPageControl: UIControl {
| `- error: cannot find type 'UIControl' in scope
13 |
14 | /// The number of page indicators of the page control. Default is 0.
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:305:11: error: cannot find type 'UIControl' in scope
303 | }
304 |
305 | extension UIControl.State: Hashable {
| `- error: cannot find type 'UIControl' in scope
306 | public var hashValue: Int {
307 | return Int((6777*self.rawValue+3777)%UInt(UInt16.max))
/Users/admin/builder/spi-builder-workspace/Sources/FSPageViewLayout.swift:11:26: error: cannot find type 'UICollectionViewLayout' in scope
9 | import UIKit
10 |
11 | class FSPagerViewLayout: UICollectionViewLayout {
| `- error: cannot find type 'UICollectionViewLayout' in scope
12 |
13 | internal var contentSize: CGSize = .zero
/Users/admin/builder/spi-builder-workspace/Sources/FSPageViewLayout.swift:19:29: error: property does not override any property from its superclass
17 | internal var scrollDirection: FSPagerView.ScrollDirection = .horizontal
18 |
19 | open override class var layoutAttributesClass: AnyClass {
| `- error: property does not override any property from its superclass
20 | return FSPagerViewLayoutAttributes.self
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/FSPageViewLayout.swift:33:14: error: initializer does not override a designated initializer from its superclass
31 | fileprivate var actualItemSize: CGSize = .zero
32 |
33 | override init() {
| `- error: initializer does not override a designated initializer from its superclass
34 | super.init()
35 | self.commonInit()
/Users/admin/builder/spi-builder-workspace/Sources/FSPageViewLayout.swift:49:24: error: method does not override any method from its superclass
47 | }
48 |
49 | override open func prepare() {
| `- error: method does not override any method from its superclass
50 | guard let collectionView = self.collectionView, let pagerView = self.pagerView else {
51 | return
/Users/admin/builder/spi-builder-workspace/Sources/FSPageViewLayout.swift:102:23: error: property does not override any property from its superclass
100 | }
101 |
102 | override open var collectionViewContentSize: CGSize {
| `- error: property does not override any property from its superclass
103 | return self.contentSize
104 | }
/Users/admin/builder/spi-builder-workspace/Sources/FSPageViewLayout.swift:106:24: error: method does not override any method from its superclass
104 | }
105 |
106 | override open func shouldInvalidateLayout(forBoundsChange newBounds: CGRect) -> Bool {
| `- error: method does not override any method from its superclass
107 | return true
108 | }
/Users/admin/builder/spi-builder-workspace/Sources/FSPageViewLayout.swift:110:73: error: cannot find type 'UICollectionViewLayoutAttributes' in scope
108 | }
109 |
110 | override open func layoutAttributesForElements(in rect: CGRect) -> [UICollectionViewLayoutAttributes]? {
| `- error: cannot find type 'UICollectionViewLayoutAttributes' in scope
111 | var layoutAttributes = [UICollectionViewLayoutAttributes]()
112 | guard self.itemSpacing > 0, !rect.isEmpty else {
/Users/admin/builder/spi-builder-workspace/Sources/FSPageViewLayout.swift:110:24: error: method does not override any method from its superclass
108 | }
109 |
110 | override open func layoutAttributesForElements(in rect: CGRect) -> [UICollectionViewLayoutAttributes]? {
| `- error: method does not override any method from its superclass
111 | var layoutAttributes = [UICollectionViewLayoutAttributes]()
112 | guard self.itemSpacing > 0, !rect.isEmpty else {
/Users/admin/builder/spi-builder-workspace/Sources/FSPageViewLayout.swift:141:76: error: cannot find type 'UICollectionViewLayoutAttributes' in scope
139 | }
140 |
141 | override open func layoutAttributesForItem(at indexPath: IndexPath) -> UICollectionViewLayoutAttributes? {
| `- error: cannot find type 'UICollectionViewLayoutAttributes' in scope
142 | let attributes = FSPagerViewLayoutAttributes(forCellWith: indexPath)
143 | attributes.indexPath = indexPath
/Users/admin/builder/spi-builder-workspace/Sources/FSPageViewLayout.swift:141:24: error: method does not override any method from its superclass
139 | }
140 |
141 | override open func layoutAttributesForItem(at indexPath: IndexPath) -> UICollectionViewLayoutAttributes? {
| `- error: method does not override any method from its superclass
142 | let attributes = FSPagerViewLayoutAttributes(forCellWith: indexPath)
143 | attributes.indexPath = indexPath
/Users/admin/builder/spi-builder-workspace/Sources/FSPageViewLayout.swift:151:24: error: method does not override any method from its superclass
149 | }
150 |
151 | override open func targetContentOffset(forProposedContentOffset proposedContentOffset: CGPoint, withScrollingVelocity velocity: CGPoint) -> CGPoint {
| `- error: method does not override any method from its superclass
152 | guard let collectionView = self.collectionView, let pagerView = self.pagerView else {
153 | return proposedContentOffset
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerCollectionView.swift:13:30: error: cannot find type 'UICollectionView' in scope
11 | import UIKit
12 |
13 | class FSPagerCollectionView: UICollectionView {
| `- error: cannot find type 'UICollectionView' in scope
14 |
15 | #if !os(tvOS)
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerCollectionView.swift:16:18: error: property does not override any property from its superclass
14 |
15 | #if !os(tvOS)
16 | override var scrollsToTop: Bool {
| `- error: property does not override any property from its superclass
17 | set {
18 | super.scrollsToTop = false
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerCollectionView.swift:26:18: error: property does not override any property from its superclass
24 | #endif
25 |
26 | override var contentInset: UIEdgeInsets {
| `- error: property does not override any property from its superclass
27 | set {
28 | super.contentInset = .zero
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerCollectionView.swift:39:63: error: cannot find type 'UICollectionViewLayout' in scope
37 | }
38 |
39 | override init(frame: CGRect, collectionViewLayout layout: UICollectionViewLayout) {
| `- error: cannot find type 'UICollectionViewLayout' in scope
40 | super.init(frame: frame, collectionViewLayout: layout)
41 | self.commonInit()
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerCollectionView.swift:39:14: error: initializer does not override a designated initializer from its superclass
37 | }
38 |
39 | override init(frame: CGRect, collectionViewLayout layout: UICollectionViewLayout) {
| `- error: initializer does not override a designated initializer from its superclass
40 | super.init(frame: frame, collectionViewLayout: layout)
41 | self.commonInit()
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:20:10: error: method cannot be marked @objc because the type of the parameter cannot be represented in Objective-C
18 | /// Asks your data source object for the number of items in the pager view.
19 | @objc(numberOfItemsInPagerView:)
20 | func numberOfItems(in pagerView: FSPagerView) -> Int
| | `- note: classes not annotated with @objc cannot be represented in Objective-C
| `- error: method cannot be marked @objc because the type of the parameter cannot be represented in Objective-C
21 |
22 | /// Asks your data source object for the cell that corresponds to the specified item in the pager view.
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:24:10: error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
22 | /// Asks your data source object for the cell that corresponds to the specified item in the pager view.
23 | @objc(pagerView:cellForItemAtIndex:)
24 | func pagerView(_ pagerView: FSPagerView, cellForItemAt index: Int) -> FSPagerViewCell
| | `- note: classes not annotated with @objc cannot be represented in Objective-C
| `- error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
25 |
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:33:19: error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
31 | /// Asks the delegate if the item should be highlighted during tracking.
32 | @objc(pagerView:shouldHighlightItemAtIndex:)
33 | optional func pagerView(_ pagerView: FSPagerView, shouldHighlightItemAt index: Int) -> Bool
| | `- note: classes not annotated with @objc cannot be represented in Objective-C
| `- error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
34 |
35 | /// Tells the delegate that the item at the specified index was highlighted.
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:37:19: error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
35 | /// Tells the delegate that the item at the specified index was highlighted.
36 | @objc(pagerView:didHighlightItemAtIndex:)
37 | optional func pagerView(_ pagerView: FSPagerView, didHighlightItemAt index: Int)
| | `- note: classes not annotated with @objc cannot be represented in Objective-C
| `- error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
38 |
39 | /// Asks the delegate if the specified item should be selected.
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:41:19: error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
39 | /// Asks the delegate if the specified item should be selected.
40 | @objc(pagerView:shouldSelectItemAtIndex:)
41 | optional func pagerView(_ pagerView: FSPagerView, shouldSelectItemAt index: Int) -> Bool
| | `- note: classes not annotated with @objc cannot be represented in Objective-C
| `- error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
42 |
43 | /// Tells the delegate that the item at the specified index was selected.
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:45:19: error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
43 | /// Tells the delegate that the item at the specified index was selected.
44 | @objc(pagerView:didSelectItemAtIndex:)
45 | optional func pagerView(_ pagerView: FSPagerView, didSelectItemAt index: Int)
| | `- note: classes not annotated with @objc cannot be represented in Objective-C
| `- error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
46 |
47 | /// Tells the delegate that the specified cell is about to be displayed in the pager view.
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:49:19: error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
47 | /// Tells the delegate that the specified cell is about to be displayed in the pager view.
48 | @objc(pagerView:willDisplayCell:forItemAtIndex:)
49 | optional func pagerView(_ pagerView: FSPagerView, willDisplay cell: FSPagerViewCell, forItemAt index: Int)
| | `- note: classes not annotated with @objc cannot be represented in Objective-C
| `- error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
50 |
51 | /// Tells the delegate that the specified cell was removed from the pager view.
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:49:19: error: method cannot be marked @objc because the type of the parameter 2 cannot be represented in Objective-C
47 | /// Tells the delegate that the specified cell is about to be displayed in the pager view.
48 | @objc(pagerView:willDisplayCell:forItemAtIndex:)
49 | optional func pagerView(_ pagerView: FSPagerView, willDisplay cell: FSPagerViewCell, forItemAt index: Int)
| | `- note: classes not annotated with @objc cannot be represented in Objective-C
| `- error: method cannot be marked @objc because the type of the parameter 2 cannot be represented in Objective-C
50 |
51 | /// Tells the delegate that the specified cell was removed from the pager view.
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:53:19: error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
51 | /// Tells the delegate that the specified cell was removed from the pager view.
52 | @objc(pagerView:didEndDisplayingCell:forItemAtIndex:)
53 | optional func pagerView(_ pagerView: FSPagerView, didEndDisplaying cell: FSPagerViewCell, forItemAt index: Int)
| | `- note: classes not annotated with @objc cannot be represented in Objective-C
| `- error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
54 |
55 | /// Tells the delegate when the pager view is about to start scrolling the content.
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:53:19: error: method cannot be marked @objc because the type of the parameter 2 cannot be represented in Objective-C
51 | /// Tells the delegate that the specified cell was removed from the pager view.
52 | @objc(pagerView:didEndDisplayingCell:forItemAtIndex:)
53 | optional func pagerView(_ pagerView: FSPagerView, didEndDisplaying cell: FSPagerViewCell, forItemAt index: Int)
| | `- note: classes not annotated with @objc cannot be represented in Objective-C
| `- error: method cannot be marked @objc because the type of the parameter 2 cannot be represented in Objective-C
54 |
55 | /// Tells the delegate when the pager view is about to start scrolling the content.
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:57:19: error: method cannot be marked @objc because the type of the parameter cannot be represented in Objective-C
55 | /// Tells the delegate when the pager view is about to start scrolling the content.
56 | @objc(pagerViewWillBeginDragging:)
57 | optional func pagerViewWillBeginDragging(_ pagerView: FSPagerView)
| | `- note: classes not annotated with @objc cannot be represented in Objective-C
| `- error: method cannot be marked @objc because the type of the parameter cannot be represented in Objective-C
58 |
59 | /// Tells the delegate when the user finishes scrolling the content.
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:61:19: error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
59 | /// Tells the delegate when the user finishes scrolling the content.
60 | @objc(pagerViewWillEndDragging:targetIndex:)
61 | optional func pagerViewWillEndDragging(_ pagerView: FSPagerView, targetIndex: Int)
| | `- note: classes not annotated with @objc cannot be represented in Objective-C
| `- error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
62 |
63 | /// Tells the delegate when the user scrolls the content view within the receiver.
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:65:19: error: method cannot be marked @objc because the type of the parameter cannot be represented in Objective-C
63 | /// Tells the delegate when the user scrolls the content view within the receiver.
64 | @objc(pagerViewDidScroll:)
65 | optional func pagerViewDidScroll(_ pagerView: FSPagerView)
| | `- note: classes not annotated with @objc cannot be represented in Objective-C
| `- error: method cannot be marked @objc because the type of the parameter cannot be represented in Objective-C
66 |
67 | /// Tells the delegate when a scrolling animation in the pager view concludes.
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:69:19: error: method cannot be marked @objc because the type of the parameter cannot be represented in Objective-C
67 | /// Tells the delegate when a scrolling animation in the pager view concludes.
68 | @objc(pagerViewDidEndScrollAnimation:)
69 | optional func pagerViewDidEndScrollAnimation(_ pagerView: FSPagerView)
| | `- note: classes not annotated with @objc cannot be represented in Objective-C
| `- error: method cannot be marked @objc because the type of the parameter cannot be represented in Objective-C
70 |
71 | /// Tells the delegate that the pager view has ended decelerating the scrolling movement.
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:73:19: error: method cannot be marked @objc because the type of the parameter cannot be represented in Objective-C
71 | /// Tells the delegate that the pager view has ended decelerating the scrolling movement.
72 | @objc(pagerViewDidEndDecelerating:)
73 | optional func pagerViewDidEndDecelerating(_ pagerView: FSPagerView)
| | `- note: classes not annotated with @objc cannot be represented in Objective-C
| `- error: method cannot be marked @objc because the type of the parameter cannot be represented in Objective-C
74 |
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:328:50: error: cannot find type 'UICollectionView' in scope
326 | }
327 |
328 | public func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
| `- error: cannot find type 'UICollectionView' in scope
329 | return self.numberOfItems
330 | }
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:332:107: error: cannot find type 'UICollectionViewCell' in scope
330 | }
331 |
332 | public func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
| `- error: cannot find type 'UICollectionViewCell' in scope
333 | let index = indexPath.item
334 | self.dequeingSection = indexPath.section
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:332:50: error: cannot find type 'UICollectionView' in scope
330 | }
331 |
332 | public func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
| `- error: cannot find type 'UICollectionView' in scope
333 | let index = indexPath.item
334 | self.dequeingSection = indexPath.section
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:341:50: error: cannot find type 'UICollectionView' in scope
339 | // MARK: - UICollectionViewDelegate
340 |
341 | public func collectionView(_ collectionView: UICollectionView, shouldHighlightItemAt indexPath: IndexPath) -> Bool {
| `- error: cannot find type 'UICollectionView' in scope
342 | guard let function = self.delegate?.pagerView(_:shouldHighlightItemAt:) else {
343 | return true
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:349:50: error: cannot find type 'UICollectionView' in scope
347 | }
348 |
349 | public func collectionView(_ collectionView: UICollectionView, didHighlightItemAt indexPath: IndexPath) {
| `- error: cannot find type 'UICollectionView' in scope
350 | guard let function = self.delegate?.pagerView(_:didHighlightItemAt:) else {
351 | return
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:357:50: error: cannot find type 'UICollectionView' in scope
355 | }
356 |
357 | public func collectionView(_ collectionView: UICollectionView, shouldSelectItemAt indexPath: IndexPath) -> Bool {
| `- error: cannot find type 'UICollectionView' in scope
358 | guard let function = self.delegate?.pagerView(_:shouldSelectItemAt:) else {
359 | return true
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:365:50: error: cannot find type 'UICollectionView' in scope
363 | }
364 |
365 | public func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
| `- error: cannot find type 'UICollectionView' in scope
366 | guard let function = self.delegate?.pagerView(_:didSelectItemAt:) else {
367 | return
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:377:50: error: cannot find type 'UICollectionView' in scope
375 | }
376 |
377 | public func collectionView(_ collectionView: UICollectionView, willDisplay cell: UICollectionViewCell, forItemAt indexPath: IndexPath) {
| `- error: cannot find type 'UICollectionView' in scope
378 | guard let function = self.delegate?.pagerView(_:willDisplay:forItemAt:) else {
379 | return
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:377:86: error: cannot find type 'UICollectionViewCell' in scope
375 | }
376 |
377 | public func collectionView(_ collectionView: UICollectionView, willDisplay cell: UICollectionViewCell, forItemAt indexPath: IndexPath) {
| `- error: cannot find type 'UICollectionViewCell' in scope
378 | guard let function = self.delegate?.pagerView(_:willDisplay:forItemAt:) else {
379 | return
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:385:50: error: cannot find type 'UICollectionView' in scope
383 | }
384 |
385 | public func collectionView(_ collectionView: UICollectionView, didEndDisplaying cell: UICollectionViewCell, forItemAt indexPath: IndexPath) {
| `- error: cannot find type 'UICollectionView' in scope
386 | guard let function = self.delegate?.pagerView(_:didEndDisplaying:forItemAt:) else {
387 | return
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:385:91: error: cannot find type 'UICollectionViewCell' in scope
383 | }
384 |
385 | public func collectionView(_ collectionView: UICollectionView, didEndDisplaying cell: UICollectionViewCell, forItemAt indexPath: IndexPath) {
| `- error: cannot find type 'UICollectionViewCell' in scope
386 | guard let function = self.delegate?.pagerView(_:didEndDisplaying:forItemAt:) else {
387 | return
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:128:33: error: value of type 'FSPagerCollectionView' has no member 'reloadData'
126 | didSet {
127 | self.collectionViewLayout.needsReprepare = true
128 | self.collectionView.reloadData()
| `- error: value of type 'FSPagerCollectionView' has no member 'reloadData'
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:174:30: error: cannot find type 'UIView' in scope
172 | /// The background view of the pager view.
173 | @IBInspectable
174 | open var backgroundView: UIView? {
| `- error: cannot find type 'UIView' in scope
175 | didSet {
176 | if let backgroundView = self.backgroundView {
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:180:22: error: value of type 'FSPagerView' has no member 'insertSubview'
178 | backgroundView.removeFromSuperview()
179 | }
180 | self.insertSubview(backgroundView, at: 0)
| `- error: value of type 'FSPagerView' has no member 'insertSubview'
181 | self.setNeedsLayout()
182 | }
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:181:22: error: value of type 'FSPagerView' has no member 'setNeedsLayout'
179 | }
180 | self.insertSubview(backgroundView, at: 0)
181 | self.setNeedsLayout()
| `- error: value of type 'FSPagerView' has no member 'setNeedsLayout'
182 | }
183 | }
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:213:36: error: cannot find type 'UIPanGestureRecognizer' in scope
211 | /// The underlying gesture recognizer for pan gestures.
212 | @objc
213 | open var panGestureRecognizer: UIPanGestureRecognizer {
| `- error: cannot find type 'UIPanGestureRecognizer' in scope
214 | return self.collectionView.panGestureRecognizer
215 | }
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:223:36: error: cannot find type 'UIView' in scope
221 | internal weak var collectionViewLayout: FSPagerViewLayout!
222 | internal weak var collectionView: FSPagerCollectionView!
223 | internal weak var contentView: UIView!
| `- error: cannot find type 'UIView' in scope
224 | internal var timer: Timer?
225 | internal var numberOfItems: Int = 0
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:266:21: error: initializer does not override a designated initializer from its superclass
264 | // MARK: - Overriden functions
265 |
266 | public override init(frame: CGRect) {
| `- error: initializer does not override a designated initializer from its superclass
267 | super.init(frame: frame)
268 | self.commonInit()
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:276:24: error: method does not override any method from its superclass
274 | }
275 |
276 | open override func layoutSubviews() {
| `- error: method does not override any method from its superclass
277 | super.layoutSubviews()
278 | self.backgroundView?.frame = self.bounds
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:283:53: error: cannot find type 'UIWindow' in scope
281 | }
282 |
283 | open override func willMove(toWindow newWindow: UIWindow?) {
| `- error: cannot find type 'UIWindow' in scope
284 | super.willMove(toWindow: newWindow)
285 | if newWindow != nil {
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:283:24: error: method does not override any method from its superclass
281 | }
282 |
283 | open override func willMove(toWindow newWindow: UIWindow?) {
| `- error: method does not override any method from its superclass
284 | super.willMove(toWindow: newWindow)
285 | if newWindow != nil {
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:316:53: error: cannot find type 'UICollectionView' in scope
314 | // MARK: - UICollectionViewDataSource
315 |
316 | public func numberOfSections(in collectionView: UICollectionView) -> Int {
| `- error: cannot find type 'UICollectionView' in scope
317 | guard let dataSource = self.dataSource else {
318 | return 1
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:393:51: error: cannot find type 'UIScrollView' in scope
391 | }
392 |
393 | public func scrollViewDidScroll(_ scrollView: UIScrollView) {
| `- error: cannot find type 'UIScrollView' in scope
394 | if !self.isPossiblyRotating && self.numberOfItems > 0 {
395 | // In case someone is using KVO
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:407:59: error: cannot find type 'UIScrollView' in scope
405 | }
406 |
407 | public func scrollViewWillBeginDragging(_ scrollView: UIScrollView) {
| `- error: cannot find type 'UIScrollView' in scope
408 | if let function = self.delegate?.pagerViewWillBeginDragging(_:) {
409 | function(self)
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:416:57: error: cannot find type 'UIScrollView' in scope
414 | }
415 |
416 | public func scrollViewWillEndDragging(_ scrollView: UIScrollView, withVelocity velocity: CGPoint, targetContentOffset: UnsafeMutablePointer<CGPoint>) {
| `- error: cannot find type 'UIScrollView' in scope
417 | if let function = self.delegate?.pagerViewWillEndDragging(_:targetIndex:) {
418 | let contentOffset = self.scrollDirection == .horizontal ? targetContentOffset.pointee.x : targetContentOffset.pointee.y
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:427:60: error: cannot find type 'UIScrollView' in scope
425 | }
426 |
427 | public func scrollViewDidEndDecelerating(_ scrollView: UIScrollView) {
| `- error: cannot find type 'UIScrollView' in scope
428 | if let function = self.delegate?.pagerViewDidEndDecelerating {
429 | function(self)
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:433:66: error: cannot find type 'UIScrollView' in scope
431 | }
432 |
433 | public func scrollViewDidEndScrollingAnimation(_ scrollView: UIScrollView) {
| `- error: cannot find type 'UIScrollView' in scope
434 | if let function = self.delegate?.pagerViewDidEndScrollAnimation {
435 | function(self)
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:457:31: error: cannot find type 'UINib' in scope
455 | /// - identifier: The reuse identifier to associate with the specified nib file. This parameter must not be nil and must not be an empty string.
456 | @objc(registerNib:forCellWithReuseIdentifier:)
457 | open func register(_ nib: UINib?, forCellWithReuseIdentifier identifier: String) {
| `- error: cannot find type 'UINib' in scope
458 | self.collectionView.register(nib, forCellWithReuseIdentifier: identifier)
459 | }
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:468:15: error: method cannot be marked @objc because its result type cannot be represented in Objective-C
466 | /// - Returns: A valid FSPagerViewCell object.
467 | @objc(dequeueReusableCellWithReuseIdentifier:atIndex:)
468 | open func dequeueReusableCell(withReuseIdentifier identifier: String, at index: Int) -> FSPagerViewCell {
| | `- note: classes not annotated with @objc cannot be represented in Objective-C
| `- error: method cannot be marked @objc because its result type cannot be represented in Objective-C
469 | let indexPath = IndexPath(item: index, section: self.dequeingSection)
470 | let cell = self.collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath)
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:535:15: error: method cannot be marked @objc because the type of the parameter cannot be represented in Objective-C
533 | /// - Returns: The index of the cell or NSNotFound if the specified cell is not in the pager view.
534 | @objc(indexForCell:)
535 | open func index(for cell: FSPagerViewCell) -> Int {
| | `- note: classes not annotated with @objc cannot be represented in Objective-C
| `- error: method cannot be marked @objc because the type of the parameter cannot be represented in Objective-C
536 | guard let indexPath = self.collectionView.indexPath(for: cell) else {
537 | return NSNotFound
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:547:15: error: method cannot be marked @objc because its result type cannot be represented in Objective-C
545 | /// - Returns: The cell object at the corresponding position or nil if the cell is not visible or index is out of range.
546 | @objc(cellForItemAtIndex:)
547 | open func cellForItem(at index: Int) -> FSPagerViewCell? {
| `- error: method cannot be marked @objc because its result type cannot be represented in Objective-C
548 | let indexPath = self.nearbyIndexPath(for: index)
549 | return self.collectionView.cellForItem(at: indexPath) as? FSPagerViewCell
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:78:25: error: cannot find type 'UIView' in scope
76 |
77 | @IBDesignable
78 | open class FSPagerView: UIView,UICollectionViewDataSource,UICollectionViewDelegate {
| `- error: cannot find type 'UIView' in scope
79 |
80 | // MARK: - Public properties
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:78:32: error: cannot find type 'UICollectionViewDataSource' in scope
76 |
77 | @IBDesignable
78 | open class FSPagerView: UIView,UICollectionViewDataSource,UICollectionViewDelegate {
| `- error: cannot find type 'UICollectionViewDataSource' in scope
79 |
80 | // MARK: - Public properties
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:78:59: error: cannot find type 'UICollectionViewDelegate' in scope
76 |
77 | @IBDesignable
78 | open class FSPagerView: UIView,UICollectionViewDataSource,UICollectionViewDelegate {
| `- error: cannot find type 'UICollectionViewDelegate' in scope
79 |
80 | // MARK: - Public properties
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewCell.swift:15:25: error: cannot find type 'UILabel' in scope
13 | /// Returns the label used for the main textual content of the pager view cell.
14 | @objc
15 | open var textLabel: UILabel? {
| `- error: cannot find type 'UILabel' in scope
16 | if let _ = _textLabel {
17 | return _textLabel
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewCell.swift:37:25: error: cannot find type 'UIImageView' in scope
35 | /// Returns the image view of the pager view cell. Default is nil.
36 | @objc
37 | open var imageView: UIImageView? {
| `- error: cannot find type 'UIImageView' in scope
38 | if let _ = _imageView {
39 | return _imageView
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewCell.swift:47:38: error: cannot find type 'UILabel' in scope
45 | }
46 |
47 | fileprivate weak var _textLabel: UILabel?
| `- error: cannot find type 'UILabel' in scope
48 | fileprivate weak var _imageView: UIImageView?
49 |
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewCell.swift:48:38: error: cannot find type 'UIImageView' in scope
46 |
47 | fileprivate weak var _textLabel: UILabel?
48 | fileprivate weak var _imageView: UIImageView?
| `- error: cannot find type 'UIImageView' in scope
49 |
50 | fileprivate let kvoContext = UnsafeMutableRawPointer(bitPattern: 0)
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewCell.swift:53:51: error: cannot find type 'UIView' in scope
51 | fileprivate let selectionColor = UIColor(white: 0.2, alpha: 0.2)
52 |
53 | fileprivate weak var _selectedForegroundView: UIView?
| `- error: cannot find type 'UIView' in scope
54 | fileprivate var selectedForegroundView: UIView? {
55 | guard _selectedForegroundView == nil else {
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewCell.swift:54:45: error: cannot find type 'UIView' in scope
52 |
53 | fileprivate weak var _selectedForegroundView: UIView?
54 | fileprivate var selectedForegroundView: UIView? {
| `- error: cannot find type 'UIView' in scope
55 | guard _selectedForegroundView == nil else {
56 | return _selectedForegroundView
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewCell.swift:67:23: error: property does not override any property from its superclass
65 | }
66 |
67 | open override var isHighlighted: Bool {
| `- error: property does not override any property from its superclass
68 | set {
69 | super.isHighlighted = newValue
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewCell.swift:81:23: error: property does not override any property from its superclass
79 | }
80 |
81 | open override var isSelected: Bool {
| `- error: property does not override any property from its superclass
82 | set {
83 | super.isSelected = newValue
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewCell.swift:91:21: error: initializer does not override a designated initializer from its superclass
89 | }
90 |
91 | public override init(frame: CGRect) {
| `- error: initializer does not override a designated initializer from its superclass
92 | super.init(frame: frame)
93 | commonInit()
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewCell.swift:116:24: error: method does not override any method from its superclass
114 | }
115 |
116 | override open func layoutSubviews() {
| `- error: method does not override any method from its superclass
117 | super.layoutSubviews()
118 | if let imageView = _imageView {
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewCell.swift:142:24: error: method does not override any method from its superclass
140 | }
141 |
142 | open override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?) {
| `- error: method does not override any method from its superclass
143 | if context == kvoContext {
144 | if keyPath == "font" {
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewCell.swift:11:29: error: cannot find type 'UICollectionViewCell' in scope
9 | import UIKit
10 |
11 | open class FSPagerViewCell: UICollectionViewCell {
| `- error: cannot find type 'UICollectionViewCell' in scope
12 |
13 | /// Returns the label used for the main textual content of the pager view cell.
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewLayoutAttributes.swift:15:24: error: method does not override any method from its superclass
13 | open var position: CGFloat = 0
14 |
15 | open override func isEqual(_ object: Any?) -> Bool {
| `- error: method does not override any method from its superclass
16 | guard let object = object as? FSPagerViewLayoutAttributes else {
17 | return false
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewLayoutAttributes.swift:24:24: error: method does not override any method from its superclass
22 | }
23 |
24 | open override func copy(with zone: NSZone? = nil) -> Any {
| `- error: method does not override any method from its superclass
25 | let copy = super.copy(with: zone) as! FSPagerViewLayoutAttributes
26 | copy.position = self.position
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewLayoutAttributes.swift:11:41: error: cannot find type 'UICollectionViewLayoutAttributes' in scope
9 | import UIKit
10 |
11 | open class FSPagerViewLayoutAttributes: UICollectionViewLayoutAttributes {
| `- error: cannot find type 'UICollectionViewLayoutAttributes' in scope
12 |
13 | open var position: CGFloat = 0
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ FSPagerView (in target 'FSPagerView' from project 'FSPagerView')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftTaskExecution -- /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPageViewLayout.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPageViewTransformer.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPagerCollectionView.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewCell.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewLayoutAttributes.swift -target arm64_32-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64_32/FSPagerView_const_extract_protocols.json -strict-concurrency\=complete -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 -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name FSPagerView -disable-clang-spi -target-sdk-version 10.4 -target-sdk-name watchos10.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64_32/FSPagerView.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64_32/FSPagerView.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64_32/FSPagerView-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64_32/FSPagerView-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64_32/FSPagerView-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64_32/FSPagerView.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64_32/FSPagerView.abi.json
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:42:18: error: value of type 'FSPageControl' has no member 'setNeedsLayout'
40 | open var interitemSpacing: CGFloat = 6 {
41 | didSet {
42 | self.setNeedsLayout()
| `- error: value of type 'FSPageControl' has no member 'setNeedsLayout'
43 | }
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:50:18: error: value of type 'FSPageControl' has no member 'setNeedsLayout'
48 | open var contentInsets: UIEdgeInsets = .zero {
49 | didSet {
50 | self.setNeedsLayout()
| `- error: value of type 'FSPageControl' has no member 'setNeedsLayout'
51 | }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:55:51: error: cannot find type 'UIControl' in scope
53 |
54 | /// The horizontal alignment of content within the control’s bounds. Default is center.
55 | open override var contentHorizontalAlignment: UIControl.ContentHorizontalAlignment {
| `- error: cannot find type 'UIControl' in scope
56 | didSet {
57 | self.setNeedsLayout()
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:55:23: error: property does not override any property from its superclass
53 |
54 | /// The horizontal alignment of content within the control’s bounds. Default is center.
55 | open override var contentHorizontalAlignment: UIControl.ContentHorizontalAlignment {
| `- error: property does not override any property from its superclass
56 | didSet {
57 | self.setNeedsLayout()
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:57:18: error: value of type 'FSPageControl' has no member 'setNeedsLayout'
55 | open override var contentHorizontalAlignment: UIControl.ContentHorizontalAlignment {
56 | didSet {
57 | self.setNeedsLayout()
| `- error: value of type 'FSPageControl' has no member 'setNeedsLayout'
58 | }
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:69:33: error: cannot find type 'UIControl' in scope
67 | }
68 |
69 | internal var strokeColors: [UIControl.State: UIColor] = [:]
| `- error: cannot find type 'UIControl' in scope
70 | internal var fillColors: [UIControl.State: UIColor] = [:]
71 | internal var paths: [UIControl.State: UIBezierPath] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:70:31: error: cannot find type 'UIControl' in scope
68 |
69 | internal var strokeColors: [UIControl.State: UIColor] = [:]
70 | internal var fillColors: [UIControl.State: UIColor] = [:]
| `- error: cannot find type 'UIControl' in scope
71 | internal var paths: [UIControl.State: UIBezierPath] = [:]
72 | internal var images: [UIControl.State: UIImage] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:71:26: error: cannot find type 'UIControl' in scope
69 | internal var strokeColors: [UIControl.State: UIColor] = [:]
70 | internal var fillColors: [UIControl.State: UIColor] = [:]
71 | internal var paths: [UIControl.State: UIBezierPath] = [:]
| `- error: cannot find type 'UIControl' in scope
72 | internal var images: [UIControl.State: UIImage] = [:]
73 | internal var alphas: [UIControl.State: CGFloat] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:72:27: error: cannot find type 'UIControl' in scope
70 | internal var fillColors: [UIControl.State: UIColor] = [:]
71 | internal var paths: [UIControl.State: UIBezierPath] = [:]
72 | internal var images: [UIControl.State: UIImage] = [:]
| `- error: cannot find type 'UIControl' in scope
73 | internal var alphas: [UIControl.State: CGFloat] = [:]
74 | internal var transforms: [UIControl.State: CGAffineTransform] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:73:27: error: cannot find type 'UIControl' in scope
71 | internal var paths: [UIControl.State: UIBezierPath] = [:]
72 | internal var images: [UIControl.State: UIImage] = [:]
73 | internal var alphas: [UIControl.State: CGFloat] = [:]
| `- error: cannot find type 'UIControl' in scope
74 | internal var transforms: [UIControl.State: CGAffineTransform] = [:]
75 |
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:74:31: error: cannot find type 'UIControl' in scope
72 | internal var images: [UIControl.State: UIImage] = [:]
73 | internal var alphas: [UIControl.State: CGFloat] = [:]
74 | internal var transforms: [UIControl.State: CGAffineTransform] = [:]
| `- error: cannot find type 'UIControl' in scope
75 |
76 | fileprivate weak var contentView: UIView!
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:76:39: error: cannot find type 'UIView' in scope
74 | internal var transforms: [UIControl.State: CGAffineTransform] = [:]
75 |
76 | fileprivate weak var contentView: UIView!
| `- error: cannot find type 'UIView' in scope
77 |
78 | fileprivate var needsUpdateIndicators = false
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:80:40: error: cannot find 'CAShapeLayer' in scope
78 | fileprivate var needsUpdateIndicators = false
79 | fileprivate var needsCreateIndicators = false
80 | fileprivate var indicatorLayers = [CAShapeLayer]()
| `- error: cannot find 'CAShapeLayer' in scope
81 |
82 | public override init(frame: CGRect) {
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:80:39: error: cannot call value of non-function type '[Any]'
78 | fileprivate var needsUpdateIndicators = false
79 | fileprivate var needsCreateIndicators = false
80 | fileprivate var indicatorLayers = [CAShapeLayer]()
| `- error: cannot call value of non-function type '[Any]'
81 |
82 | public override init(frame: CGRect) {
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:82:21: error: initializer does not override a designated initializer from its superclass
80 | fileprivate var indicatorLayers = [CAShapeLayer]()
81 |
82 | public override init(frame: CGRect) {
| `- error: initializer does not override a designated initializer from its superclass
83 | super.init(frame: frame)
84 | commonInit()
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:92:24: error: method does not override any method from its superclass
90 | }
91 |
92 | open override func layoutSubviews() {
| `- error: method does not override any method from its superclass
93 | super.layoutSubviews()
94 | self.contentView.frame = {
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:104:50: error: cannot find type 'CALayer' in scope
102 | }
103 |
104 | open override func layoutSublayers(of layer: CALayer) {
| `- error: cannot find type 'CALayer' in scope
105 | super.layoutSublayers(of: layer)
106 |
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:104:24: error: method does not override any method from its superclass
102 | }
103 |
104 | open override func layoutSublayers(of layer: CALayer) {
| `- error: method does not override any method from its superclass
105 | super.layoutSublayers(of: layer)
106 |
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:141:66: error: cannot find type 'UIControl' in scope
139 | /// - state: The state that uses the specified stroke color.
140 | @objc(setStrokeColor:forState:)
141 | open func setStrokeColor(_ strokeColor: UIColor?, for state: UIControl.State) {
| `- error: cannot find type 'UIControl' in scope
142 | guard self.strokeColors[state] != strokeColor else {
143 | return
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:155:62: error: cannot find type 'UIControl' in scope
153 | /// - state: The state that uses the specified fill color.
154 | @objc(setFillColor:forState:)
155 | open func setFillColor(_ fillColor: UIColor?, for state: UIControl.State) {
| `- error: cannot find type 'UIControl' in scope
156 | guard self.fillColors[state] != fillColor else {
157 | return
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:169:54: error: cannot find type 'UIControl' in scope
167 | /// - state: The state that uses the specified image.
168 | @objc(setImage:forState:)
169 | open func setImage(_ image: UIImage?, for state: UIControl.State) {
| `- error: cannot find type 'UIControl' in scope
170 | guard self.images[state] != image else {
171 | return
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:184:53: error: cannot find type 'UIControl' in scope
182 | /// - alpha: The alpha value to use for the specified state.
183 | /// - state: The state that uses the specified alpha.
184 | open func setAlpha(_ alpha: CGFloat, for state: UIControl.State) {
| `- error: cannot find type 'UIControl' in scope
185 | guard self.alphas[state] != alpha else {
186 | return
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:198:57: error: cannot find type 'UIControl' in scope
196 | /// - state: The state that uses the specified path.
197 | @objc(setPath:forState:)
198 | open func setPath(_ path: UIBezierPath?, for state: UIControl.State) {
| `- error: cannot find type 'UIControl' in scope
199 | guard self.paths[state] != path else {
200 | return
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:244:59: error: cannot find type 'CAShapeLayer' in scope
242 | }
243 |
244 | fileprivate func updateIndicatorAttributes(for layer: CAShapeLayer) {
| `- error: cannot find type 'CAShapeLayer' in scope
245 | let index = self.indicatorLayers.firstIndex(of: layer)
246 | let state: UIControl.State = index == self.currentPage ? .selected : .normal
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:12:27: error: cannot find type 'UIControl' in scope
10 |
11 | @IBDesignable
12 | open class FSPageControl: UIControl {
| `- error: cannot find type 'UIControl' in scope
13 |
14 | /// The number of page indicators of the page control. Default is 0.
/Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift:305:11: error: cannot find type 'UIControl' in scope
303 | }
304 |
305 | extension UIControl.State: Hashable {
| `- error: cannot find type 'UIControl' in scope
306 | public var hashValue: Int {
307 | return Int((6777*self.rawValue+3777)%UInt(UInt16.max))
/Users/admin/builder/spi-builder-workspace/Sources/FSPageViewLayout.swift:11:26: error: cannot find type 'UICollectionViewLayout' in scope
9 | import UIKit
10 |
11 | class FSPagerViewLayout: UICollectionViewLayout {
| `- error: cannot find type 'UICollectionViewLayout' in scope
12 |
13 | internal var contentSize: CGSize = .zero
/Users/admin/builder/spi-builder-workspace/Sources/FSPageViewLayout.swift:19:29: error: property does not override any property from its superclass
17 | internal var scrollDirection: FSPagerView.ScrollDirection = .horizontal
18 |
19 | open override class var layoutAttributesClass: AnyClass {
| `- error: property does not override any property from its superclass
20 | return FSPagerViewLayoutAttributes.self
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/FSPageViewLayout.swift:33:14: error: initializer does not override a designated initializer from its superclass
31 | fileprivate var actualItemSize: CGSize = .zero
32 |
33 | override init() {
| `- error: initializer does not override a designated initializer from its superclass
34 | super.init()
35 | self.commonInit()
/Users/admin/builder/spi-builder-workspace/Sources/FSPageViewLayout.swift:49:24: error: method does not override any method from its superclass
47 | }
48 |
49 | override open func prepare() {
| `- error: method does not override any method from its superclass
50 | guard let collectionView = self.collectionView, let pagerView = self.pagerView else {
51 | return
/Users/admin/builder/spi-builder-workspace/Sources/FSPageViewLayout.swift:102:23: error: property does not override any property from its superclass
100 | }
101 |
102 | override open var collectionViewContentSize: CGSize {
| `- error: property does not override any property from its superclass
103 | return self.contentSize
104 | }
/Users/admin/builder/spi-builder-workspace/Sources/FSPageViewLayout.swift:106:24: error: method does not override any method from its superclass
104 | }
105 |
106 | override open func shouldInvalidateLayout(forBoundsChange newBounds: CGRect) -> Bool {
| `- error: method does not override any method from its superclass
107 | return true
108 | }
/Users/admin/builder/spi-builder-workspace/Sources/FSPageViewLayout.swift:110:73: error: cannot find type 'UICollectionViewLayoutAttributes' in scope
108 | }
109 |
110 | override open func layoutAttributesForElements(in rect: CGRect) -> [UICollectionViewLayoutAttributes]? {
| `- error: cannot find type 'UICollectionViewLayoutAttributes' in scope
111 | var layoutAttributes = [UICollectionViewLayoutAttributes]()
112 | guard self.itemSpacing > 0, !rect.isEmpty else {
/Users/admin/builder/spi-builder-workspace/Sources/FSPageViewLayout.swift:110:24: error: method does not override any method from its superclass
108 | }
109 |
110 | override open func layoutAttributesForElements(in rect: CGRect) -> [UICollectionViewLayoutAttributes]? {
| `- error: method does not override any method from its superclass
111 | var layoutAttributes = [UICollectionViewLayoutAttributes]()
112 | guard self.itemSpacing > 0, !rect.isEmpty else {
/Users/admin/builder/spi-builder-workspace/Sources/FSPageViewLayout.swift:141:76: error: cannot find type 'UICollectionViewLayoutAttributes' in scope
139 | }
140 |
141 | override open func layoutAttributesForItem(at indexPath: IndexPath) -> UICollectionViewLayoutAttributes? {
| `- error: cannot find type 'UICollectionViewLayoutAttributes' in scope
142 | let attributes = FSPagerViewLayoutAttributes(forCellWith: indexPath)
143 | attributes.indexPath = indexPath
/Users/admin/builder/spi-builder-workspace/Sources/FSPageViewLayout.swift:141:24: error: method does not override any method from its superclass
139 | }
140 |
141 | override open func layoutAttributesForItem(at indexPath: IndexPath) -> UICollectionViewLayoutAttributes? {
| `- error: method does not override any method from its superclass
142 | let attributes = FSPagerViewLayoutAttributes(forCellWith: indexPath)
143 | attributes.indexPath = indexPath
/Users/admin/builder/spi-builder-workspace/Sources/FSPageViewLayout.swift:151:24: error: method does not override any method from its superclass
149 | }
150 |
151 | override open func targetContentOffset(forProposedContentOffset proposedContentOffset: CGPoint, withScrollingVelocity velocity: CGPoint) -> CGPoint {
| `- error: method does not override any method from its superclass
152 | guard let collectionView = self.collectionView, let pagerView = self.pagerView else {
153 | return proposedContentOffset
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerCollectionView.swift:13:30: error: cannot find type 'UICollectionView' in scope
11 | import UIKit
12 |
13 | class FSPagerCollectionView: UICollectionView {
| `- error: cannot find type 'UICollectionView' in scope
14 |
15 | #if !os(tvOS)
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerCollectionView.swift:16:18: error: property does not override any property from its superclass
14 |
15 | #if !os(tvOS)
16 | override var scrollsToTop: Bool {
| `- error: property does not override any property from its superclass
17 | set {
18 | super.scrollsToTop = false
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerCollectionView.swift:26:18: error: property does not override any property from its superclass
24 | #endif
25 |
26 | override var contentInset: UIEdgeInsets {
| `- error: property does not override any property from its superclass
27 | set {
28 | super.contentInset = .zero
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerCollectionView.swift:39:63: error: cannot find type 'UICollectionViewLayout' in scope
37 | }
38 |
39 | override init(frame: CGRect, collectionViewLayout layout: UICollectionViewLayout) {
| `- error: cannot find type 'UICollectionViewLayout' in scope
40 | super.init(frame: frame, collectionViewLayout: layout)
41 | self.commonInit()
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerCollectionView.swift:39:14: error: initializer does not override a designated initializer from its superclass
37 | }
38 |
39 | override init(frame: CGRect, collectionViewLayout layout: UICollectionViewLayout) {
| `- error: initializer does not override a designated initializer from its superclass
40 | super.init(frame: frame, collectionViewLayout: layout)
41 | self.commonInit()
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:20:10: error: method cannot be marked @objc because the type of the parameter cannot be represented in Objective-C
18 | /// Asks your data source object for the number of items in the pager view.
19 | @objc(numberOfItemsInPagerView:)
20 | func numberOfItems(in pagerView: FSPagerView) -> Int
| | `- note: classes not annotated with @objc cannot be represented in Objective-C
| `- error: method cannot be marked @objc because the type of the parameter cannot be represented in Objective-C
21 |
22 | /// Asks your data source object for the cell that corresponds to the specified item in the pager view.
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:24:10: error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
22 | /// Asks your data source object for the cell that corresponds to the specified item in the pager view.
23 | @objc(pagerView:cellForItemAtIndex:)
24 | func pagerView(_ pagerView: FSPagerView, cellForItemAt index: Int) -> FSPagerViewCell
| | `- note: classes not annotated with @objc cannot be represented in Objective-C
| `- error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
25 |
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:33:19: error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
31 | /// Asks the delegate if the item should be highlighted during tracking.
32 | @objc(pagerView:shouldHighlightItemAtIndex:)
33 | optional func pagerView(_ pagerView: FSPagerView, shouldHighlightItemAt index: Int) -> Bool
| | `- note: classes not annotated with @objc cannot be represented in Objective-C
| `- error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
34 |
35 | /// Tells the delegate that the item at the specified index was highlighted.
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:37:19: error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
35 | /// Tells the delegate that the item at the specified index was highlighted.
36 | @objc(pagerView:didHighlightItemAtIndex:)
37 | optional func pagerView(_ pagerView: FSPagerView, didHighlightItemAt index: Int)
| | `- note: classes not annotated with @objc cannot be represented in Objective-C
| `- error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
38 |
39 | /// Asks the delegate if the specified item should be selected.
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:41:19: error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
39 | /// Asks the delegate if the specified item should be selected.
40 | @objc(pagerView:shouldSelectItemAtIndex:)
41 | optional func pagerView(_ pagerView: FSPagerView, shouldSelectItemAt index: Int) -> Bool
| | `- note: classes not annotated with @objc cannot be represented in Objective-C
| `- error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
42 |
43 | /// Tells the delegate that the item at the specified index was selected.
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:45:19: error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
43 | /// Tells the delegate that the item at the specified index was selected.
44 | @objc(pagerView:didSelectItemAtIndex:)
45 | optional func pagerView(_ pagerView: FSPagerView, didSelectItemAt index: Int)
| | `- note: classes not annotated with @objc cannot be represented in Objective-C
| `- error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
46 |
47 | /// Tells the delegate that the specified cell is about to be displayed in the pager view.
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:49:19: error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
47 | /// Tells the delegate that the specified cell is about to be displayed in the pager view.
48 | @objc(pagerView:willDisplayCell:forItemAtIndex:)
49 | optional func pagerView(_ pagerView: FSPagerView, willDisplay cell: FSPagerViewCell, forItemAt index: Int)
| | `- note: classes not annotated with @objc cannot be represented in Objective-C
| `- error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
50 |
51 | /// Tells the delegate that the specified cell was removed from the pager view.
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:49:19: error: method cannot be marked @objc because the type of the parameter 2 cannot be represented in Objective-C
47 | /// Tells the delegate that the specified cell is about to be displayed in the pager view.
48 | @objc(pagerView:willDisplayCell:forItemAtIndex:)
49 | optional func pagerView(_ pagerView: FSPagerView, willDisplay cell: FSPagerViewCell, forItemAt index: Int)
| | `- note: classes not annotated with @objc cannot be represented in Objective-C
| `- error: method cannot be marked @objc because the type of the parameter 2 cannot be represented in Objective-C
50 |
51 | /// Tells the delegate that the specified cell was removed from the pager view.
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:53:19: error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
51 | /// Tells the delegate that the specified cell was removed from the pager view.
52 | @objc(pagerView:didEndDisplayingCell:forItemAtIndex:)
53 | optional func pagerView(_ pagerView: FSPagerView, didEndDisplaying cell: FSPagerViewCell, forItemAt index: Int)
| | `- note: classes not annotated with @objc cannot be represented in Objective-C
| `- error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
54 |
55 | /// Tells the delegate when the pager view is about to start scrolling the content.
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:53:19: error: method cannot be marked @objc because the type of the parameter 2 cannot be represented in Objective-C
51 | /// Tells the delegate that the specified cell was removed from the pager view.
52 | @objc(pagerView:didEndDisplayingCell:forItemAtIndex:)
53 | optional func pagerView(_ pagerView: FSPagerView, didEndDisplaying cell: FSPagerViewCell, forItemAt index: Int)
| | `- note: classes not annotated with @objc cannot be represented in Objective-C
| `- error: method cannot be marked @objc because the type of the parameter 2 cannot be represented in Objective-C
54 |
55 | /// Tells the delegate when the pager view is about to start scrolling the content.
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:57:19: error: method cannot be marked @objc because the type of the parameter cannot be represented in Objective-C
55 | /// Tells the delegate when the pager view is about to start scrolling the content.
56 | @objc(pagerViewWillBeginDragging:)
57 | optional func pagerViewWillBeginDragging(_ pagerView: FSPagerView)
| | `- note: classes not annotated with @objc cannot be represented in Objective-C
| `- error: method cannot be marked @objc because the type of the parameter cannot be represented in Objective-C
58 |
59 | /// Tells the delegate when the user finishes scrolling the content.
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:61:19: error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
59 | /// Tells the delegate when the user finishes scrolling the content.
60 | @objc(pagerViewWillEndDragging:targetIndex:)
61 | optional func pagerViewWillEndDragging(_ pagerView: FSPagerView, targetIndex: Int)
| | `- note: classes not annotated with @objc cannot be represented in Objective-C
| `- error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
62 |
63 | /// Tells the delegate when the user scrolls the content view within the receiver.
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:65:19: error: method cannot be marked @objc because the type of the parameter cannot be represented in Objective-C
63 | /// Tells the delegate when the user scrolls the content view within the receiver.
64 | @objc(pagerViewDidScroll:)
65 | optional func pagerViewDidScroll(_ pagerView: FSPagerView)
| | `- note: classes not annotated with @objc cannot be represented in Objective-C
| `- error: method cannot be marked @objc because the type of the parameter cannot be represented in Objective-C
66 |
67 | /// Tells the delegate when a scrolling animation in the pager view concludes.
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:69:19: error: method cannot be marked @objc because the type of the parameter cannot be represented in Objective-C
67 | /// Tells the delegate when a scrolling animation in the pager view concludes.
68 | @objc(pagerViewDidEndScrollAnimation:)
69 | optional func pagerViewDidEndScrollAnimation(_ pagerView: FSPagerView)
| | `- note: classes not annotated with @objc cannot be represented in Objective-C
| `- error: method cannot be marked @objc because the type of the parameter cannot be represented in Objective-C
70 |
71 | /// Tells the delegate that the pager view has ended decelerating the scrolling movement.
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:73:19: error: method cannot be marked @objc because the type of the parameter cannot be represented in Objective-C
71 | /// Tells the delegate that the pager view has ended decelerating the scrolling movement.
72 | @objc(pagerViewDidEndDecelerating:)
73 | optional func pagerViewDidEndDecelerating(_ pagerView: FSPagerView)
| | `- note: classes not annotated with @objc cannot be represented in Objective-C
| `- error: method cannot be marked @objc because the type of the parameter cannot be represented in Objective-C
74 |
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:328:50: error: cannot find type 'UICollectionView' in scope
326 | }
327 |
328 | public func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
| `- error: cannot find type 'UICollectionView' in scope
329 | return self.numberOfItems
330 | }
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:332:107: error: cannot find type 'UICollectionViewCell' in scope
330 | }
331 |
332 | public func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
| `- error: cannot find type 'UICollectionViewCell' in scope
333 | let index = indexPath.item
334 | self.dequeingSection = indexPath.section
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:332:50: error: cannot find type 'UICollectionView' in scope
330 | }
331 |
332 | public func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
| `- error: cannot find type 'UICollectionView' in scope
333 | let index = indexPath.item
334 | self.dequeingSection = indexPath.section
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:341:50: error: cannot find type 'UICollectionView' in scope
339 | // MARK: - UICollectionViewDelegate
340 |
341 | public func collectionView(_ collectionView: UICollectionView, shouldHighlightItemAt indexPath: IndexPath) -> Bool {
| `- error: cannot find type 'UICollectionView' in scope
342 | guard let function = self.delegate?.pagerView(_:shouldHighlightItemAt:) else {
343 | return true
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:349:50: error: cannot find type 'UICollectionView' in scope
347 | }
348 |
349 | public func collectionView(_ collectionView: UICollectionView, didHighlightItemAt indexPath: IndexPath) {
| `- error: cannot find type 'UICollectionView' in scope
350 | guard let function = self.delegate?.pagerView(_:didHighlightItemAt:) else {
351 | return
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:357:50: error: cannot find type 'UICollectionView' in scope
355 | }
356 |
357 | public func collectionView(_ collectionView: UICollectionView, shouldSelectItemAt indexPath: IndexPath) -> Bool {
| `- error: cannot find type 'UICollectionView' in scope
358 | guard let function = self.delegate?.pagerView(_:shouldSelectItemAt:) else {
359 | return true
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:365:50: error: cannot find type 'UICollectionView' in scope
363 | }
364 |
365 | public func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
| `- error: cannot find type 'UICollectionView' in scope
366 | guard let function = self.delegate?.pagerView(_:didSelectItemAt:) else {
367 | return
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:377:50: error: cannot find type 'UICollectionView' in scope
375 | }
376 |
377 | public func collectionView(_ collectionView: UICollectionView, willDisplay cell: UICollectionViewCell, forItemAt indexPath: IndexPath) {
| `- error: cannot find type 'UICollectionView' in scope
378 | guard let function = self.delegate?.pagerView(_:willDisplay:forItemAt:) else {
379 | return
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:377:86: error: cannot find type 'UICollectionViewCell' in scope
375 | }
376 |
377 | public func collectionView(_ collectionView: UICollectionView, willDisplay cell: UICollectionViewCell, forItemAt indexPath: IndexPath) {
| `- error: cannot find type 'UICollectionViewCell' in scope
378 | guard let function = self.delegate?.pagerView(_:willDisplay:forItemAt:) else {
379 | return
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:385:50: error: cannot find type 'UICollectionView' in scope
383 | }
384 |
385 | public func collectionView(_ collectionView: UICollectionView, didEndDisplaying cell: UICollectionViewCell, forItemAt indexPath: IndexPath) {
| `- error: cannot find type 'UICollectionView' in scope
386 | guard let function = self.delegate?.pagerView(_:didEndDisplaying:forItemAt:) else {
387 | return
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:385:91: error: cannot find type 'UICollectionViewCell' in scope
383 | }
384 |
385 | public func collectionView(_ collectionView: UICollectionView, didEndDisplaying cell: UICollectionViewCell, forItemAt indexPath: IndexPath) {
| `- error: cannot find type 'UICollectionViewCell' in scope
386 | guard let function = self.delegate?.pagerView(_:didEndDisplaying:forItemAt:) else {
387 | return
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:128:33: error: value of type 'FSPagerCollectionView' has no member 'reloadData'
126 | didSet {
127 | self.collectionViewLayout.needsReprepare = true
128 | self.collectionView.reloadData()
| `- error: value of type 'FSPagerCollectionView' has no member 'reloadData'
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:174:30: error: cannot find type 'UIView' in scope
172 | /// The background view of the pager view.
173 | @IBInspectable
174 | open var backgroundView: UIView? {
| `- error: cannot find type 'UIView' in scope
175 | didSet {
176 | if let backgroundView = self.backgroundView {
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:180:22: error: value of type 'FSPagerView' has no member 'insertSubview'
178 | backgroundView.removeFromSuperview()
179 | }
180 | self.insertSubview(backgroundView, at: 0)
| `- error: value of type 'FSPagerView' has no member 'insertSubview'
181 | self.setNeedsLayout()
182 | }
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:181:22: error: value of type 'FSPagerView' has no member 'setNeedsLayout'
179 | }
180 | self.insertSubview(backgroundView, at: 0)
181 | self.setNeedsLayout()
| `- error: value of type 'FSPagerView' has no member 'setNeedsLayout'
182 | }
183 | }
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:213:36: error: cannot find type 'UIPanGestureRecognizer' in scope
211 | /// The underlying gesture recognizer for pan gestures.
212 | @objc
213 | open var panGestureRecognizer: UIPanGestureRecognizer {
| `- error: cannot find type 'UIPanGestureRecognizer' in scope
214 | return self.collectionView.panGestureRecognizer
215 | }
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:223:36: error: cannot find type 'UIView' in scope
221 | internal weak var collectionViewLayout: FSPagerViewLayout!
222 | internal weak var collectionView: FSPagerCollectionView!
223 | internal weak var contentView: UIView!
| `- error: cannot find type 'UIView' in scope
224 | internal var timer: Timer?
225 | internal var numberOfItems: Int = 0
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:266:21: error: initializer does not override a designated initializer from its superclass
264 | // MARK: - Overriden functions
265 |
266 | public override init(frame: CGRect) {
| `- error: initializer does not override a designated initializer from its superclass
267 | super.init(frame: frame)
268 | self.commonInit()
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:276:24: error: method does not override any method from its superclass
274 | }
275 |
276 | open override func layoutSubviews() {
| `- error: method does not override any method from its superclass
277 | super.layoutSubviews()
278 | self.backgroundView?.frame = self.bounds
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:283:53: error: cannot find type 'UIWindow' in scope
281 | }
282 |
283 | open override func willMove(toWindow newWindow: UIWindow?) {
| `- error: cannot find type 'UIWindow' in scope
284 | super.willMove(toWindow: newWindow)
285 | if newWindow != nil {
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:283:24: error: method does not override any method from its superclass
281 | }
282 |
283 | open override func willMove(toWindow newWindow: UIWindow?) {
| `- error: method does not override any method from its superclass
284 | super.willMove(toWindow: newWindow)
285 | if newWindow != nil {
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:316:53: error: cannot find type 'UICollectionView' in scope
314 | // MARK: - UICollectionViewDataSource
315 |
316 | public func numberOfSections(in collectionView: UICollectionView) -> Int {
| `- error: cannot find type 'UICollectionView' in scope
317 | guard let dataSource = self.dataSource else {
318 | return 1
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:393:51: error: cannot find type 'UIScrollView' in scope
391 | }
392 |
393 | public func scrollViewDidScroll(_ scrollView: UIScrollView) {
| `- error: cannot find type 'UIScrollView' in scope
394 | if !self.isPossiblyRotating && self.numberOfItems > 0 {
395 | // In case someone is using KVO
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:407:59: error: cannot find type 'UIScrollView' in scope
405 | }
406 |
407 | public func scrollViewWillBeginDragging(_ scrollView: UIScrollView) {
| `- error: cannot find type 'UIScrollView' in scope
408 | if let function = self.delegate?.pagerViewWillBeginDragging(_:) {
409 | function(self)
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:416:57: error: cannot find type 'UIScrollView' in scope
414 | }
415 |
416 | public func scrollViewWillEndDragging(_ scrollView: UIScrollView, withVelocity velocity: CGPoint, targetContentOffset: UnsafeMutablePointer<CGPoint>) {
| `- error: cannot find type 'UIScrollView' in scope
417 | if let function = self.delegate?.pagerViewWillEndDragging(_:targetIndex:) {
418 | let contentOffset = self.scrollDirection == .horizontal ? targetContentOffset.pointee.x : targetContentOffset.pointee.y
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:427:60: error: cannot find type 'UIScrollView' in scope
425 | }
426 |
427 | public func scrollViewDidEndDecelerating(_ scrollView: UIScrollView) {
| `- error: cannot find type 'UIScrollView' in scope
428 | if let function = self.delegate?.pagerViewDidEndDecelerating {
429 | function(self)
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:433:66: error: cannot find type 'UIScrollView' in scope
431 | }
432 |
433 | public func scrollViewDidEndScrollingAnimation(_ scrollView: UIScrollView) {
| `- error: cannot find type 'UIScrollView' in scope
434 | if let function = self.delegate?.pagerViewDidEndScrollAnimation {
435 | function(self)
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:457:31: error: cannot find type 'UINib' in scope
455 | /// - identifier: The reuse identifier to associate with the specified nib file. This parameter must not be nil and must not be an empty string.
456 | @objc(registerNib:forCellWithReuseIdentifier:)
457 | open func register(_ nib: UINib?, forCellWithReuseIdentifier identifier: String) {
| `- error: cannot find type 'UINib' in scope
458 | self.collectionView.register(nib, forCellWithReuseIdentifier: identifier)
459 | }
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:468:15: error: method cannot be marked @objc because its result type cannot be represented in Objective-C
466 | /// - Returns: A valid FSPagerViewCell object.
467 | @objc(dequeueReusableCellWithReuseIdentifier:atIndex:)
468 | open func dequeueReusableCell(withReuseIdentifier identifier: String, at index: Int) -> FSPagerViewCell {
| | `- note: classes not annotated with @objc cannot be represented in Objective-C
| `- error: method cannot be marked @objc because its result type cannot be represented in Objective-C
469 | let indexPath = IndexPath(item: index, section: self.dequeingSection)
470 | let cell = self.collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath)
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:535:15: error: method cannot be marked @objc because the type of the parameter cannot be represented in Objective-C
533 | /// - Returns: The index of the cell or NSNotFound if the specified cell is not in the pager view.
534 | @objc(indexForCell:)
535 | open func index(for cell: FSPagerViewCell) -> Int {
| | `- note: classes not annotated with @objc cannot be represented in Objective-C
| `- error: method cannot be marked @objc because the type of the parameter cannot be represented in Objective-C
536 | guard let indexPath = self.collectionView.indexPath(for: cell) else {
537 | return NSNotFound
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:547:15: error: method cannot be marked @objc because its result type cannot be represented in Objective-C
545 | /// - Returns: The cell object at the corresponding position or nil if the cell is not visible or index is out of range.
546 | @objc(cellForItemAtIndex:)
547 | open func cellForItem(at index: Int) -> FSPagerViewCell? {
| `- error: method cannot be marked @objc because its result type cannot be represented in Objective-C
548 | let indexPath = self.nearbyIndexPath(for: index)
549 | return self.collectionView.cellForItem(at: indexPath) as? FSPagerViewCell
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:78:25: error: cannot find type 'UIView' in scope
76 |
77 | @IBDesignable
78 | open class FSPagerView: UIView,UICollectionViewDataSource,UICollectionViewDelegate {
| `- error: cannot find type 'UIView' in scope
79 |
80 | // MARK: - Public properties
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:78:32: error: cannot find type 'UICollectionViewDataSource' in scope
76 |
77 | @IBDesignable
78 | open class FSPagerView: UIView,UICollectionViewDataSource,UICollectionViewDelegate {
| `- error: cannot find type 'UICollectionViewDataSource' in scope
79 |
80 | // MARK: - Public properties
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift:78:59: error: cannot find type 'UICollectionViewDelegate' in scope
76 |
77 | @IBDesignable
78 | open class FSPagerView: UIView,UICollectionViewDataSource,UICollectionViewDelegate {
| `- error: cannot find type 'UICollectionViewDelegate' in scope
79 |
80 | // MARK: - Public properties
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewCell.swift:15:25: error: cannot find type 'UILabel' in scope
13 | /// Returns the label used for the main textual content of the pager view cell.
14 | @objc
15 | open var textLabel: UILabel? {
| `- error: cannot find type 'UILabel' in scope
16 | if let _ = _textLabel {
17 | return _textLabel
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewCell.swift:37:25: error: cannot find type 'UIImageView' in scope
35 | /// Returns the image view of the pager view cell. Default is nil.
36 | @objc
37 | open var imageView: UIImageView? {
| `- error: cannot find type 'UIImageView' in scope
38 | if let _ = _imageView {
39 | return _imageView
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewCell.swift:47:38: error: cannot find type 'UILabel' in scope
45 | }
46 |
47 | fileprivate weak var _textLabel: UILabel?
| `- error: cannot find type 'UILabel' in scope
48 | fileprivate weak var _imageView: UIImageView?
49 |
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewCell.swift:48:38: error: cannot find type 'UIImageView' in scope
46 |
47 | fileprivate weak var _textLabel: UILabel?
48 | fileprivate weak var _imageView: UIImageView?
| `- error: cannot find type 'UIImageView' in scope
49 |
50 | fileprivate let kvoContext = UnsafeMutableRawPointer(bitPattern: 0)
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewCell.swift:53:51: error: cannot find type 'UIView' in scope
51 | fileprivate let selectionColor = UIColor(white: 0.2, alpha: 0.2)
52 |
53 | fileprivate weak var _selectedForegroundView: UIView?
| `- error: cannot find type 'UIView' in scope
54 | fileprivate var selectedForegroundView: UIView? {
55 | guard _selectedForegroundView == nil else {
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewCell.swift:54:45: error: cannot find type 'UIView' in scope
52 |
53 | fileprivate weak var _selectedForegroundView: UIView?
54 | fileprivate var selectedForegroundView: UIView? {
| `- error: cannot find type 'UIView' in scope
55 | guard _selectedForegroundView == nil else {
56 | return _selectedForegroundView
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewCell.swift:67:23: error: property does not override any property from its superclass
65 | }
66 |
67 | open override var isHighlighted: Bool {
| `- error: property does not override any property from its superclass
68 | set {
69 | super.isHighlighted = newValue
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewCell.swift:81:23: error: property does not override any property from its superclass
79 | }
80 |
81 | open override var isSelected: Bool {
| `- error: property does not override any property from its superclass
82 | set {
83 | super.isSelected = newValue
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewCell.swift:91:21: error: initializer does not override a designated initializer from its superclass
89 | }
90 |
91 | public override init(frame: CGRect) {
| `- error: initializer does not override a designated initializer from its superclass
92 | super.init(frame: frame)
93 | commonInit()
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewCell.swift:116:24: error: method does not override any method from its superclass
114 | }
115 |
116 | override open func layoutSubviews() {
| `- error: method does not override any method from its superclass
117 | super.layoutSubviews()
118 | if let imageView = _imageView {
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewCell.swift:142:24: error: method does not override any method from its superclass
140 | }
141 |
142 | open override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?) {
| `- error: method does not override any method from its superclass
143 | if context == kvoContext {
144 | if keyPath == "font" {
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewCell.swift:11:29: error: cannot find type 'UICollectionViewCell' in scope
9 | import UIKit
10 |
11 | open class FSPagerViewCell: UICollectionViewCell {
| `- error: cannot find type 'UICollectionViewCell' in scope
12 |
13 | /// Returns the label used for the main textual content of the pager view cell.
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewLayoutAttributes.swift:15:24: error: method does not override any method from its superclass
13 | open var position: CGFloat = 0
14 |
15 | open override func isEqual(_ object: Any?) -> Bool {
| `- error: method does not override any method from its superclass
16 | guard let object = object as? FSPagerViewLayoutAttributes else {
17 | return false
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewLayoutAttributes.swift:24:24: error: method does not override any method from its superclass
22 | }
23 |
24 | open override func copy(with zone: NSZone? = nil) -> Any {
| `- error: method does not override any method from its superclass
25 | let copy = super.copy(with: zone) as! FSPagerViewLayoutAttributes
26 | copy.position = self.position
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewLayoutAttributes.swift:11:41: error: cannot find type 'UICollectionViewLayoutAttributes' in scope
9 | import UIKit
10 |
11 | open class FSPagerViewLayoutAttributes: UICollectionViewLayoutAttributes {
| `- error: cannot find type 'UICollectionViewLayoutAttributes' in scope
12 |
13 | open var position: CGFloat = 0
SwiftCompile normal arm64_32 Compiling\ FSPagerViewLayoutAttributes.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewLayoutAttributes.swift (in target 'FSPagerView' from project 'FSPagerView')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftTaskExecution -- /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPageViewLayout.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPageViewTransformer.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPagerCollectionView.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewCell.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewLayoutAttributes.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64_32/FSPagerViewLayoutAttributes.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64_32/FSPagerViewLayoutAttributes.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64_32/FSPagerViewLayoutAttributes.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64_32/FSPagerViewLayoutAttributes.dia -target arm64_32-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64_32/FSPagerView_const_extract_protocols.json -strict-concurrency\=complete -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 -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name FSPagerView -frontend-parseable-output -disable-clang-spi -target-sdk-version 10.4 -target-sdk-name watchos10.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64_32/FSPagerViewLayoutAttributes.o -index-unit-output-path /FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64_32/FSPagerViewLayoutAttributes.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewLayoutAttributes.swift (in target 'FSPagerView' from project 'FSPagerView')
cd /Users/admin/builder/spi-builder-workspace
/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -c /Users/admin/builder/spi-builder-workspace/Sources/FSPageControl.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPageViewLayout.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPageViewTransformer.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPagerCollectionView.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewCell.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewLayoutAttributes.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64_32/FSPagerViewLayoutAttributes.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64_32/FSPagerViewLayoutAttributes.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64_32/FSPagerViewLayoutAttributes.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64_32/FSPagerViewLayoutAttributes.dia -target arm64_32-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64_32/FSPagerView_const_extract_protocols.json -strict-concurrency\=complete -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 -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name FSPagerView -frontend-parseable-output -disable-clang-spi -target-sdk-version 10.4 -target-sdk-name watchos10.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64_32/FSPagerViewLayoutAttributes.o -index-unit-output-path /FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/arm64_32/FSPagerViewLayoutAttributes.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewLayoutAttributes.swift:15:24: error: method does not override any method from its superclass
open override func isEqual(_ object: Any?) -> Bool {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewLayoutAttributes.swift:24:24: error: method does not override any method from its superclass
open override func copy(with zone: NSZone? = nil) -> Any {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewLayoutAttributes.swift:11:41: error: cannot find type 'UICollectionViewLayoutAttributes' in scope
open class FSPagerViewLayoutAttributes: UICollectionViewLayoutAttributes {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewLayoutAttributes.swift:19:23: error: 'super' members cannot be referenced in a root class
var isEqual = super.isEqual(object)
^
/Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewLayoutAttributes.swift:25:20: error: 'super' members cannot be referenced in a root class
let copy = super.copy(with: zone) as! FSPagerViewLayoutAttributes
^
SwiftDriver\ Compilation\ Requirements FSPagerView normal armv7k com.apple.xcode.tools.swift.compiler (in target 'FSPagerView' from project 'FSPagerView')
cd /Users/admin/builder/spi-builder-workspace
builtin-Swift-Compilation-Requirements -- /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swiftc -module-name FSPagerView -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/armv7k/FSPagerView.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -target armv7k-apple-watchos5.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/armv7k/FSPagerView-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/armv7k/FSPagerView.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/armv7k/FSPagerView_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/FSPagerView.build/Debug-watchos/FSPagerView.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FSPagerView.build/Debug-watchos/FSPagerView.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/FSPagerView.build/Debug-watchos/FSPagerView.build/Objects-normal/armv7k/FSPagerView-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace -experimental-emit-module-separately -disable-cmo
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'FSPagerView' from project 'FSPagerView')
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal armv7k Compiling\ FSPagerView.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift (in target 'FSPagerView' from project 'FSPagerView')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/FSPagerView.swift (in target 'FSPagerView' from project 'FSPagerView')
SwiftEmitModule normal armv7k Emitting\ module\ for\ FSPagerView (in target 'FSPagerView' from project 'FSPagerView')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ FSPagerView (in target 'FSPagerView' from project 'FSPagerView')
SwiftCompile normal arm64_32 Compiling\ FSPagerViewLayoutAttributes.swift /Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewLayoutAttributes.swift (in target 'FSPagerView' from project 'FSPagerView')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/FSPagerViewLayoutAttributes.swift (in target 'FSPagerView' from project 'FSPagerView')
(6 failures)
BUILD FAILURE 6.0 watchOS