Build Information
Failed to build TripKit, reference main (e24c63
), with Swift 5.9 for macOS (SPM) on 13 Nov 2024 07:20:09 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.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.9
Building package at path: $PWD
https://github.com/skedgo/tripkit-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/98] Copying Shared.strings
[0/98] Copying TripKit.strings
[0/98] Copying Shared.strings
[0/98] Copying TKUITripModeByModeHeader.xib
[0/98] Copying TKUITripTitleView.xib
[0/98] Copying TKUITripCell.xib
[0/98] Copying TKUITimetableAccessoryView.xib
[0/98] Copying TKUIServiceVisitCell.xib
[0/98] Copying Shared.strings
[10/98] Copying TKUIServiceHeaderMiniView.xib
[13/98] Copying TKUITripBoyView.xib
[16/98] Copying TKUIServiceHeaderView.xib
[16/98] Copying TKUIServiceTitleView.xib
[16/98] Copying TKUISegmentTitleView.xib
[16/98] Copying TKUISegmentStationaryDoubleCell.xib
[16/98] Copying TKUIServiceNumberCell.xib
[21/98] Copying TKUISegmentInstructionsView.xib
[21/98] Copying TKUISegmentStationaryCell.xib
[23/98] Copying TKUIRoutingSupportView.xib
[23/98] Copying TKUISectionedAlertTableHeader.xib
[23/98] Copying TKUISectionedAlertViewController.xib
[23/98] Copying TKUISegmentDirectionCell.xib
[23/98] Copying TKUISegmentAlertCell.xib
[23/98] Copying TKUIResultsAccessoryView.xib
[23/98] Copying TKUIResultsTitleView.xib
[23/98] Copying TKUISegmentMovingCell.xib
[23/98] Copying TKUIPathFriendlinessView.xib
[23/98] Copying TKUIHomeCustomizerCell.xib
[23/98] Copying TKUIRoutingQueryInputTitleView.xib
[23/98] Copying TKUINotificationView.xib
[23/98] Copying TKUISegmentImpossibleCell.xib
[23/98] Copying TKUINearbyCell.xib
[23/98] Copying TKUIModePickerCell.xib
[23/98] Copying TKUIProgressCell.xib
[23/98] Copying TKUILoadingAlertView.xib
[23/98] Copying TKUIEmptyAlertView.xib
[23/98] Copying Shared.strings
[23/98] Copying TKUIAlertCell.xib
[23/98] Copying TKUIDepartureCell.xib
[23/98] Copying Info.plist
[23/98] Copying Shared.strings
[23/98] Copying TKUIAttributionCell.xib
[23/98] Copying TKUIAttributionTableViewController.xib
[23/98] Copying Shared.strings
[23/98] Copying TKUIGroupedAlertCell.xib
[23/98] Copying TripKit.strings
[23/98] Copying Shared.strings
[23/98] Copying TripKit.strings
[23/98] Copying Shared.strings
[23/98] Copying TripKit.strings
[23/98] Copying Shared.strings
[23/98] Copying TripKit.strings
[23/98] Copying Shared.strings
[23/98] Copying TripKit.strings
[23/98] Copying Info.plist
[23/98] Copying TGPlainCardView.xib
[23/98] Copying Localizable.strings
[23/98] Copying Shared.strings
[23/98] Copying TripKit.strings
[23/98] Copying TGPageHeaderView.xib
[23/98] Copying TGScrollExtendedCardView.xib
[23/98] Copying TGPlainExtendedCardView.xib
[23/98] Copying TGScrollCardView.xib
[23/98] Copying TGCardDefaultTitleView.xib
[23/98] Copying Info.plist
[23/98] Copying TGPageCardView.xib
[23/98] Copying TGCardViewController.xib
[23/98] Copying PrivacyInfo.xcprivacy
[90/98] Copying TripKitModel.xcdatamodeld
[91/98] Copying TripKitUI.xcassets
[92/98] Copying TripKit.xcassets
[94/521] Compiling TripKit SegmentReference+CoreDataProperties.swift
[95/521] Compiling TripKit SegmentReference+Data.swift
[96/521] Compiling TripKit SegmentReference+Flags.swift
[97/521] Compiling TripKit SegmentTemplate+CoreDataClass.swift
[98/521] Compiling TripKit SegmentTemplate+CoreDataProperties.swift
[99/521] Compiling TripKit SegmentTemplate+Data.swift
[100/521] Compiling TripKit SegmentTemplate+Flags.swift
[101/521] Compiling TripKit Service+CoreDataClass.swift
[102/521] Compiling TripKit Service+CoreDataProperties.swift
[103/521] Compiling TripKit Service+Visits.swift
[104/521] Compiling TripKit Shape+CoreDataClass.swift
[105/521] Compiling TripKit Shape+CoreDataProperties.swift
[106/521] Compiling TripKit TKGeocoding.swift
[107/521] Compiling TripKit TKGeocodingResultScorer.swift
[108/521] Compiling TripKit TKModeImageBuilder.swift
[109/521] Compiling TripKit TKNamedCoordinate+Attribution.swift
[110/537] Compiling TripKit Loc.swift
[111/537] Compiling TripKit TKConfig.swift
[112/537] Compiling TripKit TKCrossPlatform.swift
[113/537] Compiling TripKit TKImage+TripKit.swift
[114/537] Compiling TripKit TKLog.swift
[115/537] Compiling TripKit TripKit.swift
[116/537] Compiling TripKit API+ViewHelpers.swift
[117/537] Compiling TripKit DataAttachable.swift
[118/537] Compiling TripKit TKImageBuilder.swift
[119/537] Compiling TripKit TKJSONCache.swift
[120/537] Compiling TripKit TKJSONSanitizer.swift
[121/537] Compiling TripKit TKModeHelper.swift
[122/537] Compiling TripKit TKParserHelper.swift
[123/537] Compiling TripKit TKRegion+RoutingMode.swift
[124/537] Compiling TripKit TKMetricClassifier.swift
[125/537] Compiling TripKit TKTripClassifier.swift
[126/537] Compiling TripKit TKSegment+StationaryType.swift
[127/537] Compiling TripKit TKSegment+TKTripSegment.swift
[128/537] Compiling TripKit TKSegment+Ticket.swift
[129/537] Compiling TripKit TKSegment.swift
[130/537] Compiling TripKit TKSortableAnnotation.swift
[131/537] Compiling TripKit TKStore.swift
[132/537] Compiling TripKit TKTimeType.swift
[133/537] Compiling TripKit TKTimetable.swift
[134/537] Compiling TripKit TKTransportMode.swift
[135/537] Compiling TripKit TKTripAndSegments.swift
[136/537] Compiling TripKit TKTripPattern.swift
[137/537] Compiling TripKit TKTurnByTurnMode.swift
[138/537] Compiling TripKit TKVehicular.swift
[139/537] Compiling TripKit TKWheelchairAccessibility.swift
[140/537] Compiling TripKit TKAggregateGeocoder.swift
[141/537] Compiling TripKit TKAnnotationClusterer.swift
[142/537] Compiling TripKit StopVisits+CoreDataClass.swift
[143/537] Compiling TripKit StopVisits+CoreDataProperties.swift
[144/537] Compiling TripKit Trip+CoreDataClass.swift
[145/537] Compiling TripKit Trip+CoreDataProperties.swift
[146/537] Compiling TripKit Trip+Data.swift
[147/537] Compiling TripKit Trip+Flags.swift
[148/537] Compiling TripKit TripGroup+CoreDataClass.swift
[149/537] Compiling TripKit TripGroup+CoreDataProperties.swift
[150/537] Compiling TripKit TripRequest+CoreDataClass.swift
[151/537] Compiling TripKit TripRequest+CoreDataProperties.swift
[152/537] Compiling TripKit Vehicle+CoreDataClass.swift
[153/537] Compiling TripKit Vehicle+CoreDataProperties.swift
[154/537] Compiling TripKit TKAddressFormatter.swift
[155/537] Compiling TripKit TKAnnotations.swift
[156/537] Compiling TripKit TKBicycleAccessibility.swift
[157/537] Compiling TripKit TKBookingTypes.swift
[158/537] Compiling TripKit TKColoredRoute.swift
[159/537] Compiling TripKit TKCoordinates.swift
[160/537] Compiling TripKit TKDLSTable.swift
[161/537] Compiling TripKit TKGeocodable.swift
[162/537] Compiling TripKit TKInfoIcon.swift
[163/537] Compiling TripKit TKLocalCost.swift
[164/537] Compiling TripKit TKLocationTypes.swift
[165/537] Compiling TripKit TKMapTiles.swift
[166/537] Compiling TripKit TKMiniInstruction.swift
[167/537] Compiling TripKit TKModeInfo+Image.swift
[168/537] Compiling TripKit TKModeInfo.swift
[169/537] Compiling TripKit TKNamedCoordinate.swift
[170/537] Compiling TripKit TKPathFriendliness.swift
[171/537] Compiling TripKit TKRoutePolyline.swift
[172/537] Compiling TripKit TKSecureTransformers.swift
[173/537] Compiling TripKit TKSegment+Alerts.swift
[174/537] Compiling TripKit TKSegment+Images.swift
[175/537] Compiling TripKit TKAppleGeocoder.swift
[176/537] Compiling TripKit TKAutocompletionResult+Icon.swift
[177/537] Compiling TripKit TKAutocompletionResult+Score.swift
[178/537] Compiling TripKit TKAutocompletionResult.swift
[179/537] Compiling TripKit TKGeoJSON+NamedCoordinate.swift
[180/537] Compiling TripKit TKGeoJSON.swift
[181/537] Compiling TripKit TKGeocoderHelper.swift
[182/537] Compiling TripKit ShareCarAPIModel.swift
[183/537] Compiling TripKit StopAPIModel.swift
[184/537] Compiling TripKit UserAPIModel.swift
[185/537] Compiling TripKit VehicleAPIModel.swift
[186/537] Compiling TripKit Alert+CoreDataClass.swift
[187/537] Compiling TripKit Alert+CoreDataProperties.swift
[188/537] Compiling TripKit DLSEntry+CoreDataClass.swift
[189/537] Compiling TripKit DLSEntry+CoreDataProperties.swift
[190/537] Compiling TripKit SegmentReference+CoreDataClass.swift
[191/537] Emitting module RxSwift
[192/537] Compiling TripKit TripRequest+Classify.swift
[193/537] Compiling TripKit TKCalendarManager+Autocompleting.swift
[194/537] Compiling TripKit TKCalendarManager.swift
[195/537] Compiling TripKit TKContactsManager+TKAutocompleting.swift
[196/537] Compiling TripKit TKContactsManager.swift
[197/537] Compiling TripKit TKStyleManager+UIKit.swift
[198/537] Compiling TripKit UIColor+TripKit.swift
[199/537] Compiling TripKit UIColor+TripKitDefault.swift
[200/537] Compiling TripKit Array+Duplicates.swift
[201/537] Compiling TripKit Codable+Helpers.swift
[202/537] Compiling TripKit Date+Helpers.swift
[203/537] Compiling TripKit MKMultiPoint+ClosestPoint.swift
[204/537] Compiling TripKit MapKit+Extensions.swift
[205/537] Compiling TripKit NSBundle+ProductName.swift
[206/537] Compiling TripKit NSDate+Formatting.swift
[207/537] Compiling TripKit NSError+customError.swift
[208/537] Compiling TripKit NSManagedObject+Safely.swift
[209/537] Compiling TripKit NSManagedObjectContext+Async.swift
[210/537] Compiling TripKit NSManagedObjectContext+Fetch.swift
[211/537] Compiling TripKit NSNumber+Formatter.swift
[212/537] Compiling TripKit String+NonEmpty.swift
[213/537] Compiling TripKit UserDefaults+SharedDefaults.swift
[214/537] Compiling TripKit Loc+TripKit.swift
[215/537] Compiling TripKit Loc+TripKitBookings.swift
[216/537] Compiling TripKit Loc+TripKitInterApp.swift
[217/537] Compiling TripKit Loc+TripKitUI.swift
[218/537] Compiling TripKit TKReporter.swift
[219/537] Compiling TripKit TKRouter.swift
[220/537] Compiling TripKit TKRoutingServer.swift
[221/537] Compiling TripKit TKServer+ImageUpload.swift
[222/537] Compiling TripKit TKServer+ModeImage.swift
[223/537] Compiling TripKit TKServer+Regions.swift
[224/537] Compiling TripKit TKServer+UserAccount.swift
[225/537] Compiling TripKit TKServer.swift
[226/537] Compiling TripKit TKSettings+Config.swift
[227/537] Compiling TripKit TKSettings.swift
[228/537] Compiling TripKit TKTripFetcher.swift
[229/537] Compiling TripKit TKWaypointRouter.swift
[230/537] Compiling TripKit SegmentTemplate+Parsing.swift
[231/537] Compiling TripKit TKAPIToCoreDataConverter.swift
[232/537] Compiling TripKit TKRoutingParser+Populate.swift
[233/537] Compiling TripKit TKRoutingParser.swift
[234/537] Compiling TripKit TKShareHelper+Parsing.swift
[235/537] Compiling TripKit TKShareHelper.swift
[236/537] Compiling TripKit TKShareURLProvider.swift
[237/537] Compiling TripKit StopLocation+Shareable.swift
[238/537] Compiling TripKit Shape+Data.swift
[239/537] Compiling TripKit StopLocation+CoreDataClass.swift
[240/537] Compiling TripKit StopLocation+CoreDataProperties.swift
[241/537] Compiling TripKit StopLocation.swift
[242/537] Compiling GeoMonitor PrioritizedRegion.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[243/537] 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
^
[250/539] 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
^
[251/539] 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
^
/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: emit-module command failed with exit code 1 (use -v to see invocation)
[255/539] 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 'ReferenceWritableKeyPath<GeoMonitor, Bool>' cannot be converted to contextual type 'KeyPath<GeoMonitor, Bool>'
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<GeoMonitor, CLLocation?>' cannot be converted to contextual type 'KeyPath<GeoMonitor, CLLocation?>'
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<GeoMonitor, Bool>' cannot be converted to contextual type 'KeyPath<GeoMonitor, Bool>'
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<GeoMonitor, Bool>' cannot be converted to contextual type 'KeyPath<GeoMonitor, Bool>'
[256/539] 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 'ReferenceWritableKeyPath<GeoMonitor, Bool>' cannot be converted to contextual type 'KeyPath<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 'ReferenceWritableKeyPath<GeoMonitor, CLLocation?>' cannot be converted to contextual type 'KeyPath<GeoMonitor, CLLocation?>'
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<GeoMonitor, Bool>' cannot be converted to contextual type 'KeyPath<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 'ReferenceWritableKeyPath<GeoMonitor, Bool>' cannot be converted to contextual type 'KeyPath<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 {
^
error: fatalError
/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/onevcat/Kingfisher.git
Fetching https://github.com/skedgo/GeoMonitor.git
Fetching https://github.com/skedgo/TGCardViewController.git
[2/187] Fetching geomonitor
[114/5446] Fetching geomonitor, tgcardviewcontroller
[1977/36468] Fetching geomonitor, tgcardviewcontroller, kingfisher
Fetched https://github.com/onevcat/Kingfisher.git (4.98s)
Fetched https://github.com/skedgo/GeoMonitor.git (4.98s)
Fetching https://github.com/ReactiveX/RxSwift.git
Fetched https://github.com/skedgo/TGCardViewController.git (4.98s)
[1/52375] Fetching rxswift
Fetched https://github.com/ReactiveX/RxSwift.git (37.31s)
Computing version for https://github.com/skedgo/GeoMonitor.git
Computed https://github.com/skedgo/GeoMonitor.git at 0.1.3 (0.50s)
Computing version for https://github.com/skedgo/TGCardViewController.git
Computed https://github.com/skedgo/TGCardViewController.git at 2.3.3 (0.49s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.8.0 (0.40s)
Computing version for https://github.com/onevcat/Kingfisher.git
Computed https://github.com/onevcat/Kingfisher.git at 7.12.0 (0.38s)
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/skedgo/TGCardViewController.git
Working copy of https://github.com/skedgo/TGCardViewController.git resolved at 2.3.3
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/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 6.8.0
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Tests/TripKitTests/polygon/data': File not found.
BUILD FAILURE 5.9 macosSpm