Build Information
Failed to build TripKit, reference main (e24c63
), with Swift 5.10 for macOS (SPM) on 13 Nov 2024 07:21:07 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/skedgo/tripkit-ios.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/skedgo/tripkit-ios
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at e24c63c Helper to reset image caches
Cloned https://github.com/skedgo/tripkit-ios.git
Revision (git rev-parse @):
e24c63cba44a08d669db578df757ece3f3b929ae
SUCCESS checkout https://github.com/skedgo/tripkit-ios.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/skedgo/tripkit-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/107] Write sources
[1/107] Copying Shared.strings
[1/107] Write sources
[1/107] Copying TripKit.strings
[1/107] Copying Shared.strings
[1/107] Copying TKUITripModeByModeHeader.xib
[1/107] Copying TKUITripTitleView.xib
[1/107] Copying TKUITripCell.xib
[1/107] Copying TKUIServiceNumberCell.xib
[1/107] Copying TripKit.strings
[1/107] Copying TKUIServiceHeaderMiniView.xib
[1/107] Copying TKUISegmentTitleView.xib
[1/107] Copying TKUISegmentStationaryCell.xib
[8/107] Copying TKUITimetableAccessoryView.xib
[9/107] Copying TKUITripBoyView.xib
[17/107] Copying TKUISegmentStationaryDoubleCell.xib
[17/107] Copying TKUIServiceHeaderView.xib
[17/107] Copying TKUIServiceVisitCell.xib
[17/107] Copying TKUIServiceTitleView.xib
[17/107] Copying TKUISegmentInstructionsView.xib
[17/107] Copying TKUIRoutingSupportView.xib
[17/107] Copying TKUISegmentImpossibleCell.xib
[17/107] Copying TKUISegmentAlertCell.xib
[17/107] Copying TKUIRoutingQueryInputTitleView.xib
[17/107] Copying TKUISegmentDirectionCell.xib
[17/107] Copying TKUISegmentMovingCell.xib
[17/107] Copying TKUIResultsAccessoryView.xib
[18/107] Copying TKUISectionedAlertTableHeader.xib
[31/107] Copying TKUIProgressCell.xib
[31/107] Copying TKUIResultsTitleView.xib
[33/107] Copying TKUILoadingAlertView.xib
[34/107] Copying TKUISectionedAlertViewController.xib
[34/107] Copying TKUINotificationView.xib
[34/107] Copying TKUIGroupedAlertCell.xib
[34/107] Copying TKUINearbyCell.xib
[34/107] Copying TKUIEmptyAlertView.xib
[34/107] Copying TKUIDepartureCell.xib
[34/107] Copying TKUIHomeCustomizerCell.xib
[34/107] Copying TKUIPathFriendlinessView.xib
[34/107] Copying TKUIModePickerCell.xib
[34/107] Copying Info.plist
[34/107] Copying TKUIAttributionTableViewController.xib
[34/107] Copying TKUIAlertCell.xib
[34/107] Copying Shared.strings
[34/107] Copying TKUIAttributionCell.xib
[34/107] Copying TripKit.strings
[34/107] Copying Shared.strings
[34/107] Copying TripKit.strings
[34/107] Copying Shared.strings
[34/107] Copying TripKit.strings
[34/107] Copying Shared.strings
[34/107] Copying TripKit.strings
[34/107] Copying Shared.strings
[34/107] Copying TripKit.strings
[34/107] Copying Shared.strings
[34/107] Copying TripKit.strings
[34/107] Copying Info.plist
[34/107] Copying TripKit.strings
[34/107] Copying TGPlainCardView.xib
[34/107] Copying TGPlainExtendedCardView.xib
[34/107] Copying Shared.strings
[34/107] Copying TGPageCardView.xib
[34/107] Copying TripKit.strings
[34/107] Write sources
[34/107] Copying TGPageHeaderView.xib
[34/107] Copying TGScrollCardView.xib
[34/107] Copying TGScrollExtendedCardView.xib
[34/107] Copying TGCardViewController.xib
[34/107] Copying Localizable.strings
[34/107] Copying PrivacyInfo.xcprivacy
[34/107] Copying Info.plist
[34/107] Write sources
[34/107] Copying TGCardDefaultTitleView.xib
[34/107] Copying PrivacyInfo.xcprivacy
[34/107] Write sources
[98/107] Copying TripKitModel.xcdatamodeld
[99/107] Write swift-version-33747A42983211AE.txt
[100/107] Copying TripKitUI.xcassets
[101/107] Copying TripKit.xcassets
[103/530] Emitting module RxSwift
[104/546] Compiling RxSwift Debug.swift
[105/546] Compiling RxSwift Decode.swift
[106/546] Compiling RxSwift DefaultIfEmpty.swift
[107/546] Compiling RxSwift Deferred.swift
[108/546] Compiling RxSwift Delay.swift
[109/546] Compiling RxSwift DelaySubscription.swift
[110/546] Compiling RxSwift Dematerialize.swift
[111/546] Compiling RxSwift DispatchQueue+Extensions.swift
[112/546] Compiling RxSwift DispatchQueueConfiguration.swift
[113/546] Compiling RxSwift Disposable.swift
[114/546] Compiling RxSwift Disposables.swift
[115/546] Compiling RxSwift DisposeBag.swift
[116/546] Compiling RxSwift DisposeBase.swift
[117/546] Compiling RxSwift DistinctUntilChanged.swift
[118/546] Compiling RxSwift Do.swift
[119/546] Compiling RxSwift ElementAt.swift
[120/546] Compiling RxSwift Empty.swift
[121/546] Compiling Kingfisher SessionDelegate.swift
[122/546] Compiling Kingfisher ImageBinder.swift
[123/546] Compiling Kingfisher AuthenticationChallengeResponsable.swift
[124/546] Compiling Kingfisher ImageDataProcessor.swift
[125/546] Compiling Kingfisher ImageDownloader.swift
[126/546] Compiling Kingfisher ImageDownloaderDelegate.swift
[127/546] Compiling Kingfisher ImageModifier.swift
[128/546] Compiling Kingfisher ImagePrefetcher.swift
[129/546] Compiling Kingfisher KingfisherError.swift
[130/546] Compiling Kingfisher KingfisherManager.swift
[131/546] Compiling Kingfisher KingfisherOptionsInfo.swift
[132/546] Compiling Kingfisher Filter.swift
[133/546] Compiling Kingfisher GIFAnimatedImage.swift
[134/546] Compiling Kingfisher GraphicsContext.swift
[135/546] Compiling Kingfisher Image.swift
[136/546] Compiling Kingfisher CacheSerializer.swift
[137/546] Compiling Kingfisher ImageView+Kingfisher.swift
[138/546] Compiling Kingfisher NSButton+Kingfisher.swift
[139/546] Compiling Kingfisher NSTextAttachment+Kingfisher.swift
[140/546] Compiling Kingfisher TVMonogramView+Kingfisher.swift
[141/546] Compiling Kingfisher UIButton+Kingfisher.swift
[142/546] Compiling Kingfisher WKInterfaceImage+Kingfisher.swift
[143/546] Compiling Kingfisher AVAssetImageDataProvider.swift
[144/546] Compiling Kingfisher ImageContext.swift
[145/546] Compiling Kingfisher KFAnimatedImage.swift
[146/546] Compiling Kingfisher KFImage.swift
[147/546] Compiling Kingfisher KFImageOptions.swift
[148/546] Compiling Kingfisher KFImageProtocol.swift
[149/546] Compiling Kingfisher KFImageRenderer.swift
[150/546] Compiling Kingfisher RedirectHandler.swift
[151/546] Compiling Kingfisher RequestModifier.swift
[152/546] Compiling Kingfisher RetryStrategy.swift
[153/546] Compiling Kingfisher SessionDataTask.swift
[154/546] Compiling Kingfisher DiskStorage.swift
[155/546] Compiling Kingfisher FormatIndicatedCacheSerializer.swift
[156/546] Compiling Kingfisher ImageCache.swift
[157/546] Compiling Kingfisher MemoryStorage.swift
[158/546] Compiling Kingfisher Storage.swift
[159/546] Compiling Kingfisher CPListItem+Kingfisher.swift
[160/546] Compiling Kingfisher ImageDrawing.swift
[161/546] Compiling Kingfisher ImageFormat.swift
[162/546] Compiling Kingfisher ImageProcessor.swift
[163/546] Compiling Kingfisher ImageProgressive.swift
[164/546] Compiling Kingfisher ImageTransition.swift
[165/546] Compiling Kingfisher Placeholder.swift
[166/546] Compiling Kingfisher Box.swift
[167/546] Compiling Kingfisher CallbackQueue.swift
[168/546] Compiling Kingfisher Delegate.swift
[169/546] Compiling Kingfisher DisplayLink.swift
[170/546] Compiling RxSwift PrimitiveSequence+Concurrency.swift
[171/546] Compiling RxSwift PrimitiveSequence+Zip+arity.swift
[172/546] Compiling RxSwift PrimitiveSequence.swift
[173/546] Compiling RxSwift PriorityQueue.swift
[174/546] Compiling RxSwift Producer.swift
[175/546] Compiling RxSwift PublishSubject.swift
[176/546] Compiling RxSwift Queue.swift
[177/546] Compiling RxSwift Range.swift
[178/546] Compiling RxSwift Reactive.swift
[179/546] Compiling RxSwift RecursiveLock.swift
[180/546] Compiling RxSwift RecursiveScheduler.swift
[181/546] Compiling RxSwift Reduce.swift
[182/546] Compiling RxSwift RefCountDisposable.swift
[183/546] Compiling RxSwift Repeat.swift
[184/546] Compiling RxSwift ReplaySubject.swift
[185/546] Compiling RxSwift RetryWhen.swift
[186/546] Compiling Kingfisher ExtensionHelpers.swift
[187/546] Compiling Kingfisher Result.swift
[188/546] Compiling Kingfisher ImageDataProvider.swift
[189/546] Compiling Kingfisher PHPickerResultImageDataProvider.swift
[190/546] Compiling Kingfisher Resource.swift
[191/546] Compiling Kingfisher Source.swift
[192/546] Compiling Kingfisher KF.swift
[193/546] Compiling Kingfisher KFOptionsSetter.swift
[194/546] Compiling Kingfisher Kingfisher.swift
[195/546] Compiling RxSwift Switch.swift
[196/546] Compiling RxSwift SwitchIfEmpty.swift
[197/546] Compiling RxSwift SynchronizedDisposeType.swift
[198/546] Compiling RxSwift SynchronizedOnType.swift
[199/546] Compiling RxSwift SynchronizedUnsubscribeType.swift
[200/546] Compiling RxSwift TailRecursiveSink.swift
[201/546] Compiling RxSwift Take.swift
[202/546] Compiling RxSwift Cancelable.swift
[203/546] Compiling RxSwift Catch.swift
[204/546] Compiling RxSwift CombineLatest+Collection.swift
[205/546] Compiling RxSwift CombineLatest+arity.swift
[206/546] Compiling RxSwift CombineLatest.swift
[207/546] Compiling RxSwift CompactMap.swift
[208/546] Compiling RxSwift Completable+AndThen.swift
[209/546] Compiling RxSwift Completable.swift
[210/546] Compiling RxSwift CompositeDisposable.swift
[211/546] Compiling RxSwift Concat.swift
[212/546] Compiling RxSwift ConcurrentDispatchQueueScheduler.swift
[213/546] Compiling RxSwift ConcurrentMainScheduler.swift
[214/546] Compiling RxSwift ConnectableObservableType.swift
[215/546] Compiling RxSwift Create.swift
[216/546] Compiling RxSwift CurrentThreadScheduler.swift
[217/546] Compiling RxSwift Date+Dispatch.swift
[218/546] Compiling RxSwift Debounce.swift
[219/546] Compiling RxSwift Never.swift
[220/546] Compiling RxSwift NopDisposable.swift
[221/546] Compiling RxSwift Observable+Concurrency.swift
[222/546] Compiling RxSwift Observable.swift
[223/546] Compiling RxSwift ObservableConvertibleType+Infallible.swift
[224/546] Compiling RxSwift ObservableConvertibleType.swift
[225/546] Compiling RxSwift ObservableType+Extensions.swift
[226/546] Compiling RxSwift ObservableType+PrimitiveSequence.swift
[227/546] Compiling RxSwift ObservableType.swift
[228/546] Compiling RxSwift ObserveOn.swift
[229/546] Compiling RxSwift ObserverBase.swift
[230/546] Compiling RxSwift ObserverType.swift
[231/546] Compiling RxSwift OperationQueueScheduler.swift
[232/546] Compiling RxSwift Optional.swift
[233/546] Compiling RxSwift Platform.Darwin.swift
[234/546] Compiling RxSwift Platform.Linux.swift
[235/546] Compiling RxSwift Rx.swift
[236/546] Compiling RxSwift RxMutableBox.swift
[237/546] Compiling RxSwift Sample.swift
[238/546] Compiling RxSwift Scan.swift
[239/546] Compiling RxSwift ScheduledDisposable.swift
[240/546] Compiling RxSwift ScheduledItem.swift
[241/546] Compiling RxSwift ScheduledItemType.swift
[242/546] Compiling RxSwift SchedulerServices+Emulation.swift
[243/546] Compiling RxSwift SchedulerType.swift
[244/546] Compiling RxSwift Sequence.swift
[245/546] Compiling RxSwift SerialDispatchQueueScheduler.swift
[246/546] Compiling RxSwift SerialDisposable.swift
[247/546] Compiling RxSwift ShareReplayScope.swift
[248/546] Compiling RxSwift Single.swift
[249/546] Compiling RxSwift SingleAssignmentDisposable.swift
[250/546] Compiling RxSwift SingleAsync.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[251/546] Emitting module TGCardViewController
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
import UIKit
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
import UIKit
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
import UIKit
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
import UIKit
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
import UIKit
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
import UIKit
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[258/548] Compiling GeoMonitor PrioritizedRegion.swift
[259/548] Compiling RxSwift TakeLast.swift
[260/548] Compiling RxSwift TakeWithPredicate.swift
[261/548] Compiling RxSwift Throttle.swift
[262/548] Compiling RxSwift Timeout.swift
[263/548] Compiling RxSwift Timer.swift
[264/548] Compiling RxSwift ToArray.swift
[265/548] Compiling RxSwift Using.swift
[266/548] Compiling RxSwift VirtualTimeConverterType.swift
[267/548] Compiling RxSwift VirtualTimeScheduler.swift
[268/548] Compiling RxSwift Window.swift
[269/548] Compiling RxSwift WithLatestFrom.swift
[270/548] Compiling RxSwift WithUnretained.swift
[271/548] Compiling RxSwift Zip+Collection.swift
[272/548] Compiling RxSwift Zip+arity.swift
[273/548] Compiling RxSwift Zip.swift
[274/548] Compiling RxSwift resource_bundle_accessor.swift
[275/548] Compiling TGCardViewController TGKeyboardTableView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[276/548] Compiling TGCardViewController resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[277/555] Compiling RxRelay BehaviorRelay.swift
[278/555] Compiling RxRelay PublishRelay.swift
[279/555] Emitting module RxRelay
[280/555] Compiling RxRelay resource_bundle_accessor.swift
[281/555] Compiling RxRelay ReplayRelay.swift
[282/555] Compiling RxRelay Utils.swift
[283/555] Compiling RxRelay Observable+Bind.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[284/555] Emitting module GeoMonitor
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:79:28: error: 'Task' is only available in macOS 10.15 or newer
private var monitorTask: Task<Void, Error>? = nil
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:126:4: error: 'Published' is only available in macOS 10.15 or newer
@Published public var hasAccess: Bool
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:186:4: error: 'Published' is only available in macOS 10.15 or newer
@Published public var currentLocation: CLLocation?
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:188:4: error: 'Published' is only available in macOS 10.15 or newer
@Published public var isTracking: Bool = false {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:253:47: error: 'authorizationStatus' is only available in macOS 11.0 or newer
if enableInBackground, (locationManager.authorizationStatus == .notDetermined || locationManager.authorizationStatus == .authorizedWhenInUse) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:253:47: note: add 'if #available' version check
if enableInBackground, (locationManager.authorizationStatus == .notDetermined || locationManager.authorizationStatus == .authorizedWhenInUse) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:253:104: error: 'authorizationStatus' is only available in macOS 11.0 or newer
if enableInBackground, (locationManager.authorizationStatus == .notDetermined || locationManager.authorizationStatus == .authorizedWhenInUse) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:253:104: note: add 'if #available' version check
if enableInBackground, (locationManager.authorizationStatus == .notDetermined || locationManager.authorizationStatus == .authorizedWhenInUse) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:253:128: error: 'authorizedWhenInUse' is unavailable in macOS
if enableInBackground, (locationManager.authorizationStatus == .notDetermined || locationManager.authorizationStatus == .authorizedWhenInUse) {
^~~~~~~~~~~~~~~~~~~
CoreLocation.CLAuthorizationStatus:20:10: note: 'authorizedWhenInUse' has been explicitly marked unavailable here
case authorizedWhenInUse
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:250:4: error: 'Published' is only available in macOS 10.15 or newer
@Published public var enableInBackground: Bool = false {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:274:27: error: 'startMonitoringVisits()' is only available in macOS 10.15 or newer
locationManager.startMonitoringVisits()
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:274:27: note: add 'if #available' version check
locationManager.startMonitoringVisits()
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:276:27: error: 'stopMonitoringVisits()' is only available in macOS 10.15 or newer
locationManager.stopMonitoringVisits()
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:276:27: note: add 'if #available' version check
locationManager.stopMonitoringVisits()
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:36: error: 'ObservableObject' is only available in macOS 10.15 or newer
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:542:77: error: 'CLVisit' is only available in macOS 10.15 or newer
public func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:542:15: note: add @available attribute to enclosing instance method
public func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:483:1: note: add @available attribute to enclosing extension
extension GeoMonitor: CLLocationManagerDelegate {
^
<unknown>:0: error: key path value type 'KeyPath<GeoMonitor, Bool>' cannot be converted to contextual type 'ReferenceWritableKeyPath<GeoMonitor, Bool>'
<unknown>:0: error: key path value type 'KeyPath<GeoMonitor, CLLocation?>' cannot be converted to contextual type 'ReferenceWritableKeyPath<GeoMonitor, CLLocation?>'
<unknown>:0: error: key path value type 'KeyPath<GeoMonitor, Bool>' cannot be converted to contextual type 'ReferenceWritableKeyPath<GeoMonitor, Bool>'
<unknown>:0: error: key path value type 'KeyPath<GeoMonitor, Bool>' cannot be converted to contextual type 'ReferenceWritableKeyPath<GeoMonitor, Bool>'
[285/555] Compiling GeoMonitor GeoMonitor.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:79:28: error: 'Task' is only available in macOS 10.15 or newer
private var monitorTask: Task<Void, Error>? = nil
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:126:4: error: 'Published' is only available in macOS 10.15 or newer
@Published public var hasAccess: Bool
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:186:4: error: 'Published' is only available in macOS 10.15 or newer
@Published public var currentLocation: CLLocation?
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:188:4: error: 'Published' is only available in macOS 10.15 or newer
@Published public var isTracking: Bool = false {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:253:47: error: 'authorizationStatus' is only available in macOS 11.0 or newer
if enableInBackground, (locationManager.authorizationStatus == .notDetermined || locationManager.authorizationStatus == .authorizedWhenInUse) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:253:47: note: add 'if #available' version check
if enableInBackground, (locationManager.authorizationStatus == .notDetermined || locationManager.authorizationStatus == .authorizedWhenInUse) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:253:104: error: 'authorizationStatus' is only available in macOS 11.0 or newer
if enableInBackground, (locationManager.authorizationStatus == .notDetermined || locationManager.authorizationStatus == .authorizedWhenInUse) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:253:104: note: add 'if #available' version check
if enableInBackground, (locationManager.authorizationStatus == .notDetermined || locationManager.authorizationStatus == .authorizedWhenInUse) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:253:128: error: 'authorizedWhenInUse' is unavailable in macOS
if enableInBackground, (locationManager.authorizationStatus == .notDetermined || locationManager.authorizationStatus == .authorizedWhenInUse) {
^~~~~~~~~~~~~~~~~~~
CoreLocation.CLAuthorizationStatus:20:10: note: 'authorizedWhenInUse' has been explicitly marked unavailable here
case authorizedWhenInUse
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:250:4: error: 'Published' is only available in macOS 10.15 or newer
@Published public var enableInBackground: Bool = false {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:274:27: error: 'startMonitoringVisits()' is only available in macOS 10.15 or newer
locationManager.startMonitoringVisits()
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:274:27: note: add 'if #available' version check
locationManager.startMonitoringVisits()
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:276:27: error: 'stopMonitoringVisits()' is only available in macOS 10.15 or newer
locationManager.stopMonitoringVisits()
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:276:27: note: add 'if #available' version check
locationManager.stopMonitoringVisits()
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:36: error: 'ObservableObject' is only available in macOS 10.15 or newer
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:542:77: error: 'CLVisit' is only available in macOS 10.15 or newer
public func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:542:15: note: add @available attribute to enclosing instance method
public func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:483:1: note: add @available attribute to enclosing extension
extension GeoMonitor: CLLocationManagerDelegate {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:105:5: error: setter for 'hasAccess' is only available in macOS 10.15 or newer
hasAccess = false
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:105:5: note: add 'if #available' version check
hasAccess = false
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:101:10: note: add @available attribute to enclosing initializer
public init(enabledKey: String? = nil, dataSource: GeoMonitorDataSource, onEvent: @escaping (Event) -> Void) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:108:7: error: setter for 'enableInBackground' is only available in macOS 10.15 or newer
enableInBackground = UserDefaults.standard.bool(forKey: enabledKey)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:108:7: note: add 'if #available' version check
enableInBackground = UserDefaults.standard.bool(forKey: enabledKey)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:101:10: note: add @available attribute to enclosing initializer
public init(enabledKey: String? = nil, dataSource: GeoMonitorDataSource, onEvent: @escaping (Event) -> Void) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:110:7: error: setter for 'enableInBackground' is only available in macOS 10.15 or newer
enableInBackground = false
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:110:7: note: add 'if #available' version check
enableInBackground = false
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:101:10: note: add @available attribute to enclosing initializer
public init(enabledKey: String? = nil, dataSource: GeoMonitorDataSource, onEvent: @escaping (Event) -> Void) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:116:21: error: 'allowsBackgroundLocationUpdates' is only available in macOS 10.15 or newer
locationManager.allowsBackgroundLocationUpdates = true
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:116:21: note: add 'if #available' version check
locationManager.allowsBackgroundLocationUpdates = true
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:101:10: note: add @available attribute to enclosing initializer
public init(enabledKey: String? = nil, dataSource: GeoMonitorDataSource, onEvent: @escaping (Event) -> Void) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
<unknown>:0: error: key path value type 'KeyPath<GeoMonitor, Bool>' cannot be converted to contextual type 'ReferenceWritableKeyPath<GeoMonitor, Bool>'
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:132:28: error: 'authorizationStatus' is only available in macOS 11.0 or newer
switch locationManager.authorizationStatus {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:132:28: note: add 'if #available' version check
switch locationManager.authorizationStatus {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:131:14: note: add @available attribute to enclosing property
public var canAsk: Bool {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:143:28: error: 'authorizationStatus' is only available in macOS 11.0 or newer
switch locationManager.authorizationStatus {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:143:28: note: add 'if #available' version check
switch locationManager.authorizationStatus {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:142:16: note: add @available attribute to enclosing instance method
private func updateAccess() {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:145:7: error: setter for 'hasAccess' is only available in macOS 10.15 or newer
hasAccess = !needsFullAccuracy || locationManager.accuracyAuthorization == .fullAccuracy
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:145:7: note: add 'if #available' version check
hasAccess = !needsFullAccuracy || locationManager.accuracyAuthorization == .fullAccuracy
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:142:16: note: add @available attribute to enclosing instance method
private func updateAccess() {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:145:57: error: 'accuracyAuthorization' is only available in macOS 11.0 or newer
hasAccess = !needsFullAccuracy || locationManager.accuracyAuthorization == .fullAccuracy
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:145:57: note: add 'if #available' version check
hasAccess = !needsFullAccuracy || locationManager.accuracyAuthorization == .fullAccuracy
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:142:16: note: add @available attribute to enclosing instance method
private func updateAccess() {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:150:7: error: setter for 'hasAccess' is only available in macOS 10.15 or newer
hasAccess = !needsFullAccuracy || locationManager.accuracyAuthorization == .fullAccuracy
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:150:7: note: add 'if #available' version check
hasAccess = !needsFullAccuracy || locationManager.accuracyAuthorization == .fullAccuracy
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:142:16: note: add @available attribute to enclosing instance method
private func updateAccess() {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:150:57: error: 'accuracyAuthorization' is only available in macOS 11.0 or newer
hasAccess = !needsFullAccuracy || locationManager.accuracyAuthorization == .fullAccuracy
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:150:57: note: add 'if #available' version check
hasAccess = !needsFullAccuracy || locationManager.accuracyAuthorization == .fullAccuracy
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:142:16: note: add @available attribute to enclosing instance method
private func updateAccess() {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:151:7: error: setter for 'enableInBackground' is only available in macOS 10.15 or newer
enableInBackground = false
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:151:7: note: add 'if #available' version check
enableInBackground = false
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:142:16: note: add @available attribute to enclosing instance method
private func updateAccess() {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:153:7: error: setter for 'hasAccess' is only available in macOS 10.15 or newer
hasAccess = false
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:153:7: note: add 'if #available' version check
hasAccess = false
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:142:16: note: add @available attribute to enclosing instance method
private func updateAccess() {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:154:7: error: setter for 'enableInBackground' is only available in macOS 10.15 or newer
enableInBackground = false
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:154:7: note: add 'if #available' version check
enableInBackground = false
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:142:16: note: add @available attribute to enclosing instance method
private func updateAccess() {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:156:7: error: setter for 'hasAccess' is only available in macOS 10.15 or newer
hasAccess = false
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:156:7: note: add 'if #available' version check
hasAccess = false
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:142:16: note: add @available attribute to enclosing instance method
private func updateAccess() {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:157:7: error: setter for 'enableInBackground' is only available in macOS 10.15 or newer
enableInBackground = false
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:157:7: note: add 'if #available' version check
enableInBackground = false
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:142:16: note: add @available attribute to enclosing instance method
private func updateAccess() {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:163:26: error: 'authorizationStatus' is only available in macOS 11.0 or newer
if locationManager.authorizationStatus == .notDetermined {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:163:26: note: add 'if #available' version check
if locationManager.authorizationStatus == .notDetermined {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:161:15: note: add @available attribute to enclosing instance method
public func ask(forBackground: Bool = false, _ handler: @escaping (Bool) -> Void = { _ in }) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:175:25: error: 'requestAlwaysAuthorization()' is only available in macOS 10.15 or newer
locationManager.requestAlwaysAuthorization()
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:175:25: note: add 'if #available' version check
locationManager.requestAlwaysAuthorization()
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:161:15: note: add @available attribute to enclosing instance method
public func ask(forBackground: Bool = false, _ handler: @escaping (Bool) -> Void = { _ in }) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:179:23: error: 'requestWhenInUseAuthorization()' is only available in macOS 10.15 or newer
locationManager.requestWhenInUseAuthorization()
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:179:23: note: add 'if #available' version check
locationManager.requestWhenInUseAuthorization()
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:161:15: note: add @available attribute to enclosing instance method
public func ask(forBackground: Bool = false, _ handler: @escaping (Bool) -> Void = { _ in }) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
<unknown>:0: error: key path value type 'KeyPath<GeoMonitor, CLLocation?>' cannot be converted to contextual type 'ReferenceWritableKeyPath<GeoMonitor, CLLocation?>'
<unknown>:0: error: key path value type 'KeyPath<GeoMonitor, Bool>' cannot be converted to contextual type 'ReferenceWritableKeyPath<GeoMonitor, Bool>'
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:221:21: error: 'requestLocation()' is only available in macOS 10.14 or newer
locationManager.requestLocation()
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:221:21: note: add 'if #available' version check
locationManager.requestLocation()
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:206:16: note: add @available attribute to enclosing instance method
private func fetchCurrentLocation() async throws -> CLLocation {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:227:22: error: 'withCheckedThrowingContinuation(function:_:)' is only available in macOS 10.15 or newer
return try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:227:22: note: add 'if #available' version check
return try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:206:16: note: add @available attribute to enclosing instance method
private func fetchCurrentLocation() async throws -> CLLocation {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:230:22: error: 'resume(with:)' is only available in macOS 10.15 or newer
continuation.resume(with: result)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:230:22: note: add 'if #available' version check
continuation.resume(with: result)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:206:16: note: add @available attribute to enclosing instance method
private func fetchCurrentLocation() async throws -> CLLocation {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
<unknown>:0: error: key path value type 'KeyPath<GeoMonitor, Bool>' cannot be converted to contextual type 'ReferenceWritableKeyPath<GeoMonitor, Bool>'
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:286:21: error: 'allowsBackgroundLocationUpdates' is only available in macOS 10.15 or newer
locationManager.allowsBackgroundLocationUpdates = true
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:286:21: note: add 'if #available' version check
locationManager.allowsBackgroundLocationUpdates = true
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:282:15: note: add @available attribute to enclosing instance method
public func startMonitoring() {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:287:21: error: 'pausesLocationUpdatesAutomatically' is only available in macOS 10.15 or newer
locationManager.pausesLocationUpdatesAutomatically = enableInBackground // we can do that, as it implies "always on" permissions
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:287:21: note: add 'if #available' version check
locationManager.pausesLocationUpdatesAutomatically = enableInBackground // we can do that, as it implies "always on" permissions
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:282:15: note: add @available attribute to enclosing instance method
public func startMonitoring() {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:289:5: error: 'Task' is only available in macOS 10.15 or newer
Task {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:289:5: note: add 'if #available' version check
Task {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:282:15: note: add @available attribute to enclosing instance method
public func startMonitoring() {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:289:5: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:289:5: note: add 'if #available' version check
Task {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:282:15: note: add @available attribute to enclosing instance method
public func startMonitoring() {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:296:23: error: 'startMonitoringVisits()' is only available in macOS 10.15 or newer
locationManager.startMonitoringVisits()
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:296:23: note: add 'if #available' version check
locationManager.startMonitoringVisits()
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:282:15: note: add @available attribute to enclosing instance method
public func startMonitoring() {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:304:21: error: 'allowsBackgroundLocationUpdates' is only available in macOS 10.15 or newer
locationManager.allowsBackgroundLocationUpdates = false
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:304:21: note: add 'if #available' version check
locationManager.allowsBackgroundLocationUpdates = false
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:300:15: note: add @available attribute to enclosing instance method
public func stopMonitoring() {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:305:21: error: 'pausesLocationUpdatesAutomatically' is only available in macOS 10.15 or newer
locationManager.pausesLocationUpdatesAutomatically = true
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:305:21: note: add 'if #available' version check
locationManager.pausesLocationUpdatesAutomatically = true
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:300:15: note: add @available attribute to enclosing instance method
public func stopMonitoring() {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:308:21: error: 'stopMonitoringVisits()' is only available in macOS 10.15 or newer
locationManager.stopMonitoringVisits()
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:308:21: note: add 'if #available' version check
locationManager.stopMonitoringVisits()
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:300:15: note: add @available attribute to enclosing instance method
public func stopMonitoring() {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:402:18: error: 'cancel()' is only available in macOS 10.15 or newer
monitorTask?.cancel()
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:402:18: note: add 'if #available' version check
monitorTask?.cancel()
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:401:16: note: add @available attribute to enclosing instance method
private func monitorDebounced(_ regions: [CLCircularRegion], location: CLLocation?, delay: TimeInterval? = nil) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:399:1: note: add @available attribute to enclosing extension
extension GeoMonitor {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:403:19: error: 'Task' is only available in macOS 10.15 or newer
monitorTask = Task {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:403:19: note: add 'if #available' version check
monitorTask = Task {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:401:16: note: add @available attribute to enclosing instance method
private func monitorDebounced(_ regions: [CLCircularRegion], location: CLLocation?, delay: TimeInterval? = nil) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:399:1: note: add @available attribute to enclosing extension
extension GeoMonitor {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:403:19: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
monitorTask = Task {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:403:19: note: add 'if #available' version check
monitorTask = Task {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:401:16: note: add @available attribute to enclosing instance method
private func monitorDebounced(_ regions: [CLCircularRegion], location: CLLocation?, delay: TimeInterval? = nil) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:399:1: note: add @available attribute to enclosing extension
extension GeoMonitor {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:405:19: error: 'Task' is only available in macOS 10.15 or newer
try await Task.sleep(nanoseconds: UInt64(delay * 1_000_000_000))
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:405:19: note: add 'if #available' version check
try await Task.sleep(nanoseconds: UInt64(delay * 1_000_000_000))
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:401:16: note: add @available attribute to enclosing instance method
private func monitorDebounced(_ regions: [CLCircularRegion], location: CLLocation?, delay: TimeInterval? = nil) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:399:1: note: add @available attribute to enclosing extension
extension GeoMonitor {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:405:24: error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
try await Task.sleep(nanoseconds: UInt64(delay * 1_000_000_000))
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:405:24: note: add 'if #available' version check
try await Task.sleep(nanoseconds: UInt64(delay * 1_000_000_000))
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:401:16: note: add @available attribute to enclosing instance method
private func monitorDebounced(_ regions: [CLCircularRegion], location: CLLocation?, delay: TimeInterval? = nil) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:399:1: note: add @available attribute to enclosing extension
extension GeoMonitor {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:412:12: error: 'Task' is only available in macOS 10.15 or newer
guard !Task.isCancelled else { return }
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:412:12: note: add 'if #available' version check
guard !Task.isCancelled else { return }
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:411:16: note: add @available attribute to enclosing instance method
private func monitorNow(_ regions: [CLCircularRegion], location: CLLocation?) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:399:1: note: add @available attribute to enclosing extension
extension GeoMonitor {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:412:17: error: 'isCancelled' is only available in macOS 10.15 or newer
guard !Task.isCancelled else { return }
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:412:17: note: add 'if #available' version check
guard !Task.isCancelled else { return }
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:411:16: note: add @available attribute to enclosing instance method
private func monitorNow(_ regions: [CLCircularRegion], location: CLLocation?) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:399:1: note: add @available attribute to enclosing extension
extension GeoMonitor {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:495:5: error: 'Task' is only available in macOS 10.15 or newer
Task {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:495:5: note: add 'if #available' version check
Task {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:485:15: note: add @available attribute to enclosing instance method
public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:483:1: note: add @available attribute to enclosing extension
extension GeoMonitor: CLLocationManagerDelegate {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:495:5: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:495:5: note: add 'if #available' version check
Task {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:485:15: note: add @available attribute to enclosing instance method
public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:483:1: note: add @available attribute to enclosing extension
extension GeoMonitor: CLLocationManagerDelegate {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:536:5: error: 'Task' is only available in macOS 10.15 or newer
Task {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:536:5: note: add 'if #available' version check
Task {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:526:15: note: add @available attribute to enclosing instance method
public func locationManager(_ manager: CLLocationManager, didExitRegion region: CLRegion) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:483:1: note: add @available attribute to enclosing extension
extension GeoMonitor: CLLocationManagerDelegate {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:536:5: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:536:5: note: add 'if #available' version check
Task {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:526:15: note: add @available attribute to enclosing instance method
public func locationManager(_ manager: CLLocationManager, didExitRegion region: CLRegion) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:483:1: note: add @available attribute to enclosing extension
extension GeoMonitor: CLLocationManagerDelegate {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:555:5: error: 'Task' is only available in macOS 10.15 or newer
Task {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:555:5: note: add 'if #available' version check
Task {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:542:15: note: add @available attribute to enclosing instance method
public func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:483:1: note: add @available attribute to enclosing extension
extension GeoMonitor: CLLocationManagerDelegate {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:555:5: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:555:5: note: add 'if #available' version check
Task {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:542:15: note: add @available attribute to enclosing instance method
public func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:483:1: note: add @available attribute to enclosing extension
extension GeoMonitor: CLLocationManagerDelegate {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:576:5: error: setter for 'currentLocation' is only available in macOS 10.15 or newer
self.currentLocation = latestAccurate
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:576:5: note: add 'if #available' version check
self.currentLocation = latestAccurate
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:561:15: note: add @available attribute to enclosing instance method
public func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:483:1: note: add @available attribute to enclosing extension
extension GeoMonitor: CLLocationManagerDelegate {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:599:20: error: 'authorizationStatus' is only available in macOS 11.0 or newer
switch manager.authorizationStatus {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:599:20: note: add 'if #available' version check
switch manager.authorizationStatus {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:594:15: note: add @available attribute to enclosing instance method
public func locationManagerDidChangeAuthorization(_ manager: CLLocationManager) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:483:1: note: add @available attribute to enclosing extension
extension GeoMonitor: CLLocationManagerDelegate {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
import UIKit
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
import UIKit
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
[288/555] Compiling RxCocoaRuntime _RXKVOObserver.m
[288/555] Compiling RxCocoaRuntime _RXObjCRuntime.m
[288/555] Compiling RxCocoaRuntime resource_bundle_accessor.m
[288/555] Compiling RxCocoaRuntime _RXDelegateProxy.m
[288/555] Compiling RxCocoaRuntime _RX.m
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
import UIKit
^
Fetching https://github.com/skedgo/TGCardViewController.git
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/skedgo/GeoMonitor.git
Fetching https://github.com/onevcat/Kingfisher.git
[1/187] Fetching geomonitor
[188/5446] Fetching geomonitor, tgcardviewcontroller
[3081/36468] Fetching geomonitor, tgcardviewcontroller, kingfisher
[3135/88843] Fetching geomonitor, tgcardviewcontroller, kingfisher, rxswift
Fetched https://github.com/skedgo/TGCardViewController.git from cache (6.08s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (6.08s)
Fetched https://github.com/onevcat/Kingfisher.git from cache (6.08s)
Fetched https://github.com/skedgo/GeoMonitor.git from cache (6.08s)
Computing version for https://github.com/skedgo/GeoMonitor.git
Computed https://github.com/skedgo/GeoMonitor.git at 0.1.3 (0.49s)
Computing version for https://github.com/skedgo/TGCardViewController.git
Computed https://github.com/skedgo/TGCardViewController.git at 2.3.3 (0.48s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.8.0 (0.42s)
Computing version for https://github.com/onevcat/Kingfisher.git
Computed https://github.com/onevcat/Kingfisher.git at 7.12.0 (0.41s)
Creating working copy for https://github.com/skedgo/GeoMonitor.git
Working copy of https://github.com/skedgo/GeoMonitor.git resolved at 0.1.3
Creating working copy for https://github.com/onevcat/Kingfisher.git
Working copy of https://github.com/onevcat/Kingfisher.git resolved at 7.12.0
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 6.8.0
Creating working copy for https://github.com/skedgo/TGCardViewController.git
Working copy of https://github.com/skedgo/TGCardViewController.git resolved at 2.3.3
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Tests/TripKitTests/polygon/data': File not found.
BUILD FAILURE 5.10 macosSpm