Build Information
Failed to build Airship, reference main (bfd4ce), with Swift 6.1 for macOS (SPM) on 1 May 2026 07:05:44 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/urbanairship/ios-library.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/urbanairship/ios-library
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at bfd4ce0 Release 20.7.0 (#3777)
Cloned https://github.com/urbanairship/ios-library.git
Revision (git rev-parse @):
bfd4ce0474bb5ea3e038c270fe35e899482f72bd
SUCCESS checkout https://github.com/urbanairship/ios-library.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/urbanairship/ios-library.git
https://github.com/urbanairship/ios-library.git
{
"default_localization" : "en",
"dependencies" : [
],
"manifest_display_name" : "Airship",
"name" : "Airship",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "tvos",
"version" : "18.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "AirshipCore",
"targets" : [
"AirshipCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AirshipAutomation",
"targets" : [
"AirshipAutomation"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AirshipMessageCenter",
"targets" : [
"AirshipMessageCenter"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AirshipNotificationServiceExtension",
"targets" : [
"AirshipNotificationServiceExtension"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AirshipPreferenceCenter",
"targets" : [
"AirshipPreferenceCenter"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AirshipFeatureFlags",
"targets" : [
"AirshipFeatureFlags"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AirshipObjectiveC",
"targets" : [
"AirshipObjectiveC"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AirshipDebug",
"targets" : [
"AirshipDebug"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AirshipPreferenceCenter",
"module_type" : "SwiftTarget",
"name" : "AirshipPreferenceCenter",
"path" : "Airship/AirshipPreferenceCenter",
"product_memberships" : [
"AirshipPreferenceCenter",
"AirshipObjectiveC",
"AirshipDebug"
],
"sources" : [
"Source/AirshipPreferenceCenterResources.swift",
"Source/PreferenceCenter.swift",
"Source/PreferenceCenterComponent.swift",
"Source/PreferenceCenterSDKModule.swift",
"Source/data/PreferenceCenterConfig+ContactManagement.swift",
"Source/data/PreferenceCenterConfig.swift",
"Source/data/PreferenceCenterDecoder.swift",
"Source/data/PreferenceCenterResponse.swift",
"Source/theme/PreferenceCenterTheme.swift",
"Source/theme/PreferenceCenterThemeLoader.swift",
"Source/view/ChannelSubscriptionView.swift",
"Source/view/CommonSectionView.swift",
"Source/view/ConditionsMonitor.swift",
"Source/view/ConditionsViewModifier.swift",
"Source/view/Contact management/AddChannelPromptView.swift",
"Source/view/Contact management/AddChannelPromptViewModel.swift",
"Source/view/Contact management/ChannelListView.swift",
"Source/view/Contact management/ChannelListViewCell.swift",
"Source/view/Contact management/Component Views/BackgroundShape.swift",
"Source/view/Contact management/Component Views/ChannelTextField.swift",
"Source/view/Contact management/Component Views/EmptySectionLabel.swift",
"Source/view/Contact management/Component Views/ErrorLabel.swift",
"Source/view/Contact management/Component Views/PreferenceCloseButton.swift",
"Source/view/Contact management/ContactManagementView.swift",
"Source/view/Contact management/FooterView.swift",
"Source/view/ContactSubscriptionGroupView.swift",
"Source/view/ContactSubscriptionView.swift",
"Source/view/LabeledSectionBreakView.swift",
"Source/view/PreferenceCenterAlertView.swift",
"Source/view/PreferenceCenterContent.swift",
"Source/view/PreferenceCenterContentLoader.swift",
"Source/view/PreferenceCenterContentStyle.swift",
"Source/view/PreferenceCenterState.swift",
"Source/view/PreferenceCenterUtils.swift",
"Source/view/PreferenceCenterView.swift",
"Source/view/PreferenceCenterViewControllerFactory.swift",
"Source/view/PreferenceCenterViewExtensions.swift"
],
"target_dependencies" : [
"AirshipCore"
],
"type" : "library"
},
{
"c99name" : "AirshipObjectiveC",
"module_type" : "SwiftTarget",
"name" : "AirshipObjectiveC",
"path" : "Airship/AirshipObjectiveC",
"product_memberships" : [
"AirshipObjectiveC"
],
"sources" : [
"Source/Analytics/Events/Templates/UAAccountEventTemplate.swift",
"Source/Analytics/Events/Templates/UAMediaEventTemplate.swift",
"Source/Analytics/Events/Templates/UARetailEventTemplate.swift",
"Source/Analytics/Events/Templates/UASearchEventTemplate.swift",
"Source/Analytics/Events/UACustomEvent.swift",
"Source/Analytics/UAAnalytics.swift",
"Source/Analytics/UAAssociatedIdentifiers.swift",
"Source/Automation/UAInAppAutomation.swift",
"Source/Automation/UAInAppMessaging.swift",
"Source/Channel/UAAttributesEditor.swift",
"Source/Channel/UAChannel.swift",
"Source/Channel/UATagEditor.swift",
"Source/Channel/UATagGroupsEditor.swift",
"Source/Contact/UAContact.swift",
"Source/Embedded/UAEmbeddedViewController.swift",
"Source/MessageCenter/UAMessageCenter.swift",
"Source/MessageCenter/UAMessageCenterList.swift",
"Source/MessageCenter/UAMessageCenterMessage.swift",
"Source/MessageCenter/UAMessageCenterNativeBridge.swift",
"Source/MessageCenter/UAMessageCenterTheme.swift",
"Source/MessageCenter/UAMessageCenterUser.swift",
"Source/MessageCenter/UAMessageCenterViewController.swift",
"Source/PreferenceCenter/UAPreferenceCenter.swift",
"Source/PreferenceCenter/UAPreferenceCenterViewController.swift",
"Source/PrivacyManager/UAPrivacyManager.swift",
"Source/Push/UAAuthorizedNotificationSettings.swift",
"Source/Push/UANotificationCategories.swift",
"Source/Push/UAPush.swift",
"Source/Push/UAPushNotificationDelegate.swift",
"Source/Push/UAPushNotificationStatus.swift",
"Source/Push/UARegistrationDelegate.swift",
"Source/Subscription Lists/UAScopedSubscriptionListEditor.swift",
"Source/Subscription Lists/UASubscriptionListEditor.swift",
"Source/UAAppIntegration.swift",
"Source/UAConfig.swift",
"Source/UADeepLinkDelegate.swift",
"Source/UAFeature.swift",
"Source/UAPermission.swift",
"Source/UAPermissionsManager.swift",
"Source/UAirship.swift"
],
"target_dependencies" : [
"AirshipBasement",
"AirshipCore",
"AirshipPreferenceCenter",
"AirshipMessageCenter",
"AirshipAutomation",
"AirshipFeatureFlags"
],
"type" : "library"
},
{
"c99name" : "AirshipNotificationServiceExtension",
"module_type" : "SwiftTarget",
"name" : "AirshipNotificationServiceExtension",
"path" : "AirshipExtensions/AirshipNotificationServiceExtension",
"product_memberships" : [
"AirshipNotificationServiceExtension"
],
"sources" : [
"Source/AirshipExtensionConfig.swift",
"Source/AirshipExtensionLogger.swift",
"Source/AirshipNotificationMutationProvider.swift",
"Source/ChallengeResolver.swift",
"Source/MediaAttachmentPayload.swift",
"Source/UANotificationServiceExtension.swift"
],
"type" : "library"
},
{
"c99name" : "AirshipMessageCenter",
"module_type" : "SwiftTarget",
"name" : "AirshipMessageCenter",
"path" : "Airship/AirshipMessageCenter",
"product_memberships" : [
"AirshipMessageCenter",
"AirshipObjectiveC",
"AirshipDebug"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipMessageCenter/Resources/TestAssets.xcassets",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipMessageCenter/Resources/UAInbox.xcdatamodeld",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipMessageCenter/Resources/UAInboxDataMappingV1toV4.xcmappingmodel",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipMessageCenter/Resources/UAInboxDataMappingV2toV4.xcmappingmodel",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipMessageCenter/Resources/UAInboxDataMappingV3toV4.xcmappingmodel",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Source/AirshipMessageCenterResources.swift",
"Source/MessageCenter.swift",
"Source/MessageCenterAPIClient.swift",
"Source/MessageCenterAction.swift",
"Source/MessageCenterComponent.swift",
"Source/MessageCenterList.swift",
"Source/MessageCenterNativeBridgeExtension.swift",
"Source/MessageCenterPredicate.swift",
"Source/MessageCenterSDKModule.swift",
"Source/MessageCenterStore.swift",
"Source/MessageViewAnalytics.swift",
"Source/Model/InboxMessageData.swift",
"Source/Model/MessageCenterMessage.swift",
"Source/Model/MessageCenterUser.swift",
"Source/Model/UAInboxDataMapping.swift",
"Source/StateStore/NativeLayoutPersistentDataStore.swift",
"Source/Theme/MessageCenterNavigationAppearance.swift",
"Source/Theme/MessageCenterTheme.swift",
"Source/Theme/MessageCenterThemeLoader.swift",
"Source/ViewModel/MessageCenterListItemViewModel.swift",
"Source/Views/MessageCenter/MessageCenterContent.swift",
"Source/Views/MessageCenter/MessageCenterController.swift",
"Source/Views/MessageCenter/MessageCenterNavigationStack.swift",
"Source/Views/MessageCenter/MessageCenterSplitNavigationView.swift",
"Source/Views/MessageCenter/MessageCenterUIKitAppearance.swift",
"Source/Views/MessageCenter/MessageCenterView.swift",
"Source/Views/MessageCenterViewController.swift",
"Source/Views/MessageList/MessageCenterListItemView.swift",
"Source/Views/MessageList/MessageCenterListView.swift",
"Source/Views/MessageList/MessageCenterListViewModel.swift",
"Source/Views/MessageList/MessageCenterListViewWithNavigation.swift",
"Source/Views/MessageView/MessageCenterMessageError.swift",
"Source/Views/MessageView/MessageCenterMessageView.swift",
"Source/Views/MessageView/MessageCenterMessageViewModel.swift",
"Source/Views/MessageView/MessageCenterMessageViewWithNavigation.swift",
"Source/Views/MessageView/MessageCenterThomasView.swift",
"Source/Views/MessageView/MessageCenterWebView.swift",
"Source/Views/Shared/MessageCenterBackButton.swift",
"Source/Views/StoriesView/MessageCenterStoriesView.swift",
"Source/Views/StoriesView/MessageCenterStoriesViewModel.swift"
],
"target_dependencies" : [
"AirshipCore"
],
"type" : "library"
},
{
"c99name" : "AirshipFeatureFlags",
"module_type" : "SwiftTarget",
"name" : "AirshipFeatureFlags",
"path" : "Airship/AirshipFeatureFlags",
"product_memberships" : [
"AirshipFeatureFlags",
"AirshipObjectiveC",
"AirshipDebug"
],
"sources" : [
"Source/AirshipFeatureFlagsSDKModule.swift",
"Source/DeferredFlagResolver.swift",
"Source/FeatureFlag.swift",
"Source/FeatureFlagAnalytics.swift",
"Source/FeatureFlagComponent.swift",
"Source/FeatureFlagManager.swift",
"Source/FeatureFlagManagerProtocol.swift",
"Source/FeatureFlagPayload.swift",
"Source/FeatureFlagResultCache.swift",
"Source/FeatureFlagUpdateStatus.swift",
"Source/FeatureFlagsRemoteDataAccess.swift"
],
"target_dependencies" : [
"AirshipCore"
],
"type" : "library"
},
{
"c99name" : "AirshipDebug",
"module_type" : "SwiftTarget",
"name" : "AirshipDebug",
"path" : "Airship/AirshipDebug",
"product_memberships" : [
"AirshipDebug"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipDebug/Resources/AirshipDebugEventData.xcdatamodeld",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipDebug/Resources/AirshipDebugPushData.xcdatamodeld",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Source/AirshipDebugManager.swift",
"Source/AirshipDebugResources.swift",
"Source/DebugComponent.swift",
"Source/DebugSDKModule.swift",
"Source/Events/AirshipEvent.swift",
"Source/Events/EventData.swift",
"Source/Events/EventDataManager.swift",
"Source/Push/PushData+CoreDataClass.swift",
"Source/Push/PushData+CoreDataProperties.swift",
"Source/Push/PushDataManager.swift",
"Source/Push/PushNotification.swift",
"Source/ShakeUtils.swift",
"Source/View/AirshipDebugContentView.swift",
"Source/View/AirshipDebugRoute.swift",
"Source/View/AirshipDebugView.swift",
"Source/View/AirshipoDebugTriggers.swift",
"Source/View/Analytics/AirshipDebugAddEventView.swift",
"Source/View/Analytics/AirshipDebugAnalyticIdentifierEditorView.swift",
"Source/View/Analytics/AirshipDebugAnalyticsView.swift",
"Source/View/Analytics/AirshipDebugEventDetailsView.swift",
"Source/View/Analytics/AirshipDebugEventsView.swift",
"Source/View/AppInfo/AirshipDebugAppInfoView.swift",
"Source/View/Automations/AirshipDebugAutomationsView.swift",
"Source/View/Automations/AirshipDebugExperimentsView.swift",
"Source/View/Automations/AirshipDebugInAppExperiencesView.swift",
"Source/View/Channel/AirshipDebugChannelSubscriptionsView.swift",
"Source/View/Channel/AirshipDebugChannelTagView.swift",
"Source/View/Channel/AirshipDebugChannelView.swift",
"Source/View/Common/AirshipDebugAddPropertyView.swift",
"Source/View/Common/AirshipDebugAddStringPropertyView.swift",
"Source/View/Common/AirshipDebugAttributesEditorView.swift",
"Source/View/Common/AirshipDebugAudienceSubject.swift",
"Source/View/Common/AirshipDebugExtensions.swift",
"Source/View/Common/AirshipDebugTagGroupsEditorView.swift",
"Source/View/Common/AirshipJSONDetailsView.swift",
"Source/View/Common/AirshipJSONView.swift",
"Source/View/Common/AirshipToast.swift",
"Source/View/Common/Extensions.swift",
"Source/View/Contact/AirshipDebugAddEmailChannelView.swift",
"Source/View/Contact/AirshipDebugAddOpenChannelView.swift",
"Source/View/Contact/AirshipDebugAddSMSChannelView.swift",
"Source/View/Contact/AirshipDebugContactSubscriptionEditorView.swift",
"Source/View/Contact/AirshipDebugContactView.swift",
"Source/View/Contact/AirshipDebugNamedUserView.swift",
"Source/View/FeatureFlags/AirshipDebugFeatureFlagDetailsView.swift",
"Source/View/FeatureFlags/AirshipDebugFeatureFlagView.swift",
"Source/View/PreferenceCenter/AirshipDebugPreferencCenterItemView.swift",
"Source/View/PreferenceCenter/AirshipDebugPreferenceCenterView.swift",
"Source/View/PrivacyManager/AirshipDebugPrivacyManagerView.swift",
"Source/View/Push/AirshipDebugPushDetailsView.swift",
"Source/View/Push/AirshipDebugPushView.swift",
"Source/View/Push/AirshipDebugReceivedPushView.swift",
"Source/View/TvOSComponents/TVDatePicker.swift",
"Source/View/TvOSComponents/TVSlider.swift"
],
"target_dependencies" : [
"AirshipCore",
"AirshipPreferenceCenter",
"AirshipMessageCenter",
"AirshipAutomation",
"AirshipFeatureFlags"
],
"type" : "library"
},
{
"c99name" : "AirshipCore",
"module_type" : "SwiftTarget",
"name" : "AirshipCore",
"path" : "Airship/AirshipCore",
"product_memberships" : [
"AirshipCore",
"AirshipAutomation",
"AirshipMessageCenter",
"AirshipPreferenceCenter",
"AirshipFeatureFlags",
"AirshipObjectiveC",
"AirshipDebug"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/UAEvents.xcdatamodeld",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/UAMeteredUsage.xcdatamodeld",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/UANativeBridge",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/UANotificationCategories.plist",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/UARemoteData.xcdatamodeld",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/UARemoteDataMappingV1toV4.xcmappingmodel",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/UARemoteDataMappingV2toV4.xcmappingmodel",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/UARemoteDataMappingV3toV4.xcmappingmodel",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/UAirshipCache.xcdatamodeld",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/af.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "af"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/am.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "am"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/ar.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "ar"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/bg.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "bg"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/ca.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "ca"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/cs.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "cs"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/da.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "da"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/de.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "de"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/el.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "el"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/en.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/es-419.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "es-419"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/es.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "es"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/et.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "et"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/fa.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "fa"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/fi.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "fi"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/fr-CA.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "fr-ca"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/fr.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "fr"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/hi.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "hi"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/hr.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "hr"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/hu.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "hu"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/id.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "id"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/it.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "it"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/iw.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "iw"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/ja.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "ja"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/ko.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "ko"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/lt.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "lt"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/lv.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "lv"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/ms.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "ms"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/nl.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "nl"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/no.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "no"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/pl.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "pl"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/pt-PT.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "pt-pt"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/pt.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "pt"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/ro.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "ro"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/ru.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "ru"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/sk.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "sk"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/sl.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "sl"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/sr.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "sr"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/sv.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "sv"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/sw.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "sw"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/th.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "th"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/tr.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "tr"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/uk.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "uk"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/vi.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "vi"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/zh-HK.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "zh-hk"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/zh-Hans.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "zh-hans"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/zh-Hant.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "zh-hant"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipCore/Resources/zu.lproj/UrbanAirship.strings",
"rule" : {
"process" : {
"localization" : "zu"
}
}
}
],
"sources" : [
"Source/APNSEnvironment.swift",
"Source/APNSRegistrar.swift",
"Source/APNSRegistrationResult.swift",
"Source/AccountEventTemplate.swift",
"Source/ActionArguments.swift",
"Source/ActionRegistry.swift",
"Source/ActionResult.swift",
"Source/ActionRunner.swift",
"Source/ActivityViewController.swift",
"Source/AddCustomEventAction.swift",
"Source/AddTagsAction.swift",
"Source/Airship.swift",
"Source/AirshipAction.swift",
"Source/AirshipActorValue.swift",
"Source/AirshipAnalytics.swift",
"Source/AirshipAnalyticsFeed.swift",
"Source/AirshipAppCredentials.swift",
"Source/AirshipApptimizeIntegration.swift",
"Source/AirshipAsyncChannel.swift",
"Source/AirshipAsyncImage.swift",
"Source/AirshipAuthorizedNotificationSettings.swift",
"Source/AirshipBase64.swift",
"Source/AirshipButton.swift",
"Source/AirshipCache.swift",
"Source/AirshipCancellable.swift",
"Source/AirshipChannel.swift",
"Source/AirshipCheckboxToggleStyle.swift",
"Source/AirshipColor.swift",
"Source/AirshipComponent.swift",
"Source/AirshipConfig.swift",
"Source/AirshipContact.swift",
"Source/AirshipCoreDataPredicate.swift",
"Source/AirshipCoreResources.swift",
"Source/AirshipDate.swift",
"Source/AirshipDevice.swift",
"Source/AirshipDeviceAudienceResult.swift",
"Source/AirshipDeviceID.swift",
"Source/AirshipDisplayTarget.swift",
"Source/AirshipEmbeddedInfo.swift",
"Source/AirshipEmbeddedObserver.swift",
"Source/AirshipEmbeddedSize.swift",
"Source/AirshipEmbeddedView.swift",
"Source/AirshipEmbeddedViewManager.swift",
"Source/AirshipErrors.swift",
"Source/AirshipEvent.swift",
"Source/AirshipEventData.swift",
"Source/AirshipEventType.swift",
"Source/AirshipEvents.swift",
"Source/AirshipFont.swift",
"Source/AirshipImageLoader.swift",
"Source/AirshipImageProvider.swift",
"Source/AirshipInputValidator.swift",
"Source/AirshipInstance.swift",
"Source/AirshipIvyVersionMatcher.swift",
"Source/AirshipJSON.swift",
"Source/AirshipKeychainAccess.swift",
"Source/AirshipLayout.swift",
"Source/AirshipLocalizationUtils.swift",
"Source/AirshipLock.swift",
"Source/AirshipMeteredUsage.swift",
"Source/AirshipMeteredUsageEvent.swift",
"Source/AirshipNativePlatform.swift",
"Source/AirshipNetworkChecker.swift",
"Source/AirshipNotificationCenter.swift",
"Source/AirshipNotificationStatus.swift",
"Source/AirshipPasteboard.swift",
"Source/AirshipPrivacyManager.swift",
"Source/AirshipProgressView.swift",
"Source/AirshipPush.swift",
"Source/AirshipPushableComponent.swift",
"Source/AirshipRequest.swift",
"Source/AirshipRequestSession.swift",
"Source/AirshipResources.swift",
"Source/AirshipResponse.swift",
"Source/AirshipSDKExtension.swift",
"Source/AirshipSDKModule.swift",
"Source/AirshipSceneController.swift",
"Source/AirshipSceneManager.swift",
"Source/AirshipSimpleLayoutView.swift",
"Source/AirshipSimpleLayoutViewModel.swift",
"Source/AirshipStateOverrides.swift",
"Source/AirshipSwitchToggleStyle.swift",
"Source/AirshipSwizzler.swift",
"Source/AirshipTaskSleeper.swift",
"Source/AirshipTimeCriteria.swift",
"Source/AirshipTimerProtocol.swift",
"Source/AirshipToggle.swift",
"Source/AirshipUnsafeSendableWrapper.swift",
"Source/AirshipUtils.swift",
"Source/AirshipVersion.swift",
"Source/AirshipViewSizeReader.swift",
"Source/AirshipViewUtils.swift",
"Source/AirshipWeakValueHolder.swift",
"Source/AirshipWebview.swift",
"Source/AirshipWindowFactory.swift",
"Source/AirshipWorkManager.swift",
"Source/AirshipWorkManagerProtocol.swift",
"Source/AirshipWorkRequest.swift",
"Source/AirshipWorkResult.swift",
"Source/AirsihpTriggerContext.swift",
"Source/AnonContactData.swift",
"Source/AppIntegration.swift",
"Source/AppRemoteDataProviderDelegate.swift",
"Source/AppStateTracker.swift",
"Source/AppStateTrackerAdapter.swift",
"Source/ApplicationState.swift",
"Source/ArishipCustomViewManager.swift",
"Source/AssociatedIdentifiers.swift",
"Source/AsyncSerialQueue.swift",
"Source/AsyncStream.swift",
"Source/AsyncViewController.swift",
"Source/Atomic.swift",
"Source/AttributePendingMutations.swift",
"Source/AttributeUpdate.swift",
"Source/Attributes.swift",
"Source/AttributesEditor.swift",
"Source/AudienceDeviceInfoProvider.swift",
"Source/AudienceHashSelector.swift",
"Source/AudienceOverridesProvider.swift",
"Source/AudienceUtils.swift",
"Source/AuthToken.swift",
"Source/AutoIntegration.swift",
"Source/BackgroundColorViewModifier.swift",
"Source/Badger.swift",
"Source/BannerView.swift",
"Source/BaseCachingRemoteDataProvider.swift",
"Source/BasementImport.swift",
"Source/BasicToggleLayout.swift",
"Source/BlockAction.swift",
"Source/BundleExtensions.swift",
"Source/ButtonLayout.swift",
"Source/ButtonState.swift",
"Source/CachedList.swift",
"Source/CachedValue.swift",
"Source/CachingSMSValidatorAPIClient.swift",
"Source/CancellableValueHolder.swift",
"Source/ChallengeResolver.swift",
"Source/ChannelAPIClient.swift",
"Source/ChannelAudienceManager.swift",
"Source/ChannelAuthTokenAPIClient.swift",
"Source/ChannelAuthTokenProvider.swift",
"Source/ChannelBulkUpdateAPIClient.swift",
"Source/ChannelCapture.swift",
"Source/ChannelRegistrar.swift",
"Source/ChannelRegistrationPayload.swift",
"Source/ChannelScope.swift",
"Source/ChannelSubscriptionListProvider.swift",
"Source/ChannelType.swift",
"Source/Checkbox.swift",
"Source/CheckboxController.swift",
"Source/CheckboxState.swift",
"Source/CheckboxToggleLayout.swift",
"Source/CircularRegion.swift",
"Source/CloudSite.swift",
"Source/CompoundDeviceAudienceSelector.swift",
"Source/ContactAPIClient.swift",
"Source/ContactChannel.swift",
"Source/ContactChannelsAPIClient.swift",
"Source/ContactChannelsProvider.swift",
"Source/ContactConflictEvent.swift",
"Source/ContactManager.swift",
"Source/ContactManagerProtocol.swift",
"Source/ContactOperation.swift",
"Source/ContactRemoteDataProviderDelegate.swift",
"Source/ContactSubscriptionListClient.swift",
"Source/Container.swift",
"Source/CustomEvent.swift",
"Source/CustomView.swift",
"Source/DeepLinkAction.swift",
"Source/DeepLinkDelegate.swift",
"Source/DefaultAirshipAnalytics.swift",
"Source/DefaultAirshipChannel.swift",
"Source/DefaultAirshipContact.swift",
"Source/DefaultAirshipPush.swift",
"Source/DefaultAppIntegrationDelegate.swift",
"Source/DeferredAPIClient.swift",
"Source/DeferredResolver.swift",
"Source/DeviceAudienceChecker.swift",
"Source/DeviceAudienceSelector.swift",
"Source/DeviceTagSelector.swift",
"Source/Dispatcher.swift",
"Source/EmailRegistrationOptions.swift",
"Source/EmbeddedView.swift",
"Source/EmbeddedViewSelector.swift",
"Source/EmptyAction.swift",
"Source/EmptyView.swift",
"Source/EnableBehaviorModifiers.swift",
"Source/EnableFeatureAction.swift",
"Source/EnvironmentValues.swift",
"Source/EventAPIClient.swift",
"Source/EventHandlerViewModifier.swift",
"Source/EventManager.swift",
"Source/EventStore.swift",
"Source/EventUploadScheduler.swift",
"Source/EventUploadTuningInfo.swift",
"Source/EventUtils.swift",
"Source/Experiment.swift",
"Source/ExperimentDataProvider.swift",
"Source/ExperimentManager.swift",
"Source/ExternalURLProcessor.swift",
"Source/FarmHashFingerprint64.swift",
"Source/FetchDeviceInfoAction.swift",
"Source/FontViewModifier.swift",
"Source/FormController.swift",
"Source/FormInputViewModifier.swift",
"Source/HashChecker.swift",
"Source/IconView.swift",
"Source/Icons.swift",
"Source/Image.swift",
"Source/ImageButton.swift",
"Source/JSONMatcher.swift",
"Source/JSONPredicate.swift",
"Source/JSONValueMatcher.swift",
"Source/JSONValueMatcherPredicates.swift",
"Source/JSONValueTransformer.swift",
"Source/JavaScriptCommand.swift",
"Source/JavaScriptCommandDelegate.swift",
"Source/JavaScriptEnvironment.swift",
"Source/Label.swift",
"Source/LabelButton.swift",
"Source/LayoutState.swift",
"Source/LinearLayout.swift",
"Source/LiveActivity.swift",
"Source/LiveActivityRegistrationStatus.swift",
"Source/LiveActivityRegistrationStatusUpdates.swift",
"Source/LiveActivityRegistry.swift",
"Source/LiveActivityRestorer.swift",
"Source/LiveActivityUpdate.swift",
"Source/LocaleManager.swift",
"Source/Media.swift",
"Source/MediaEventTemplate.swift",
"Source/MessageCriteria.swift",
"Source/MessageDisplayHistory.swift",
"Source/MeteredUsageAPIClient.swift",
"Source/MeteredUsageStore.swift",
"Source/ModalView.swift",
"Source/ModifyAttributesAction.swift",
"Source/ModifyTagsAction.swift",
"Source/ModuleLoader.swift",
"Source/NativeBridge.swift",
"Source/NativeBridgeActionHandler.swift",
"Source/NativeBridgeActionRunner.swift",
"Source/NativeBridgeDelegate.swift",
"Source/NativeBridgeExtensionDelegate.swift",
"Source/NativeLayoutControlOptions.swift",
"Source/NativeVideoPlayer.swift",
"Source/NotificationCategories.swift",
"Source/NotificationPermissionDelegate.swift",
"Source/NotificationRegistrar.swift",
"Source/NotificationRegistrationResult.swift",
"Source/OpenExternalURLAction.swift",
"Source/OpenRegistrationOptions.swift",
"Source/Pager.swift",
"Source/PagerController.swift",
"Source/PagerGestureMap.swift",
"Source/PagerIndicator.swift",
"Source/PagerState.swift",
"Source/PagerSwipeDirection.swift",
"Source/PagerUtils.swift",
"Source/PasteboardAction.swift",
"Source/Permission.swift",
"Source/PermissionDelegate.swift",
"Source/PermissionPrompter.swift",
"Source/PermissionStatus.swift",
"Source/PermissionsManager.swift",
"Source/PreferenceDataStore.swift",
"Source/PromptPermissionAction.swift",
"Source/ProximityRegion.swift",
"Source/PushNotificationDelegate.swift",
"Source/RadioInput.swift",
"Source/RadioInputController.swift",
"Source/RadioInputState.swift",
"Source/RadioInputToggleLayout.swift",
"Source/RateAppAction.swift",
"Source/RegionEvent.swift",
"Source/RegistrationDelegate.swift",
"Source/RemoteConfig.swift",
"Source/RemoteConfigCache.swift",
"Source/RemoteConfigManager.swift",
"Source/RemoteData.swift",
"Source/RemoteDataAPIClient.swift",
"Source/RemoteDataInfo.swift",
"Source/RemoteDataPayload.swift",
"Source/RemoteDataProtocol.swift",
"Source/RemoteDataProvider.swift",
"Source/RemoteDataProviderDelegate.swift",
"Source/RemoteDataProviderProtocol.swift",
"Source/RemoteDataSource.swift",
"Source/RemoteDataSourceStatus.swift",
"Source/RemoteDataStore.swift",
"Source/RemoteDataStorePayload.swift",
"Source/RemoteDataURLFactory.swift",
"Source/RemoveTagsAction.swift",
"Source/RetailEventTemplate.swift",
"Source/RootView.swift",
"Source/RuntimeConfig.swift",
"Source/SMSRegistrationOptions.swift",
"Source/SMSValidatorAPIClient.swift",
"Source/ScopedSubscriptionListEdit.swift",
"Source/ScopedSubscriptionListEditor.swift",
"Source/ScopedSubscriptionListUpdate.swift",
"Source/Score.swift",
"Source/ScoreController.swift",
"Source/ScoreState.swift",
"Source/ScoreToggleLayout.swift",
"Source/ScrollLayout.swift",
"Source/SearchEventTemplate.swift",
"Source/SerialQueue.swift",
"Source/SessionEvent.swift",
"Source/SessionEventFactory.swift",
"Source/SessionState.swift",
"Source/SessionTracker.swift",
"Source/Shapes.swift",
"Source/ShareAction.swift",
"Source/SmsLocalePicker.swift",
"Source/StackImageButton.swift",
"Source/StateController.swift",
"Source/StateSubscriptionsModifier.swift",
"Source/StoryIndicator.swift",
"Source/SubjectExtension.swift",
"Source/SubscriptionListAPIClient.swift",
"Source/SubscriptionListAction.swift",
"Source/SubscriptionListEdit.swift",
"Source/SubscriptionListEditor.swift",
"Source/SubscriptionListProvider.swift",
"Source/SubscriptionListUpdate.swift",
"Source/TagActionMutation.swift",
"Source/TagEditor.swift",
"Source/TagGroupMutations.swift",
"Source/TagGroupUpdate.swift",
"Source/TagGroupsEditor.swift",
"Source/TagsActionArgs.swift",
"Source/TextInput.swift",
"Source/Thomas.swift",
"Source/ThomasAccessibilityAction.swift",
"Source/ThomasAccessibleInfo.swift",
"Source/ThomasActionsPayload.swift",
"Source/ThomasAssociatedLabelResolver.swift",
"Source/ThomasAsyncImage.swift",
"Source/ThomasAsyncViewState.swift",
"Source/ThomasAttributeName.swift",
"Source/ThomasAttributeValue.swift",
"Source/ThomasAutomatedAccessibilityAction.swift",
"Source/ThomasAutomatedAction.swift",
"Source/ThomasBorder.swift",
"Source/ThomasButtonClickBehavior.swift",
"Source/ThomasButtonTapEffect.swift",
"Source/ThomasColor.swift",
"Source/ThomasConstants.swift",
"Source/ThomasConstrainedSize.swift",
"Source/ThomasDelegate.swift",
"Source/ThomasDirection.swift",
"Source/ThomasDisplayListener.swift",
"Source/ThomasEmailRegistrationOptions.swift",
"Source/ThomasEnableBehavior.swift",
"Source/ThomasEnvironment.swift",
"Source/ThomasEvent.swift",
"Source/ThomasEventHandler.swift",
"Source/ThomasFormDataCollector.swift",
"Source/ThomasFormField.swift",
"Source/ThomasFormFieldProcessor.swift",
"Source/ThomasFormPayloadGenerator.swift",
"Source/ThomasFormResult.swift",
"Source/ThomasFormState.swift",
"Source/ThomasFormStatus.swift",
"Source/ThomasFormSubmitBehavior.swift",
"Source/ThomasFormValidationMode.swift",
"Source/ThomasIcon.swift",
"Source/ThomasLayoutButtonTapEvent.swift",
"Source/ThomasLayoutContext.swift",
"Source/ThomasLayoutDisplayEvent.swift",
"Source/ThomasLayoutEvent.swift",
"Source/ThomasLayoutEventContext.swift",
"Source/ThomasLayoutEventMessageID.swift",
"Source/ThomasLayoutEventRecorder.swift",
"Source/ThomasLayoutEventSource.swift",
"Source/ThomasLayoutFormDisplayEvent.swift",
"Source/ThomasLayoutFormResultEvent.swift",
"Source/ThomasLayoutGestureEvent.swift",
"Source/ThomasLayoutPageActionEvent.swift",
"Source/ThomasLayoutPageSwipeEvent.swift",
"Source/ThomasLayoutPageViewEvent.swift",
"Source/ThomasLayoutPagerCompletedEvent.swift",
"Source/ThomasLayoutPagerSummaryEvent.swift",
"Source/ThomasLayoutPermissionResultEvent.swift",
"Source/ThomasLayoutResolutionEvent.swift",
"Source/ThomasMargin.swift",
"Source/ThomasMarkdownOptions.swift",
"Source/ThomasMediaFit.swift",
"Source/ThomasOrientation.swift",
"Source/ThomasOutcome.swift",
"Source/ThomasOutcomeProcessor.swift",
"Source/ThomasPagerControllerBranching.swift",
"Source/ThomasPagerTracker.swift",
"Source/ThomasPlatform.swift",
"Source/ThomasPosition.swift",
"Source/ThomasPresentationInfo.swift",
"Source/ThomasPropertyOverride.swift",
"Source/ThomasSerializable.swift",
"Source/ThomasShadow.swift",
"Source/ThomasShapeInfo.swift",
"Source/ThomasSize.swift",
"Source/ThomasSizeConstraint.swift",
"Source/ThomasSmsLocale.swift",
"Source/ThomasState.swift",
"Source/ThomasStateAction.swift",
"Source/ThomasStateStorage.swift",
"Source/ThomasStateTrigger.swift",
"Source/ThomasTextAppearance.swift",
"Source/ThomasToggleStyleInfo.swift",
"Source/ThomasValidationInfo.swift",
"Source/ThomasViewController.swift",
"Source/ThomasViewInfo.swift",
"Source/ThomasViewedPageInfo.swift",
"Source/ThomasVisibilityInfo.swift",
"Source/ThomasWindowSize.swift",
"Source/ToggleLayout.swift",
"Source/TouchViewModifier.swift",
"Source/UAAppIntegrationDelegate.swift",
"Source/UACoreData.swift",
"Source/UARemoteDataMapping.swift",
"Source/UNNotificationRegistrar.swift",
"Source/URLAllowList.swift",
"Source/UrlInfo.swift",
"Source/ValidatableHelper.swift",
"Source/VideoController.swift",
"Source/VideoGroupState.swift",
"Source/VideoMediaNativeView.swift",
"Source/VideoMediaWebView.swift",
"Source/VideoState.swift",
"Source/ViewConstraints.swift",
"Source/ViewExtensions.swift",
"Source/ViewFactory.swift",
"Source/VisibilityViewModifier.swift",
"Source/WorkBackgroundTasks.swift",
"Source/WorkConditionsMonitor.swift",
"Source/WorkRateLimiterActor.swift",
"Source/Worker.swift",
"Source/WrappingLayout.swift"
],
"target_dependencies" : [
"AirshipBasement"
],
"type" : "library"
},
{
"c99name" : "AirshipBasement",
"module_type" : "SwiftTarget",
"name" : "AirshipBasement",
"path" : "Airship/AirshipBasement",
"product_memberships" : [
"AirshipCore",
"AirshipAutomation",
"AirshipMessageCenter",
"AirshipPreferenceCenter",
"AirshipFeatureFlags",
"AirshipObjectiveC",
"AirshipDebug"
],
"sources" : [
"Source/AirshipLogHandler.swift",
"Source/AirshipLogPrivacyLevel.swift",
"Source/AirshipLogger.swift",
"Source/DefaultLogHandler.swift",
"Source/LogLevel.swift",
"Source/Utils/AirshipDateFormatter.swift"
],
"type" : "library"
},
{
"c99name" : "AirshipAutomation",
"module_type" : "SwiftTarget",
"name" : "AirshipAutomation",
"path" : "Airship/AirshipAutomation",
"product_memberships" : [
"AirshipAutomation",
"AirshipObjectiveC",
"AirshipDebug"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipAutomation/Resources/AirshipAutomation.xcdatamodeld",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipAutomation/Resources/UAAutomation.xcdatamodeld",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Airship/AirshipAutomation/Resources/UAFrequencyLimits.xcdatamodeld",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Source/ActionAutomation/ActionAutomationExecutor.swift",
"Source/ActionAutomation/ActionAutomationPreparer.swift",
"Source/Actions/CancelSchedulesAction.swift",
"Source/Actions/LandingPageAction.swift",
"Source/Actions/SceneAction.swift",
"Source/Actions/ScheduleAction.swift",
"Source/AirshipAutomationResources.swift",
"Source/AudienceCheck/AdditionalAudienceCheckerApiClient.swift",
"Source/AudienceCheck/AdditionalAudienceCheckerResolver.swift",
"Source/Automation/ApplicationMetrics.swift",
"Source/Automation/AutomationAudience.swift",
"Source/Automation/AutomationCompoundAudience.swift",
"Source/Automation/AutomationDelay.swift",
"Source/Automation/AutomationSchedule.swift",
"Source/Automation/AutomationTrigger.swift",
"Source/Automation/DeferredAutomationData.swift",
"Source/Automation/Engine/AutomationDelayProcessor.swift",
"Source/Automation/Engine/AutomationEngine.swift",
"Source/Automation/Engine/AutomationEventFeed.swift",
"Source/Automation/Engine/AutomationEventsHistory.swift",
"Source/Automation/Engine/AutomationExecutor.swift",
"Source/Automation/Engine/AutomationPreparer.swift",
"Source/Automation/Engine/AutomationScheduleData.swift",
"Source/Automation/Engine/AutomationScheduleState.swift",
"Source/Automation/Engine/AutomationStore.swift",
"Source/Automation/Engine/ExecutionWindowProcessor.swift",
"Source/Automation/Engine/LegacyAutomationStore.swift",
"Source/Automation/Engine/PreparedSchedule.swift",
"Source/Automation/Engine/ScheduleExecuteResult.swift",
"Source/Automation/Engine/SchedulePrepareResult.swift",
"Source/Automation/Engine/ScheduleReadyResult.swift",
"Source/Automation/Engine/TriggerProcessor/AutomationTriggerProcessor.swift",
"Source/Automation/Engine/TriggerProcessor/PreparedTrigger.swift",
"Source/Automation/Engine/TriggerProcessor/TriggerData.swift",
"Source/Automation/Engine/TriggeringInfo.swift",
"Source/Automation/ExecutionWindow.swift",
"Source/AutomationSDKModule.swift",
"Source/InAppAutomation.swift",
"Source/InAppAutomationComponent.swift",
"Source/InAppAutomationUpdateStatus.swift",
"Source/InAppMessage/Analytics/InAppDisplayImpressionRuleProvider.swift",
"Source/InAppMessage/Analytics/InAppMessageAnalytics.swift",
"Source/InAppMessage/Analytics/InAppMessageAnalyticsFactory.swift",
"Source/InAppMessage/Assets/AirshipCachedAssets.swift",
"Source/InAppMessage/Assets/AssetCacheManager.swift",
"Source/InAppMessage/Assets/DefaultAssetDownloader.swift",
"Source/InAppMessage/Assets/DefaultAssetFileManager.swift",
"Source/InAppMessage/Display Adapter/AirshipLayoutDisplayAdapter.swift",
"Source/InAppMessage/Display Adapter/CustomDisplayAdapter.swift",
"Source/InAppMessage/Display Adapter/CustomDisplayAdapterWrapper.swift",
"Source/InAppMessage/Display Adapter/DisplayAdapter.swift",
"Source/InAppMessage/Display Adapter/DisplayAdapterFactory.swift",
"Source/InAppMessage/Display Adapter/InAppMessageDisplayListener.swift",
"Source/InAppMessage/Display Coordinators/DefaultDisplayCoordinator.swift",
"Source/InAppMessage/Display Coordinators/DisplayCoordinator.swift",
"Source/InAppMessage/Display Coordinators/DisplayCoordinatorManager.swift",
"Source/InAppMessage/Display Coordinators/ImmediateDisplayCoordinator.swift",
"Source/InAppMessage/InAppActionRunner.swift",
"Source/InAppMessage/InAppMessage.swift",
"Source/InAppMessage/InAppMessageAutomationExecutor.swift",
"Source/InAppMessage/InAppMessageAutomationPreparer.swift",
"Source/InAppMessage/InAppMessageColor.swift",
"Source/InAppMessage/InAppMessageDisplayContent.swift",
"Source/InAppMessage/InAppMessageDisplayDelegate.swift",
"Source/InAppMessage/InAppMessageEnvironment.swift",
"Source/InAppMessage/InAppMessageSceneDelegate.swift",
"Source/InAppMessage/InAppMessageSceneManager.swift",
"Source/InAppMessage/InAppMessageValidation.swift",
"Source/InAppMessage/InAppMessageViewDelegate.swift",
"Source/InAppMessage/InAppMessaging.swift",
"Source/InAppMessage/Info/InAppMessageButtonInfo.swift",
"Source/InAppMessage/Info/InAppMessageButtonLayoutType.swift",
"Source/InAppMessage/Info/InAppMessageMediaInfo.swift",
"Source/InAppMessage/Info/InAppMessageTextInfo.swift",
"Source/InAppMessage/Legacy/LegacyInAppAnalytics.swift",
"Source/InAppMessage/Legacy/LegacyInAppMessage.swift",
"Source/InAppMessage/Legacy/LegacyInAppMessaging.swift",
"Source/InAppMessage/View/BeveledLoadingView.swift",
"Source/InAppMessage/View/ButtonGroup.swift",
"Source/InAppMessage/View/CloseButton.swift",
"Source/InAppMessage/View/FullscreenView.swift",
"Source/InAppMessage/View/HTMLView.swift",
"Source/InAppMessage/View/InAppMessageBannerView.swift",
"Source/InAppMessage/View/InAppMessageExtensions.swift",
"Source/InAppMessage/View/InAppMessageHostingController.swift",
"Source/InAppMessage/View/InAppMessageModalView.swift",
"Source/InAppMessage/View/InAppMessageNativeBridgeExtension.swift",
"Source/InAppMessage/View/InAppMessageRootView.swift",
"Source/InAppMessage/View/InAppMessageViewUtils.swift",
"Source/InAppMessage/View/InAppMessageWebView.swift",
"Source/InAppMessage/View/MediaView.swift",
"Source/InAppMessage/View/TextView.swift",
"Source/InAppMessage/View/Theme/InAppMessageTheme.swift",
"Source/InAppMessage/View/Theme/InAppMessageThemeAdditionalPadding.swift",
"Source/InAppMessage/View/Theme/InAppMessageThemeBanner.swift",
"Source/InAppMessage/View/Theme/InAppMessageThemeButton.swift",
"Source/InAppMessage/View/Theme/InAppMessageThemeFullscreen.swift",
"Source/InAppMessage/View/Theme/InAppMessageThemeHTML.swift",
"Source/InAppMessage/View/Theme/InAppMessageThemeManager.swift",
"Source/InAppMessage/View/Theme/InAppMessageThemeMedia.swift",
"Source/InAppMessage/View/Theme/InAppMessageThemeModal.swift",
"Source/InAppMessage/View/Theme/InAppMessageThemeShadow.swift",
"Source/InAppMessage/View/Theme/InAppMessageThemeText.swift",
"Source/InAppMessage/View/Theme/ThemeExtensions.swift",
"Source/Limits/FrequencyChecker.swift",
"Source/Limits/FrequencyConstraint.swift",
"Source/Limits/FrequencyLimitManager.swift",
"Source/Limits/FrequencyLimitStore.swift",
"Source/Limits/Occurrence.swift",
"Source/RemoteData/AutomationRemoteDataAccess.swift",
"Source/RemoteData/AutomationRemoteDataSubscriber.swift",
"Source/RemoteData/AutomationSourceInfoStore.swift",
"Source/RemoteData/DeferredScheduleResult.swift",
"Source/Utils/ActiveTimer.swift",
"Source/Utils/AirshipAsyncSemaphore.swift",
"Source/Utils/AutomationActionRunner.swift",
"Source/Utils/RetryingQueue.swift",
"Source/Utils/ScheduleConditionsChangedNotifier.swift"
],
"target_dependencies" : [
"AirshipCore"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/82] Write sources
[0/82] Copying Info.plist
[0/82] Write sources
[0/82] Copying UANativeBridge
[0/82] Copying Info.plist
[0/82] Copying UrbanAirship.strings
[0/82] Copying UANotificationCategories.plist
[0/82] Copying UrbanAirship.strings
[48/82] Copying PrivacyInfo.xcprivacy
[48/82] Copying UrbanAirship.strings
[48/82] Write sources
[59/82] Copying Info.plist
[61/82] Write sources
[64/82] Copying UAInboxDataMappingV3toV4.xcmappingmodel
[64/82] Copying UAInboxDataMappingV2toV4.xcmappingmodel
[66/82] Copying UARemoteDataMappingV1toV4.xcmappingmodel
[67/82] Copying UAInboxDataMappingV1toV4.xcmappingmodel
[68/82] Copying UARemoteDataMappingV3toV4.xcmappingmodel
[69/82] Copying UARemoteDataMappingV2toV4.xcmappingmodel
[69/82] Copying AirshipDebugPushData.xcdatamodeld
[71/82] Copying TestAssets.xcassets
[71/82] Copying UAirshipCache.xcdatamodeld
[73/82] Copying UAMeteredUsage.xcdatamodeld
[74/82] Copying UAEvents.xcdatamodeld
[75/82] Copying AirshipDebugEventData.xcdatamodeld
[76/82] Copying UAFrequencyLimits.xcdatamodeld
[77/82] Copying UAInbox.xcdatamodeld
[78/82] Copying UARemoteData.xcdatamodeld
[79/82] Copying AirshipAutomation.xcdatamodeld
[80/82] Copying UAAutomation.xcdatamodeld
[81/82] Write swift-version-2F0A5646E1D333AE.txt
[83/96] Compiling AirshipBasement AirshipDateFormatter.swift
[84/96] Compiling AirshipBasement LogLevel.swift
[85/96] Compiling AirshipBasement DefaultLogHandler.swift
/Users/admin/builder/spi-builder-workspace/Airship/AirshipBasement/Source/DefaultLogHandler.swift:15:32: error: 'Logger' is only available in macOS 11.0 or newer
6 | /// Default log handler. Logs to either os.Logger or just prints depending on OS version.
7 | @_spi(AirshipInternal)
8 | public final class DefaultLogHandler: AirshipLogHandler {
| `- note: add @available attribute to enclosing class
9 | private let privacyLevel: AirshipLogPrivacyLevel
10 |
:
13 | }
14 |
15 | private static let logger: Logger = Logger(
| | `- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing static property
16 | subsystem: Bundle.main.bundleIdentifier ?? "",
17 | category: "Airship"
/Users/admin/builder/spi-builder-workspace/Airship/AirshipBasement/Source/DefaultLogHandler.swift:15:41: error: 'Logger' is only available in macOS 11.0 or newer
6 | /// Default log handler. Logs to either os.Logger or just prints depending on OS version.
7 | @_spi(AirshipInternal)
8 | public final class DefaultLogHandler: AirshipLogHandler {
| `- note: add @available attribute to enclosing class
9 | private let privacyLevel: AirshipLogPrivacyLevel
10 |
:
13 | }
14 |
15 | private static let logger: Logger = Logger(
| | `- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing static property
16 | subsystem: Bundle.main.bundleIdentifier ?? "",
17 | category: "Airship"
/Users/admin/builder/spi-builder-workspace/Airship/AirshipBasement/Source/DefaultLogHandler.swift:32:17: error: 'OSLogMessage' is only available in macOS 11.0 or newer
6 | /// Default log handler. Logs to either os.Logger or just prints depending on OS version.
7 | @_spi(AirshipInternal)
8 | public final class DefaultLogHandler: AirshipLogHandler {
| `- note: add @available attribute to enclosing class
9 | private let privacyLevel: AirshipLogPrivacyLevel
10 |
:
18 | )
19 |
20 | public func log(
| `- note: add @available attribute to enclosing instance method
21 | logLevel: AirshipLogLevel,
22 | message: String,
:
30 | DefaultLogHandler.logger.log(
31 | level: logLevel.logType,
32 | "\(logMessage, privacy: .private)"
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
33 | )
34 | case .public:
/Users/admin/builder/spi-builder-workspace/Airship/AirshipBasement/Source/DefaultLogHandler.swift:32:19: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
6 | /// Default log handler. Logs to either os.Logger or just prints depending on OS version.
7 | @_spi(AirshipInternal)
8 | public final class DefaultLogHandler: AirshipLogHandler {
| `- note: add @available attribute to enclosing class
9 | private let privacyLevel: AirshipLogPrivacyLevel
10 |
:
18 | )
19 |
20 | public func log(
| `- note: add @available attribute to enclosing instance method
21 | logLevel: AirshipLogLevel,
22 | message: String,
:
30 | DefaultLogHandler.logger.log(
31 | level: logLevel.logType,
32 | "\(logMessage, privacy: .private)"
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
33 | )
34 | case .public:
/Users/admin/builder/spi-builder-workspace/Airship/AirshipBasement/Source/DefaultLogHandler.swift:36:17: error: 'OSLogMessage' is only available in macOS 11.0 or newer
6 | /// Default log handler. Logs to either os.Logger or just prints depending on OS version.
7 | @_spi(AirshipInternal)
8 | public final class DefaultLogHandler: AirshipLogHandler {
| `- note: add @available attribute to enclosing class
9 | private let privacyLevel: AirshipLogPrivacyLevel
10 |
:
18 | )
19 |
20 | public func log(
| `- note: add @available attribute to enclosing instance method
21 | logLevel: AirshipLogLevel,
22 | message: String,
:
34 | case .public:
35 | DefaultLogHandler.logger.notice(
36 | "\(logMessage, privacy: .public)"
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
37 | )
38 | }
/Users/admin/builder/spi-builder-workspace/Airship/AirshipBasement/Source/DefaultLogHandler.swift:36:19: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
6 | /// Default log handler. Logs to either os.Logger or just prints depending on OS version.
7 | @_spi(AirshipInternal)
8 | public final class DefaultLogHandler: AirshipLogHandler {
| `- note: add @available attribute to enclosing class
9 | private let privacyLevel: AirshipLogPrivacyLevel
10 |
:
18 | )
19 |
20 | public func log(
| `- note: add @available attribute to enclosing instance method
21 | logLevel: AirshipLogLevel,
22 | message: String,
:
34 | case .public:
35 | DefaultLogHandler.logger.notice(
36 | "\(logMessage, privacy: .public)"
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
37 | )
38 | }
[86/96] Compiling AirshipNotificationServiceExtension UANotificationServiceExtension.swift
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:15:20: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
8 | #if !os(tvOS)
9 | @objc
10 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
11 | open var airshipConfig: AirshipExtensionConfig { .init() }
12 | private var onExpire: (@Sendable () -> Void)?
13 |
14 | open override func didReceive(
| `- note: add @available attribute to enclosing instance method
15 | _ request: UNNotificationRequest,
| `- error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
16 | withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
17 | ) {
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:16:65: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
8 | #if !os(tvOS)
9 | @objc
10 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
11 | open var airshipConfig: AirshipExtensionConfig { .init() }
12 | private var onExpire: (@Sendable () -> Void)?
13 |
14 | open override func didReceive(
| `- note: add @available attribute to enclosing instance method
15 | _ request: UNNotificationRequest,
16 | withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
| `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
17 | ) {
18 |
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:10:44: error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
8 | #if !os(tvOS)
9 | @objc
10 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
| | `- error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing class
11 | open var airshipConfig: AirshipExtensionConfig { .init() }
12 | private var onExpire: (@Sendable () -> Void)?
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:85:11: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
83 | }
84 |
85 | extension UNNotificationRequest {
| | `- error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing extension
86 | fileprivate static let airshipMediaAttachment = "com.urbanairship.media_attachment"
87 |
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:25:28: error: 'Task' is only available in macOS 10.15 or newer
8 | #if !os(tvOS)
9 | @objc
10 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
11 | open var airshipConfig: AirshipExtensionConfig { .init() }
12 | private var onExpire: (@Sendable () -> Void)?
13 |
14 | open override func didReceive(
| `- note: add @available attribute to enclosing instance method
15 | _ request: UNNotificationRequest,
16 | withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
:
23 | )
24 |
25 | let downloadTask = Task { @MainActor in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | logger.debug(
27 | "New request received: \(request)"
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:25:28: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
8 | #if !os(tvOS)
9 | @objc
10 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
11 | open var airshipConfig: AirshipExtensionConfig { .init() }
12 | private var onExpire: (@Sendable () -> Void)?
13 |
14 | open override func didReceive(
| `- note: add @available attribute to enclosing instance method
15 | _ request: UNNotificationRequest,
16 | withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
:
23 | )
24 |
25 | let downloadTask = Task { @MainActor in
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | logger.debug(
27 | "New request received: \(request)"
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:30:74: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
8 | #if !os(tvOS)
9 | @objc
10 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
11 | open var airshipConfig: AirshipExtensionConfig { .init() }
12 | private var onExpire: (@Sendable () -> Void)?
13 |
14 | open override func didReceive(
| `- note: add @available attribute to enclosing instance method
15 | _ request: UNNotificationRequest,
16 | withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
:
28 | )
29 |
30 | guard let mutableContent = request.content.mutableCopy() as? UNMutableNotificationContent else {
| |- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
31 | logger.error(
32 | "Unable to make mutable copy of request"
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:34:21: error: 'Task' is only available in macOS 10.15 or newer
8 | #if !os(tvOS)
9 | @objc
10 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
11 | open var airshipConfig: AirshipExtensionConfig { .init() }
12 | private var onExpire: (@Sendable () -> Void)?
13 |
14 | open override func didReceive(
| `- note: add @available attribute to enclosing instance method
15 | _ request: UNNotificationRequest,
16 | withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
:
32 | "Unable to make mutable copy of request"
33 | )
34 | try Task.checkCancellation()
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
35 | contentHandler(request.content)
36 | return
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:34:26: error: 'checkCancellation()' is only available in macOS 10.15 or newer
8 | #if !os(tvOS)
9 | @objc
10 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
11 | open var airshipConfig: AirshipExtensionConfig { .init() }
12 | private var onExpire: (@Sendable () -> Void)?
13 |
14 | open override func didReceive(
| `- note: add @available attribute to enclosing instance method
15 | _ request: UNNotificationRequest,
16 | withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
:
32 | "Unable to make mutable copy of request"
33 | )
34 | try Task.checkCancellation()
| |- error: 'checkCancellation()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
35 | contentHandler(request.content)
36 | return
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:45:25: error: 'Task' is only available in macOS 10.15 or newer
8 | #if !os(tvOS)
9 | @objc
10 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
11 | open var airshipConfig: AirshipExtensionConfig { .init() }
12 | private var onExpire: (@Sendable () -> Void)?
13 |
14 | open override func didReceive(
| `- note: add @available attribute to enclosing instance method
15 | _ request: UNNotificationRequest,
16 | withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
:
43 | "Finishing request, no Airship args: \(request.identifier)"
44 | )
45 | try Task.checkCancellation()
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | contentHandler(request.content)
47 | return
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:45:30: error: 'checkCancellation()' is only available in macOS 10.15 or newer
8 | #if !os(tvOS)
9 | @objc
10 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
11 | open var airshipConfig: AirshipExtensionConfig { .init() }
12 | private var onExpire: (@Sendable () -> Void)?
13 |
14 | open override func didReceive(
| `- note: add @available attribute to enclosing instance method
15 | _ request: UNNotificationRequest,
16 | withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
:
43 | "Finishing request, no Airship args: \(request.identifier)"
44 | )
45 | try Task.checkCancellation()
| |- error: 'checkCancellation()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | contentHandler(request.content)
47 | return
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:63:17: error: 'Task' is only available in macOS 10.15 or newer
8 | #if !os(tvOS)
9 | @objc
10 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
11 | open var airshipConfig: AirshipExtensionConfig { .init() }
12 | private var onExpire: (@Sendable () -> Void)?
13 |
14 | open override func didReceive(
| `- note: add @available attribute to enclosing instance method
15 | _ request: UNNotificationRequest,
16 | withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
:
61 | }
62 |
63 | try Task.checkCancellation()
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 |
65 | logger.info(
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:63:22: error: 'checkCancellation()' is only available in macOS 10.15 or newer
8 | #if !os(tvOS)
9 | @objc
10 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
11 | open var airshipConfig: AirshipExtensionConfig { .init() }
12 | private var onExpire: (@Sendable () -> Void)?
13 |
14 | open override func didReceive(
| `- note: add @available attribute to enclosing instance method
15 | _ request: UNNotificationRequest,
16 | withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
:
61 | }
62 |
63 | try Task.checkCancellation()
| |- error: 'checkCancellation()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 |
65 | logger.info(
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:75:26: error: 'cancel()' is only available in macOS 10.15 or newer
8 | #if !os(tvOS)
9 | @objc
10 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
11 | open var airshipConfig: AirshipExtensionConfig { .init() }
12 | private var onExpire: (@Sendable () -> Void)?
13 |
14 | open override func didReceive(
| `- note: add @available attribute to enclosing instance method
15 | _ request: UNNotificationRequest,
16 | withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
:
73 | "serviceExtensionTimeWillExpire expiring, canceling airshipTask"
74 | )
75 | downloadTask.cancel()
| |- error: 'cancel()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
76 | contentHandler(request.content)
77 | }
[87/96] Compiling AirshipBasement AirshipLogHandler.swift
[88/96] Compiling AirshipBasement AirshipLogger.swift
[89/96] Compiling AirshipNotificationServiceExtension ChallengeResolver.swift
[90/96] Compiling AirshipNotificationServiceExtension AirshipNotificationMutationProvider.swift
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:198:40: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
190 | }
191 |
192 | struct AirshipNotificationMutations: Sendable {
| `- note: add @available attribute to enclosing struct
193 | var title: String?
194 | var subtitle: String?
:
196 | var attachments: [AirshipAttachment]
197 |
198 | func apply(to notificationContent: UNMutableNotificationContent) throws {
| | `- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing instance method
199 | try attachments
200 | .map { try $0.notificationAttachment }
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:225:33: error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
218 |
219 |
220 | struct AirshipAttachment: Sendable {
| `- note: add @available attribute to enclosing struct
221 | var identifier: String
222 | var url: URL
223 | var options: [String : any Sendable]
224 |
225 | var notificationAttachment: UNNotificationAttachment {
| | `- error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing property
226 | get throws {
227 | try UNNotificationAttachment(
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:16:37: error: 'withThrowingTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
13 | }
14 |
15 | func mutations(for args: MediaAttachmentPayload) async throws -> AirshipNotificationMutations? {
| `- note: add @available attribute to enclosing instance method
16 | let attachments = try await withThrowingTaskGroup(of: AirshipAttachment?.self) { [weak self, args] group in
| |- error: 'withThrowingTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | try Task.checkCancellation()
18 |
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:17:17: error: 'Task' is only available in macOS 10.15 or newer
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
13 | }
14 |
15 | func mutations(for args: MediaAttachmentPayload) async throws -> AirshipNotificationMutations? {
| `- note: add @available attribute to enclosing instance method
16 | let attachments = try await withThrowingTaskGroup(of: AirshipAttachment?.self) { [weak self, args] group in
17 | try Task.checkCancellation()
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 |
19 | var attachments: [AirshipAttachment] = []
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:17:22: error: 'checkCancellation()' is only available in macOS 10.15 or newer
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
13 | }
14 |
15 | func mutations(for args: MediaAttachmentPayload) async throws -> AirshipNotificationMutations? {
| `- note: add @available attribute to enclosing instance method
16 | let attachments = try await withThrowingTaskGroup(of: AirshipAttachment?.self) { [weak self, args] group in
17 | try Task.checkCancellation()
| |- error: 'checkCancellation()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 |
19 | var attachments: [AirshipAttachment] = []
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:23:25: error: 'Task' is only available in macOS 10.15 or newer
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
13 | }
14 |
15 | func mutations(for args: MediaAttachmentPayload) async throws -> AirshipNotificationMutations? {
| `- note: add @available attribute to enclosing instance method
16 | let attachments = try await withThrowingTaskGroup(of: AirshipAttachment?.self) { [weak self, args] group in
17 | try Task.checkCancellation()
:
21 | args.media.forEach { media in
22 | group.addTask { [weak self] in
23 | try Task.checkCancellation()
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | return try await self?.load(
25 | attachment: media,
<unknown>:0: error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:23:30: error: 'checkCancellation()' is only available in macOS 10.15 or newer
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
13 | }
14 |
15 | func mutations(for args: MediaAttachmentPayload) async throws -> AirshipNotificationMutations? {
| `- note: add @available attribute to enclosing instance method
16 | let attachments = try await withThrowingTaskGroup(of: AirshipAttachment?.self) { [weak self, args] group in
17 | try Task.checkCancellation()
:
21 | args.media.forEach { media in
22 | group.addTask { [weak self] in
23 | try Task.checkCancellation()
| |- error: 'checkCancellation()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | return try await self?.load(
25 | attachment: media,
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:33:21: error: 'Task' is only available in macOS 10.15 or newer
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
13 | }
14 |
15 | func mutations(for args: MediaAttachmentPayload) async throws -> AirshipNotificationMutations? {
| `- note: add @available attribute to enclosing instance method
16 | let attachments = try await withThrowingTaskGroup(of: AirshipAttachment?.self) { [weak self, args] group in
17 | try Task.checkCancellation()
:
31 |
32 | for try await result in group {
33 | try Task.checkCancellation()
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 |
35 | if let result = result {
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:33:26: error: 'checkCancellation()' is only available in macOS 10.15 or newer
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
13 | }
14 |
15 | func mutations(for args: MediaAttachmentPayload) async throws -> AirshipNotificationMutations? {
| `- note: add @available attribute to enclosing instance method
16 | let attachments = try await withThrowingTaskGroup(of: AirshipAttachment?.self) { [weak self, args] group in
17 | try Task.checkCancellation()
:
31 |
32 | for try await result in group {
33 | try Task.checkCancellation()
| |- error: 'checkCancellation()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 |
35 | if let result = result {
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:16:59: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:16:58: note: expanded code originates here
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
13 | }
14 |
15 | func mutations(for args: MediaAttachmentPayload) async throws -> AirshipNotificationMutations? {
| `- note: add @available attribute to enclosing instance method
16 | let attachments = try await withThrowingTaskGroup(of: AirshipAttachment?.self) { [weak self, args] group in
+--- /Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift
|14 |
|15 |
|16 | #isolation
| | `- error: 'isolation()' is only available in macOS 10.15 or newer
+------------------------------------------------------------------------------------------------------------------------------------------------------
17 | try Task.checkCancellation()
18 |
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:57:13: error: 'Task' is only available in macOS 10.15 or newer
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
49 | }
50 |
51 | private func load(
| `- note: add @available attribute to enclosing instance method
52 | attachment: MediaAttachmentPayload.ContentMedia,
53 | defaultOptions: MediaAttachmentPayload.PayloadOptions,
:
55 | ) async throws -> AirshipAttachment {
56 |
57 | try Task.checkCancellation()
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
58 |
59 | logger.debug("Downloading attachment \(attachment.url)")
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:57:18: error: 'checkCancellation()' is only available in macOS 10.15 or newer
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
49 | }
50 |
51 | private func load(
| `- note: add @available attribute to enclosing instance method
52 | attachment: MediaAttachmentPayload.ContentMedia,
53 | defaultOptions: MediaAttachmentPayload.PayloadOptions,
:
55 | ) async throws -> AirshipAttachment {
56 |
57 | try Task.checkCancellation()
| |- error: 'checkCancellation()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
58 |
59 | logger.debug("Downloading attachment \(attachment.url)")
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:65:13: error: 'Task' is only available in macOS 10.15 or newer
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
49 | }
50 |
51 | private func load(
| `- note: add @available attribute to enclosing instance method
52 | attachment: MediaAttachmentPayload.ContentMedia,
53 | defaultOptions: MediaAttachmentPayload.PayloadOptions,
:
63 | logger.debug("Downloading attachment result: \(response)")
64 |
65 | try Task.checkCancellation()
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 |
67 | var mimeType = response.mimeType
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:65:18: error: 'checkCancellation()' is only available in macOS 10.15 or newer
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
49 | }
50 |
51 | private func load(
| `- note: add @available attribute to enclosing instance method
52 | attachment: MediaAttachmentPayload.ContentMedia,
53 | defaultOptions: MediaAttachmentPayload.PayloadOptions,
:
63 | logger.debug("Downloading attachment result: \(response)")
64 |
65 | try Task.checkCancellation()
| |- error: 'checkCancellation()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 |
67 | var mimeType = response.mimeType
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:100:28: error: 'UNNotificationAttachmentOptionsTypeHintKey' is only available in macOS 10.14 or newer
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
82 | }
83 |
84 | private func makeAttachement(
| `- note: add @available attribute to enclosing instance method
85 | localURL: URL,
86 | remoteURL: URL,
:
98 |
99 | if !hasExtension, let hint = hintMimeType(for: fileURL, mimeType: mimeType) {
100 | mutableOptions[UNNotificationAttachmentOptionsTypeHintKey] = hint
| |- error: 'UNNotificationAttachmentOptionsTypeHintKey' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
101 | }
102 |
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:109:23: error: 'UTType' is only available in macOS 11.0 or newer
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
104 | }
105 |
106 | private func hintMimeType(for file: URL, mimeType: String?) -> String? {
| `- note: add @available attribute to enclosing instance method
107 | if
108 | let type = mimeType,
109 | let uti = UTType(mimeType: type),
| |- error: 'UTType' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
110 | let fileExtension = uti.preferredFilenameExtension,
111 | Self.supportedExtensions.contains(fileExtension) {
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:109:23: error: 'init(mimeType:conformingTo:)' is only available in macOS 11.0 or newer
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
104 | }
105 |
106 | private func hintMimeType(for file: URL, mimeType: String?) -> String? {
| `- note: add @available attribute to enclosing instance method
107 | if
108 | let type = mimeType,
109 | let uti = UTType(mimeType: type),
| |- error: 'init(mimeType:conformingTo:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
110 | let fileExtension = uti.preferredFilenameExtension,
111 | Self.supportedExtensions.contains(fileExtension) {
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:110:37: error: 'preferredFilenameExtension' is only available in macOS 11.0 or newer
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
104 | }
105 |
106 | private func hintMimeType(for file: URL, mimeType: String?) -> String? {
| `- note: add @available attribute to enclosing instance method
107 | if
108 | let type = mimeType,
109 | let uti = UTType(mimeType: type),
110 | let fileExtension = uti.preferredFilenameExtension,
| |- error: 'preferredFilenameExtension' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
111 | Self.supportedExtensions.contains(fileExtension) {
112 | return uti.identifier
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:112:24: error: 'identifier' is only available in macOS 11.0 or newer
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
104 | }
105 |
106 | private func hintMimeType(for file: URL, mimeType: String?) -> String? {
| `- note: add @available attribute to enclosing instance method
107 | if
108 | let type = mimeType,
:
110 | let fileExtension = uti.preferredFilenameExtension,
111 | Self.supportedExtensions.contains(fileExtension) {
112 | return uti.identifier
| |- error: 'identifier' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
113 | }
114 |
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:140:34: error: 'download(from:delegate:)' is only available in macOS 12.0 or newer
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
131 | }
132 |
133 | private func download(url: URL) async throws -> (URL, URLResponse) {
| `- note: add @available attribute to enclosing instance method
134 | let session = URLSession(
135 | configuration: .default,
:
138 | )
139 |
140 | return try await session.download(from: url)
| |- error: 'download(from:delegate:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
141 | }
142 |
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:227:17: error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
218 |
219 |
220 | struct AirshipAttachment: Sendable {
| `- note: add @available attribute to enclosing struct
221 | var identifier: String
222 | var url: URL
223 | var options: [String : any Sendable]
224 |
225 | var notificationAttachment: UNNotificationAttachment {
| `- note: add @available attribute to enclosing property
226 | get throws {
227 | try UNNotificationAttachment(
| |- error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
228 | identifier: self.identifier,
229 | url: self.url,
[91/96] Compiling AirshipNotificationServiceExtension MediaAttachmentPayload.swift
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/MediaAttachmentPayload.swift:135:51: error: 'UNNotificationAttachmentOptionsThumbnailHiddenKey' is only available in macOS 10.14 or newer
92 | }
93 |
94 | struct PayloadOptions: Decodable, Sendable {
| `- note: add @available attribute to enclosing struct
95 | private static let cropRequiredFields = ["x", "y", "width", "height"]
96 | let crop: [String: Double]?
:
132 | }
133 |
134 | func generateNotificationAttachmentOptions(hideThumbnail: Bool) -> [String: any Sendable] {
| `- note: add @available attribute to enclosing instance method
135 | var result: [String: any Sendable] = [UNNotificationAttachmentOptionsThumbnailHiddenKey: hideThumbnail]
| |- error: 'UNNotificationAttachmentOptionsThumbnailHiddenKey' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
136 |
137 | if let crop = self.crop {
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/MediaAttachmentPayload.swift:141:24: error: 'UNNotificationAttachmentOptionsThumbnailClippingRectKey' is only available in macOS 10.14 or newer
92 | }
93 |
94 | struct PayloadOptions: Decodable, Sendable {
| `- note: add @available attribute to enclosing struct
95 | private static let cropRequiredFields = ["x", "y", "width", "height"]
96 | let crop: [String: Double]?
:
132 | }
133 |
134 | func generateNotificationAttachmentOptions(hideThumbnail: Bool) -> [String: any Sendable] {
| `- note: add @available attribute to enclosing instance method
135 | var result: [String: any Sendable] = [UNNotificationAttachmentOptionsThumbnailHiddenKey: hideThumbnail]
136 |
:
139 | partialResult[entry.key.capitalized] = entry.value
140 | }
141 | result[UNNotificationAttachmentOptionsThumbnailClippingRectKey] = normalized
| |- error: 'UNNotificationAttachmentOptionsThumbnailClippingRectKey' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
142 | }
143 |
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/MediaAttachmentPayload.swift:145:24: error: 'UNNotificationAttachmentOptionsThumbnailTimeKey' is only available in macOS 10.14 or newer
92 | }
93 |
94 | struct PayloadOptions: Decodable, Sendable {
| `- note: add @available attribute to enclosing struct
95 | private static let cropRequiredFields = ["x", "y", "width", "height"]
96 | let crop: [String: Double]?
:
132 | }
133 |
134 | func generateNotificationAttachmentOptions(hideThumbnail: Bool) -> [String: any Sendable] {
| `- note: add @available attribute to enclosing instance method
135 | var result: [String: any Sendable] = [UNNotificationAttachmentOptionsThumbnailHiddenKey: hideThumbnail]
136 |
:
143 |
144 | if let time = self.time {
145 | result[UNNotificationAttachmentOptionsThumbnailTimeKey] = time
| |- error: 'UNNotificationAttachmentOptionsThumbnailTimeKey' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
146 | }
147 |
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/MediaAttachmentPayload.swift:149:24: error: 'UNNotificationAttachmentOptionsThumbnailHiddenKey' is only available in macOS 10.14 or newer
92 | }
93 |
94 | struct PayloadOptions: Decodable, Sendable {
| `- note: add @available attribute to enclosing struct
95 | private static let cropRequiredFields = ["x", "y", "width", "height"]
96 | let crop: [String: Double]?
:
132 | }
133 |
134 | func generateNotificationAttachmentOptions(hideThumbnail: Bool) -> [String: any Sendable] {
| `- note: add @available attribute to enclosing instance method
135 | var result: [String: any Sendable] = [UNNotificationAttachmentOptionsThumbnailHiddenKey: hideThumbnail]
136 |
:
147 |
148 | if let hidden = self.hidden {
149 | result[UNNotificationAttachmentOptionsThumbnailHiddenKey] = hidden
| |- error: 'UNNotificationAttachmentOptionsThumbnailHiddenKey' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
150 | }
151 |
[92/96] Compiling AirshipNotificationServiceExtension AirshipExtensionConfig.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[93/96] Compiling AirshipBasement AirshipLogPrivacyLevel.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[94/96] Emitting module AirshipBasement
/Users/admin/builder/spi-builder-workspace/Airship/AirshipBasement/Source/DefaultLogHandler.swift:15:32: error: 'Logger' is only available in macOS 11.0 or newer
6 | /// Default log handler. Logs to either os.Logger or just prints depending on OS version.
7 | @_spi(AirshipInternal)
8 | public final class DefaultLogHandler: AirshipLogHandler {
| `- note: add @available attribute to enclosing class
9 | private let privacyLevel: AirshipLogPrivacyLevel
10 |
:
13 | }
14 |
15 | private static let logger: Logger = Logger(
| | `- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing static property
16 | subsystem: Bundle.main.bundleIdentifier ?? "",
17 | category: "Airship"
/Users/admin/builder/spi-builder-workspace/Airship/AirshipBasement/Source/DefaultLogHandler.swift:15:41: error: 'Logger' is only available in macOS 11.0 or newer
6 | /// Default log handler. Logs to either os.Logger or just prints depending on OS version.
7 | @_spi(AirshipInternal)
8 | public final class DefaultLogHandler: AirshipLogHandler {
| `- note: add @available attribute to enclosing class
9 | private let privacyLevel: AirshipLogPrivacyLevel
10 |
:
13 | }
14 |
15 | private static let logger: Logger = Logger(
| | `- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing static property
16 | subsystem: Bundle.main.bundleIdentifier ?? "",
17 | category: "Airship"
[95/96] Emitting module AirshipNotificationServiceExtension
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipExtensionLogger.swift:200:32: error: 'Logger' is only available in macOS 11.0 or newer
190 |
191 |
192 | public final class DefaultAirshipExtensionLogHandler: AirshipExtensionLogHandler {
| `- note: add @available attribute to enclosing class
193 |
194 | private let logPublic: Bool
:
198 | }
199 |
200 | private static let logger: Logger = Logger(
| | `- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing static property
201 | subsystem: Bundle.main.bundleIdentifier ?? "",
202 | category: "AirshipNotificationExtension"
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipExtensionLogger.swift:200:41: error: 'Logger' is only available in macOS 11.0 or newer
190 |
191 |
192 | public final class DefaultAirshipExtensionLogHandler: AirshipExtensionLogHandler {
| `- note: add @available attribute to enclosing class
193 |
194 | private let logPublic: Bool
:
198 | }
199 |
200 | private static let logger: Logger = Logger(
| | `- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing static property
201 | subsystem: Bundle.main.bundleIdentifier ?? "",
202 | category: "AirshipNotificationExtension"
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:198:40: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
190 | }
191 |
192 | struct AirshipNotificationMutations: Sendable {
| `- note: add @available attribute to enclosing struct
193 | var title: String?
194 | var subtitle: String?
:
196 | var attachments: [AirshipAttachment]
197 |
198 | func apply(to notificationContent: UNMutableNotificationContent) throws {
| | `- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing instance method
199 | try attachments
200 | .map { try $0.notificationAttachment }
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:225:33: error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
218 |
219 |
220 | struct AirshipAttachment: Sendable {
| `- note: add @available attribute to enclosing struct
221 | var identifier: String
222 | var url: URL
223 | var options: [String : any Sendable]
224 |
225 | var notificationAttachment: UNNotificationAttachment {
| | `- error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing property
226 | get throws {
227 | try UNNotificationAttachment(
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:15:20: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
8 | #if !os(tvOS)
9 | @objc
10 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
11 | open var airshipConfig: AirshipExtensionConfig { .init() }
12 | private var onExpire: (@Sendable () -> Void)?
13 |
14 | open override func didReceive(
| `- note: add @available attribute to enclosing instance method
15 | _ request: UNNotificationRequest,
| `- error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
16 | withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
17 | ) {
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:16:65: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
8 | #if !os(tvOS)
9 | @objc
10 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
11 | open var airshipConfig: AirshipExtensionConfig { .init() }
12 | private var onExpire: (@Sendable () -> Void)?
13 |
14 | open override func didReceive(
| `- note: add @available attribute to enclosing instance method
15 | _ request: UNNotificationRequest,
16 | withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
| `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
17 | ) {
18 |
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:10:44: error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
8 | #if !os(tvOS)
9 | @objc
10 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
| | `- error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing class
11 | open var airshipConfig: AirshipExtensionConfig { .init() }
12 | private var onExpire: (@Sendable () -> Void)?
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:85:11: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
83 | }
84 |
85 | extension UNNotificationRequest {
| | `- error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing extension
86 | fileprivate static let airshipMediaAttachment = "com.urbanairship.media_attachment"
87 |
[96/96] Compiling AirshipNotificationServiceExtension AirshipExtensionLogger.swift
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipExtensionLogger.swift:200:32: error: 'Logger' is only available in macOS 11.0 or newer
190 |
191 |
192 | public final class DefaultAirshipExtensionLogHandler: AirshipExtensionLogHandler {
| `- note: add @available attribute to enclosing class
193 |
194 | private let logPublic: Bool
:
198 | }
199 |
200 | private static let logger: Logger = Logger(
| | `- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing static property
201 | subsystem: Bundle.main.bundleIdentifier ?? "",
202 | category: "AirshipNotificationExtension"
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipExtensionLogger.swift:200:41: error: 'Logger' is only available in macOS 11.0 or newer
190 |
191 |
192 | public final class DefaultAirshipExtensionLogHandler: AirshipExtensionLogHandler {
| `- note: add @available attribute to enclosing class
193 |
194 | private let logPublic: Bool
:
198 | }
199 |
200 | private static let logger: Logger = Logger(
| | `- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing static property
201 | subsystem: Bundle.main.bundleIdentifier ?? "",
202 | category: "AirshipNotificationExtension"
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipExtensionLogger.swift:215:17: error: 'OSLogMessage' is only available in macOS 11.0 or newer
190 |
191 |
192 | public final class DefaultAirshipExtensionLogHandler: AirshipExtensionLogHandler {
| `- note: add @available attribute to enclosing class
193 |
194 | private let logPublic: Bool
:
203 | )
204 |
205 | public func log(
| `- note: add @available attribute to enclosing instance method
206 | logLevel: AirshipExtensionLogLevel,
207 | message: String,
:
213 | if (logPublic) {
214 | Self.logger.notice(
215 | "\(logMessage, privacy: .public)"
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
216 | )
217 | } else {
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipExtensionLogger.swift:215:19: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
190 |
191 |
192 | public final class DefaultAirshipExtensionLogHandler: AirshipExtensionLogHandler {
| `- note: add @available attribute to enclosing class
193 |
194 | private let logPublic: Bool
:
203 | )
204 |
205 | public func log(
| `- note: add @available attribute to enclosing instance method
206 | logLevel: AirshipExtensionLogLevel,
207 | message: String,
:
213 | if (logPublic) {
214 | Self.logger.notice(
215 | "\(logMessage, privacy: .public)"
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
216 | )
217 | } else {
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipExtensionLogger.swift:220:17: error: 'OSLogMessage' is only available in macOS 11.0 or newer
190 |
191 |
192 | public final class DefaultAirshipExtensionLogHandler: AirshipExtensionLogHandler {
| `- note: add @available attribute to enclosing class
193 |
194 | private let logPublic: Bool
:
203 | )
204 |
205 | public func log(
| `- note: add @available attribute to enclosing instance method
206 | logLevel: AirshipExtensionLogLevel,
207 | message: String,
:
218 | Self.logger.log(
219 | level: logLevel.logType,
220 | "\(logMessage, privacy: .private)"
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
221 | )
222 | }
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipExtensionLogger.swift:220:19: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
190 |
191 |
192 | public final class DefaultAirshipExtensionLogHandler: AirshipExtensionLogHandler {
| `- note: add @available attribute to enclosing class
193 |
194 | private let logPublic: Bool
:
203 | )
204 |
205 | public func log(
| `- note: add @available attribute to enclosing instance method
206 | logLevel: AirshipExtensionLogLevel,
207 | message: String,
:
218 | Self.logger.log(
219 | level: logLevel.logType,
220 | "\(logMessage, privacy: .private)"
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
221 | )
222 | }
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/airship.jpg
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Airship/AirshipBasement/Tests/AirshipDateFormatterTest.swift
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/15] Compiling AirshipNotificationServiceExtension UANotificationServiceExtension.swift
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:15:20: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
8 | #if !os(tvOS)
9 | @objc
10 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
11 | open var airshipConfig: AirshipExtensionConfig { .init() }
12 | private var onExpire: (@Sendable () -> Void)?
13 |
14 | open override func didReceive(
| `- note: add @available attribute to enclosing instance method
15 | _ request: UNNotificationRequest,
| `- error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
16 | withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
17 | ) {
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:16:65: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
8 | #if !os(tvOS)
9 | @objc
10 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
11 | open var airshipConfig: AirshipExtensionConfig { .init() }
12 | private var onExpire: (@Sendable () -> Void)?
13 |
14 | open override func didReceive(
| `- note: add @available attribute to enclosing instance method
15 | _ request: UNNotificationRequest,
16 | withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
| `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
17 | ) {
18 |
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:10:44: error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
8 | #if !os(tvOS)
9 | @objc
10 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
| | `- error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing class
11 | open var airshipConfig: AirshipExtensionConfig { .init() }
12 | private var onExpire: (@Sendable () -> Void)?
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:85:11: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
83 | }
84 |
85 | extension UNNotificationRequest {
| | `- error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing extension
86 | fileprivate static let airshipMediaAttachment = "com.urbanairship.media_attachment"
87 |
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:25:28: error: 'Task' is only available in macOS 10.15 or newer
8 | #if !os(tvOS)
9 | @objc
10 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
11 | open var airshipConfig: AirshipExtensionConfig { .init() }
12 | private var onExpire: (@Sendable () -> Void)?
13 |
14 | open override func didReceive(
| `- note: add @available attribute to enclosing instance method
15 | _ request: UNNotificationRequest,
16 | withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
:
23 | )
24 |
25 | let downloadTask = Task { @MainActor in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | logger.debug(
27 | "New request received: \(request)"
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:25:28: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
8 | #if !os(tvOS)
9 | @objc
10 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
11 | open var airshipConfig: AirshipExtensionConfig { .init() }
12 | private var onExpire: (@Sendable () -> Void)?
13 |
14 | open override func didReceive(
| `- note: add @available attribute to enclosing instance method
15 | _ request: UNNotificationRequest,
16 | withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
:
23 | )
24 |
25 | let downloadTask = Task { @MainActor in
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | logger.debug(
27 | "New request received: \(request)"
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:30:74: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
8 | #if !os(tvOS)
9 | @objc
10 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
11 | open var airshipConfig: AirshipExtensionConfig { .init() }
12 | private var onExpire: (@Sendable () -> Void)?
13 |
14 | open override func didReceive(
| `- note: add @available attribute to enclosing instance method
15 | _ request: UNNotificationRequest,
16 | withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
:
28 | )
29 |
30 | guard let mutableContent = request.content.mutableCopy() as? UNMutableNotificationContent else {
| |- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
31 | logger.error(
32 | "Unable to make mutable copy of request"
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:34:21: error: 'Task' is only available in macOS 10.15 or newer
8 | #if !os(tvOS)
9 | @objc
10 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
11 | open var airshipConfig: AirshipExtensionConfig { .init() }
12 | private var onExpire: (@Sendable () -> Void)?
13 |
14 | open override func didReceive(
| `- note: add @available attribute to enclosing instance method
15 | _ request: UNNotificationRequest,
16 | withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
:
32 | "Unable to make mutable copy of request"
33 | )
34 | try Task.checkCancellation()
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
35 | contentHandler(request.content)
36 | return
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:34:26: error: 'checkCancellation()' is only available in macOS 10.15 or newer
8 | #if !os(tvOS)
9 | @objc
10 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
11 | open var airshipConfig: AirshipExtensionConfig { .init() }
12 | private var onExpire: (@Sendable () -> Void)?
13 |
14 | open override func didReceive(
| `- note: add @available attribute to enclosing instance method
15 | _ request: UNNotificationRequest,
16 | withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
:
32 | "Unable to make mutable copy of request"
33 | )
34 | try Task.checkCancellation()
| |- error: 'checkCancellation()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
35 | contentHandler(request.content)
36 | return
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:45:25: error: 'Task' is only available in macOS 10.15 or newer
8 | #if !os(tvOS)
9 | @objc
10 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
11 | open var airshipConfig: AirshipExtensionConfig { .init() }
12 | private var onExpire: (@Sendable () -> Void)?
13 |
14 | open override func didReceive(
| `- note: add @available attribute to enclosing instance method
15 | _ request: UNNotificationRequest,
16 | withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
:
43 | "Finishing request, no Airship args: \(request.identifier)"
44 | )
45 | try Task.checkCancellation()
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | contentHandler(request.content)
47 | return
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:45:30: error: 'checkCancellation()' is only available in macOS 10.15 or newer
8 | #if !os(tvOS)
9 | @objc
10 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
11 | open var airshipConfig: AirshipExtensionConfig { .init() }
12 | private var onExpire: (@Sendable () -> Void)?
13 |
14 | open override func didReceive(
| `- note: add @available attribute to enclosing instance method
15 | _ request: UNNotificationRequest,
16 | withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
:
43 | "Finishing request, no Airship args: \(request.identifier)"
44 | )
45 | try Task.checkCancellation()
| |- error: 'checkCancellation()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | contentHandler(request.content)
47 | return
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:63:17: error: 'Task' is only available in macOS 10.15 or newer
8 | #if !os(tvOS)
9 | @objc
10 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
11 | open var airshipConfig: AirshipExtensionConfig { .init() }
12 | private var onExpire: (@Sendable () -> Void)?
13 |
14 | open override func didReceive(
| `- note: add @available attribute to enclosing instance method
15 | _ request: UNNotificationRequest,
16 | withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
:
61 | }
62 |
63 | try Task.checkCancellation()
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 |
65 | logger.info(
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:63:22: error: 'checkCancellation()' is only available in macOS 10.15 or newer
8 | #if !os(tvOS)
9 | @objc
10 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
11 | open var airshipConfig: AirshipExtensionConfig { .init() }
12 | private var onExpire: (@Sendable () -> Void)?
13 |
14 | open override func didReceive(
| `- note: add @available attribute to enclosing instance method
15 | _ request: UNNotificationRequest,
16 | withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
:
61 | }
62 |
63 | try Task.checkCancellation()
| |- error: 'checkCancellation()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 |
65 | logger.info(
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:75:26: error: 'cancel()' is only available in macOS 10.15 or newer
8 | #if !os(tvOS)
9 | @objc
10 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
11 | open var airshipConfig: AirshipExtensionConfig { .init() }
12 | private var onExpire: (@Sendable () -> Void)?
13 |
14 | open override func didReceive(
| `- note: add @available attribute to enclosing instance method
15 | _ request: UNNotificationRequest,
16 | withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
:
73 | "serviceExtensionTimeWillExpire expiring, canceling airshipTask"
74 | )
75 | downloadTask.cancel()
| |- error: 'cancel()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
76 | contentHandler(request.content)
77 | }
[3/15] Compiling AirshipBasement AirshipLogger.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/15] Emitting module AirshipNotificationServiceExtension
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipExtensionLogger.swift:200:32: error: 'Logger' is only available in macOS 11.0 or newer
190 |
191 |
192 | public final class DefaultAirshipExtensionLogHandler: AirshipExtensionLogHandler {
| `- note: add @available attribute to enclosing class
193 |
194 | private let logPublic: Bool
:
198 | }
199 |
200 | private static let logger: Logger = Logger(
| | `- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing static property
201 | subsystem: Bundle.main.bundleIdentifier ?? "",
202 | category: "AirshipNotificationExtension"
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipExtensionLogger.swift:200:41: error: 'Logger' is only available in macOS 11.0 or newer
190 |
191 |
192 | public final class DefaultAirshipExtensionLogHandler: AirshipExtensionLogHandler {
| `- note: add @available attribute to enclosing class
193 |
194 | private let logPublic: Bool
:
198 | }
199 |
200 | private static let logger: Logger = Logger(
| | `- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing static property
201 | subsystem: Bundle.main.bundleIdentifier ?? "",
202 | category: "AirshipNotificationExtension"
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:198:40: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
190 | }
191 |
192 | struct AirshipNotificationMutations: Sendable {
| `- note: add @available attribute to enclosing struct
193 | var title: String?
194 | var subtitle: String?
:
196 | var attachments: [AirshipAttachment]
197 |
198 | func apply(to notificationContent: UNMutableNotificationContent) throws {
| | `- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing instance method
199 | try attachments
200 | .map { try $0.notificationAttachment }
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:225:33: error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
218 |
219 |
220 | struct AirshipAttachment: Sendable {
| `- note: add @available attribute to enclosing struct
221 | var identifier: String
222 | var url: URL
223 | var options: [String : any Sendable]
224 |
225 | var notificationAttachment: UNNotificationAttachment {
| | `- error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing property
226 | get throws {
227 | try UNNotificationAttachment(
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:15:20: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
8 | #if !os(tvOS)
9 | @objc
10 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
11 | open var airshipConfig: AirshipExtensionConfig { .init() }
12 | private var onExpire: (@Sendable () -> Void)?
13 |
14 | open override func didReceive(
| `- note: add @available attribute to enclosing instance method
15 | _ request: UNNotificationRequest,
| `- error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
16 | withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
17 | ) {
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:16:65: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
8 | #if !os(tvOS)
9 | @objc
10 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
11 | open var airshipConfig: AirshipExtensionConfig { .init() }
12 | private var onExpire: (@Sendable () -> Void)?
13 |
14 | open override func didReceive(
| `- note: add @available attribute to enclosing instance method
15 | _ request: UNNotificationRequest,
16 | withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
| `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
17 | ) {
18 |
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:10:44: error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
8 | #if !os(tvOS)
9 | @objc
10 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
| | `- error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing class
11 | open var airshipConfig: AirshipExtensionConfig { .init() }
12 | private var onExpire: (@Sendable () -> Void)?
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:85:11: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
83 | }
84 |
85 | extension UNNotificationRequest {
| | `- error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing extension
86 | fileprivate static let airshipMediaAttachment = "com.urbanairship.media_attachment"
87 |
[5/15] Compiling AirshipNotificationServiceExtension ChallengeResolver.swift
[6/15] Compiling AirshipNotificationServiceExtension AirshipExtensionLogger.swift
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipExtensionLogger.swift:200:32: error: 'Logger' is only available in macOS 11.0 or newer
190 |
191 |
192 | public final class DefaultAirshipExtensionLogHandler: AirshipExtensionLogHandler {
| `- note: add @available attribute to enclosing class
193 |
194 | private let logPublic: Bool
:
198 | }
199 |
200 | private static let logger: Logger = Logger(
| | `- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing static property
201 | subsystem: Bundle.main.bundleIdentifier ?? "",
202 | category: "AirshipNotificationExtension"
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipExtensionLogger.swift:200:41: error: 'Logger' is only available in macOS 11.0 or newer
190 |
191 |
192 | public final class DefaultAirshipExtensionLogHandler: AirshipExtensionLogHandler {
| `- note: add @available attribute to enclosing class
193 |
194 | private let logPublic: Bool
:
198 | }
199 |
200 | private static let logger: Logger = Logger(
| | `- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing static property
201 | subsystem: Bundle.main.bundleIdentifier ?? "",
202 | category: "AirshipNotificationExtension"
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipExtensionLogger.swift:215:17: error: 'OSLogMessage' is only available in macOS 11.0 or newer
190 |
191 |
192 | public final class DefaultAirshipExtensionLogHandler: AirshipExtensionLogHandler {
| `- note: add @available attribute to enclosing class
193 |
194 | private let logPublic: Bool
:
203 | )
204 |
205 | public func log(
| `- note: add @available attribute to enclosing instance method
206 | logLevel: AirshipExtensionLogLevel,
207 | message: String,
:
213 | if (logPublic) {
214 | Self.logger.notice(
215 | "\(logMessage, privacy: .public)"
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
216 | )
217 | } else {
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipExtensionLogger.swift:215:19: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
190 |
191 |
192 | public final class DefaultAirshipExtensionLogHandler: AirshipExtensionLogHandler {
| `- note: add @available attribute to enclosing class
193 |
194 | private let logPublic: Bool
:
203 | )
204 |
205 | public func log(
| `- note: add @available attribute to enclosing instance method
206 | logLevel: AirshipExtensionLogLevel,
207 | message: String,
:
213 | if (logPublic) {
214 | Self.logger.notice(
215 | "\(logMessage, privacy: .public)"
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
216 | )
217 | } else {
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipExtensionLogger.swift:220:17: error: 'OSLogMessage' is only available in macOS 11.0 or newer
190 |
191 |
192 | public final class DefaultAirshipExtensionLogHandler: AirshipExtensionLogHandler {
| `- note: add @available attribute to enclosing class
193 |
194 | private let logPublic: Bool
:
203 | )
204 |
205 | public func log(
| `- note: add @available attribute to enclosing instance method
206 | logLevel: AirshipExtensionLogLevel,
207 | message: String,
:
218 | Self.logger.log(
219 | level: logLevel.logType,
220 | "\(logMessage, privacy: .private)"
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
221 | )
222 | }
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipExtensionLogger.swift:220:19: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
190 |
191 |
192 | public final class DefaultAirshipExtensionLogHandler: AirshipExtensionLogHandler {
| `- note: add @available attribute to enclosing class
193 |
194 | private let logPublic: Bool
:
203 | )
204 |
205 | public func log(
| `- note: add @available attribute to enclosing instance method
206 | logLevel: AirshipExtensionLogLevel,
207 | message: String,
:
218 | Self.logger.log(
219 | level: logLevel.logType,
220 | "\(logMessage, privacy: .private)"
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
221 | )
222 | }
[7/15] Compiling AirshipNotificationServiceExtension AirshipExtensionConfig.swift
[8/15] Compiling AirshipNotificationServiceExtension AirshipNotificationMutationProvider.swift
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:198:40: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
190 | }
191 |
192 | struct AirshipNotificationMutations: Sendable {
| `- note: add @available attribute to enclosing struct
193 | var title: String?
194 | var subtitle: String?
:
196 | var attachments: [AirshipAttachment]
197 |
198 | func apply(to notificationContent: UNMutableNotificationContent) throws {
| | `- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing instance method
199 | try attachments
200 | .map { try $0.notificationAttachment }
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:225:33: error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
218 |
219 |
220 | struct AirshipAttachment: Sendable {
| `- note: add @available attribute to enclosing struct
221 | var identifier: String
222 | var url: URL
223 | var options: [String : any Sendable]
224 |
225 | var notificationAttachment: UNNotificationAttachment {
| | `- error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing property
226 | get throws {
227 | try UNNotificationAttachment(
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:16:37: error: 'withThrowingTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
13 | }
14 |
15 | func mutations(for args: MediaAttachmentPayload) async throws -> AirshipNotificationMutations? {
| `- note: add @available attribute to enclosing instance method
16 | let attachments = try await withThrowingTaskGroup(of: AirshipAttachment?.self) { [weak self, args] group in
| |- error: 'withThrowingTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | try Task.checkCancellation()
18 |
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:17:17: error: 'Task' is only available in macOS 10.15 or newer
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
13 | }
14 |
15 | func mutations(for args: MediaAttachmentPayload) async throws -> AirshipNotificationMutations? {
| `- note: add @available attribute to enclosing instance method
16 | let attachments = try await withThrowingTaskGroup(of: AirshipAttachment?.self) { [weak self, args] group in
17 | try Task.checkCancellation()
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 |
19 | var attachments: [AirshipAttachment] = []
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:17:22: error: 'checkCancellation()' is only available in macOS 10.15 or newer
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
13 | }
14 |
15 | func mutations(for args: MediaAttachmentPayload) async throws -> AirshipNotificationMutations? {
| `- note: add @available attribute to enclosing instance method
16 | let attachments = try await withThrowingTaskGroup(of: AirshipAttachment?.self) { [weak self, args] group in
17 | try Task.checkCancellation()
| |- error: 'checkCancellation()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 |
19 | var attachments: [AirshipAttachment] = []
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:23:25: error: 'Task' is only available in macOS 10.15 or newer
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
13 | }
14 |
15 | func mutations(for args: MediaAttachmentPayload) async throws -> AirshipNotificationMutations? {
| `- note: add @available attribute to enclosing instance method
16 | let attachments = try await withThrowingTaskGroup(of: AirshipAttachment?.self) { [weak self, args] group in
17 | try Task.checkCancellation()
:
21 | args.media.forEach { media in
22 | group.addTask { [weak self] in
23 | try Task.checkCancellation()
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | return try await self?.load(
25 | attachment: media,
<unknown>:0: error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:23:30: error: 'checkCancellation()' is only available in macOS 10.15 or newer
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
13 | }
14 |
15 | func mutations(for args: MediaAttachmentPayload) async throws -> AirshipNotificationMutations? {
| `- note: add @available attribute to enclosing instance method
16 | let attachments = try await withThrowingTaskGroup(of: AirshipAttachment?.self) { [weak self, args] group in
17 | try Task.checkCancellation()
:
21 | args.media.forEach { media in
22 | group.addTask { [weak self] in
23 | try Task.checkCancellation()
| |- error: 'checkCancellation()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | return try await self?.load(
25 | attachment: media,
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:33:21: error: 'Task' is only available in macOS 10.15 or newer
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
13 | }
14 |
15 | func mutations(for args: MediaAttachmentPayload) async throws -> AirshipNotificationMutations? {
| `- note: add @available attribute to enclosing instance method
16 | let attachments = try await withThrowingTaskGroup(of: AirshipAttachment?.self) { [weak self, args] group in
17 | try Task.checkCancellation()
:
31 |
32 | for try await result in group {
33 | try Task.checkCancellation()
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 |
35 | if let result = result {
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:33:26: error: 'checkCancellation()' is only available in macOS 10.15 or newer
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
13 | }
14 |
15 | func mutations(for args: MediaAttachmentPayload) async throws -> AirshipNotificationMutations? {
| `- note: add @available attribute to enclosing instance method
16 | let attachments = try await withThrowingTaskGroup(of: AirshipAttachment?.self) { [weak self, args] group in
17 | try Task.checkCancellation()
:
31 |
32 | for try await result in group {
33 | try Task.checkCancellation()
| |- error: 'checkCancellation()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 |
35 | if let result = result {
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:16:59: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:16:58: note: expanded code originates here
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
13 | }
14 |
15 | func mutations(for args: MediaAttachmentPayload) async throws -> AirshipNotificationMutations? {
| `- note: add @available attribute to enclosing instance method
16 | let attachments = try await withThrowingTaskGroup(of: AirshipAttachment?.self) { [weak self, args] group in
+--- /Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift
|14 |
|15 |
|16 | #isolation
| | `- error: 'isolation()' is only available in macOS 10.15 or newer
+------------------------------------------------------------------------------------------------------------------------------------------------------
17 | try Task.checkCancellation()
18 |
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:57:13: error: 'Task' is only available in macOS 10.15 or newer
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
49 | }
50 |
51 | private func load(
| `- note: add @available attribute to enclosing instance method
52 | attachment: MediaAttachmentPayload.ContentMedia,
53 | defaultOptions: MediaAttachmentPayload.PayloadOptions,
:
55 | ) async throws -> AirshipAttachment {
56 |
57 | try Task.checkCancellation()
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
58 |
59 | logger.debug("Downloading attachment \(attachment.url)")
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:57:18: error: 'checkCancellation()' is only available in macOS 10.15 or newer
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
49 | }
50 |
51 | private func load(
| `- note: add @available attribute to enclosing instance method
52 | attachment: MediaAttachmentPayload.ContentMedia,
53 | defaultOptions: MediaAttachmentPayload.PayloadOptions,
:
55 | ) async throws -> AirshipAttachment {
56 |
57 | try Task.checkCancellation()
| |- error: 'checkCancellation()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
58 |
59 | logger.debug("Downloading attachment \(attachment.url)")
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:65:13: error: 'Task' is only available in macOS 10.15 or newer
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
49 | }
50 |
51 | private func load(
| `- note: add @available attribute to enclosing instance method
52 | attachment: MediaAttachmentPayload.ContentMedia,
53 | defaultOptions: MediaAttachmentPayload.PayloadOptions,
:
63 | logger.debug("Downloading attachment result: \(response)")
64 |
65 | try Task.checkCancellation()
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 |
67 | var mimeType = response.mimeType
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:65:18: error: 'checkCancellation()' is only available in macOS 10.15 or newer
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
49 | }
50 |
51 | private func load(
| `- note: add @available attribute to enclosing instance method
52 | attachment: MediaAttachmentPayload.ContentMedia,
53 | defaultOptions: MediaAttachmentPayload.PayloadOptions,
:
63 | logger.debug("Downloading attachment result: \(response)")
64 |
65 | try Task.checkCancellation()
| |- error: 'checkCancellation()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 |
67 | var mimeType = response.mimeType
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:100:28: error: 'UNNotificationAttachmentOptionsTypeHintKey' is only available in macOS 10.14 or newer
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
82 | }
83 |
84 | private func makeAttachement(
| `- note: add @available attribute to enclosing instance method
85 | localURL: URL,
86 | remoteURL: URL,
:
98 |
99 | if !hasExtension, let hint = hintMimeType(for: fileURL, mimeType: mimeType) {
100 | mutableOptions[UNNotificationAttachmentOptionsTypeHintKey] = hint
| |- error: 'UNNotificationAttachmentOptionsTypeHintKey' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
101 | }
102 |
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:109:23: error: 'UTType' is only available in macOS 11.0 or newer
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
104 | }
105 |
106 | private func hintMimeType(for file: URL, mimeType: String?) -> String? {
| `- note: add @available attribute to enclosing instance method
107 | if
108 | let type = mimeType,
109 | let uti = UTType(mimeType: type),
| |- error: 'UTType' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
110 | let fileExtension = uti.preferredFilenameExtension,
111 | Self.supportedExtensions.contains(fileExtension) {
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:109:23: error: 'init(mimeType:conformingTo:)' is only available in macOS 11.0 or newer
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
104 | }
105 |
106 | private func hintMimeType(for file: URL, mimeType: String?) -> String? {
| `- note: add @available attribute to enclosing instance method
107 | if
108 | let type = mimeType,
109 | let uti = UTType(mimeType: type),
| |- error: 'init(mimeType:conformingTo:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
110 | let fileExtension = uti.preferredFilenameExtension,
111 | Self.supportedExtensions.contains(fileExtension) {
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:110:37: error: 'preferredFilenameExtension' is only available in macOS 11.0 or newer
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
104 | }
105 |
106 | private func hintMimeType(for file: URL, mimeType: String?) -> String? {
| `- note: add @available attribute to enclosing instance method
107 | if
108 | let type = mimeType,
109 | let uti = UTType(mimeType: type),
110 | let fileExtension = uti.preferredFilenameExtension,
| |- error: 'preferredFilenameExtension' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
111 | Self.supportedExtensions.contains(fileExtension) {
112 | return uti.identifier
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:112:24: error: 'identifier' is only available in macOS 11.0 or newer
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
104 | }
105 |
106 | private func hintMimeType(for file: URL, mimeType: String?) -> String? {
| `- note: add @available attribute to enclosing instance method
107 | if
108 | let type = mimeType,
:
110 | let fileExtension = uti.preferredFilenameExtension,
111 | Self.supportedExtensions.contains(fileExtension) {
112 | return uti.identifier
| |- error: 'identifier' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
113 | }
114 |
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:140:34: error: 'download(from:delegate:)' is only available in macOS 12.0 or newer
4 | import UserNotifications
5 |
6 | final class AirshipNotificationMutationProvider: Sendable {
| `- note: add @available attribute to enclosing class
7 |
8 | static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
:
131 | }
132 |
133 | private func download(url: URL) async throws -> (URL, URLResponse) {
| `- note: add @available attribute to enclosing instance method
134 | let session = URLSession(
135 | configuration: .default,
:
138 | )
139 |
140 | return try await session.download(from: url)
| |- error: 'download(from:delegate:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
141 | }
142 |
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:227:17: error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
218 |
219 |
220 | struct AirshipAttachment: Sendable {
| `- note: add @available attribute to enclosing struct
221 | var identifier: String
222 | var url: URL
223 | var options: [String : any Sendable]
224 |
225 | var notificationAttachment: UNNotificationAttachment {
| `- note: add @available attribute to enclosing property
226 | get throws {
227 | try UNNotificationAttachment(
| |- error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
228 | identifier: self.identifier,
229 | url: self.url,
[9/15] Compiling AirshipNotificationServiceExtension MediaAttachmentPayload.swift
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/MediaAttachmentPayload.swift:135:51: error: 'UNNotificationAttachmentOptionsThumbnailHiddenKey' is only available in macOS 10.14 or newer
92 | }
93 |
94 | struct PayloadOptions: Decodable, Sendable {
| `- note: add @available attribute to enclosing struct
95 | private static let cropRequiredFields = ["x", "y", "width", "height"]
96 | let crop: [String: Double]?
:
132 | }
133 |
134 | func generateNotificationAttachmentOptions(hideThumbnail: Bool) -> [String: any Sendable] {
| `- note: add @available attribute to enclosing instance method
135 | var result: [String: any Sendable] = [UNNotificationAttachmentOptionsThumbnailHiddenKey: hideThumbnail]
| |- error: 'UNNotificationAttachmentOptionsThumbnailHiddenKey' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
136 |
137 | if let crop = self.crop {
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/MediaAttachmentPayload.swift:141:24: error: 'UNNotificationAttachmentOptionsThumbnailClippingRectKey' is only available in macOS 10.14 or newer
92 | }
93 |
94 | struct PayloadOptions: Decodable, Sendable {
| `- note: add @available attribute to enclosing struct
95 | private static let cropRequiredFields = ["x", "y", "width", "height"]
96 | let crop: [String: Double]?
:
132 | }
133 |
134 | func generateNotificationAttachmentOptions(hideThumbnail: Bool) -> [String: any Sendable] {
| `- note: add @available attribute to enclosing instance method
135 | var result: [String: any Sendable] = [UNNotificationAttachmentOptionsThumbnailHiddenKey: hideThumbnail]
136 |
:
139 | partialResult[entry.key.capitalized] = entry.value
140 | }
141 | result[UNNotificationAttachmentOptionsThumbnailClippingRectKey] = normalized
| |- error: 'UNNotificationAttachmentOptionsThumbnailClippingRectKey' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
142 | }
143 |
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/MediaAttachmentPayload.swift:145:24: error: 'UNNotificationAttachmentOptionsThumbnailTimeKey' is only available in macOS 10.14 or newer
92 | }
93 |
94 | struct PayloadOptions: Decodable, Sendable {
| `- note: add @available attribute to enclosing struct
95 | private static let cropRequiredFields = ["x", "y", "width", "height"]
96 | let crop: [String: Double]?
:
132 | }
133 |
134 | func generateNotificationAttachmentOptions(hideThumbnail: Bool) -> [String: any Sendable] {
| `- note: add @available attribute to enclosing instance method
135 | var result: [String: any Sendable] = [UNNotificationAttachmentOptionsThumbnailHiddenKey: hideThumbnail]
136 |
:
143 |
144 | if let time = self.time {
145 | result[UNNotificationAttachmentOptionsThumbnailTimeKey] = time
| |- error: 'UNNotificationAttachmentOptionsThumbnailTimeKey' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
146 | }
147 |
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/MediaAttachmentPayload.swift:149:24: error: 'UNNotificationAttachmentOptionsThumbnailHiddenKey' is only available in macOS 10.14 or newer
92 | }
93 |
94 | struct PayloadOptions: Decodable, Sendable {
| `- note: add @available attribute to enclosing struct
95 | private static let cropRequiredFields = ["x", "y", "width", "height"]
96 | let crop: [String: Double]?
:
132 | }
133 |
134 | func generateNotificationAttachmentOptions(hideThumbnail: Bool) -> [String: any Sendable] {
| `- note: add @available attribute to enclosing instance method
135 | var result: [String: any Sendable] = [UNNotificationAttachmentOptionsThumbnailHiddenKey: hideThumbnail]
136 |
:
147 |
148 | if let hidden = self.hidden {
149 | result[UNNotificationAttachmentOptionsThumbnailHiddenKey] = hidden
| |- error: 'UNNotificationAttachmentOptionsThumbnailHiddenKey' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
150 | }
151 |
[10/15] Compiling AirshipBasement LogLevel.swift
[11/15] Compiling AirshipBasement AirshipLogHandler.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/15] Compiling AirshipBasement AirshipLogPrivacyLevel.swift
[13/15] Emitting module AirshipBasement
/Users/admin/builder/spi-builder-workspace/Airship/AirshipBasement/Source/DefaultLogHandler.swift:15:32: error: 'Logger' is only available in macOS 11.0 or newer
6 | /// Default log handler. Logs to either os.Logger or just prints depending on OS version.
7 | @_spi(AirshipInternal)
8 | public final class DefaultLogHandler: AirshipLogHandler {
| `- note: add @available attribute to enclosing class
9 | private let privacyLevel: AirshipLogPrivacyLevel
10 |
:
13 | }
14 |
15 | private static let logger: Logger = Logger(
| | `- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing static property
16 | subsystem: Bundle.main.bundleIdentifier ?? "",
17 | category: "Airship"
/Users/admin/builder/spi-builder-workspace/Airship/AirshipBasement/Source/DefaultLogHandler.swift:15:41: error: 'Logger' is only available in macOS 11.0 or newer
6 | /// Default log handler. Logs to either os.Logger or just prints depending on OS version.
7 | @_spi(AirshipInternal)
8 | public final class DefaultLogHandler: AirshipLogHandler {
| `- note: add @available attribute to enclosing class
9 | private let privacyLevel: AirshipLogPrivacyLevel
10 |
:
13 | }
14 |
15 | private static let logger: Logger = Logger(
| | `- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing static property
16 | subsystem: Bundle.main.bundleIdentifier ?? "",
17 | category: "Airship"
[14/15] Compiling AirshipBasement DefaultLogHandler.swift
/Users/admin/builder/spi-builder-workspace/Airship/AirshipBasement/Source/DefaultLogHandler.swift:15:32: error: 'Logger' is only available in macOS 11.0 or newer
6 | /// Default log handler. Logs to either os.Logger or just prints depending on OS version.
7 | @_spi(AirshipInternal)
8 | public final class DefaultLogHandler: AirshipLogHandler {
| `- note: add @available attribute to enclosing class
9 | private let privacyLevel: AirshipLogPrivacyLevel
10 |
:
13 | }
14 |
15 | private static let logger: Logger = Logger(
| | `- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing static property
16 | subsystem: Bundle.main.bundleIdentifier ?? "",
17 | category: "Airship"
/Users/admin/builder/spi-builder-workspace/Airship/AirshipBasement/Source/DefaultLogHandler.swift:15:41: error: 'Logger' is only available in macOS 11.0 or newer
6 | /// Default log handler. Logs to either os.Logger or just prints depending on OS version.
7 | @_spi(AirshipInternal)
8 | public final class DefaultLogHandler: AirshipLogHandler {
| `- note: add @available attribute to enclosing class
9 | private let privacyLevel: AirshipLogPrivacyLevel
10 |
:
13 | }
14 |
15 | private static let logger: Logger = Logger(
| | `- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing static property
16 | subsystem: Bundle.main.bundleIdentifier ?? "",
17 | category: "Airship"
/Users/admin/builder/spi-builder-workspace/Airship/AirshipBasement/Source/DefaultLogHandler.swift:32:17: error: 'OSLogMessage' is only available in macOS 11.0 or newer
6 | /// Default log handler. Logs to either os.Logger or just prints depending on OS version.
7 | @_spi(AirshipInternal)
8 | public final class DefaultLogHandler: AirshipLogHandler {
| `- note: add @available attribute to enclosing class
9 | private let privacyLevel: AirshipLogPrivacyLevel
10 |
:
18 | )
19 |
20 | public func log(
| `- note: add @available attribute to enclosing instance method
21 | logLevel: AirshipLogLevel,
22 | message: String,
:
30 | DefaultLogHandler.logger.log(
31 | level: logLevel.logType,
32 | "\(logMessage, privacy: .private)"
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
33 | )
34 | case .public:
/Users/admin/builder/spi-builder-workspace/Airship/AirshipBasement/Source/DefaultLogHandler.swift:32:19: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
6 | /// Default log handler. Logs to either os.Logger or just prints depending on OS version.
7 | @_spi(AirshipInternal)
8 | public final class DefaultLogHandler: AirshipLogHandler {
| `- note: add @available attribute to enclosing class
9 | private let privacyLevel: AirshipLogPrivacyLevel
10 |
:
18 | )
19 |
20 | public func log(
| `- note: add @available attribute to enclosing instance method
21 | logLevel: AirshipLogLevel,
22 | message: String,
:
30 | DefaultLogHandler.logger.log(
31 | level: logLevel.logType,
32 | "\(logMessage, privacy: .private)"
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
33 | )
34 | case .public:
/Users/admin/builder/spi-builder-workspace/Airship/AirshipBasement/Source/DefaultLogHandler.swift:36:17: error: 'OSLogMessage' is only available in macOS 11.0 or newer
6 | /// Default log handler. Logs to either os.Logger or just prints depending on OS version.
7 | @_spi(AirshipInternal)
8 | public final class DefaultLogHandler: AirshipLogHandler {
| `- note: add @available attribute to enclosing class
9 | private let privacyLevel: AirshipLogPrivacyLevel
10 |
:
18 | )
19 |
20 | public func log(
| `- note: add @available attribute to enclosing instance method
21 | logLevel: AirshipLogLevel,
22 | message: String,
:
34 | case .public:
35 | DefaultLogHandler.logger.notice(
36 | "\(logMessage, privacy: .public)"
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
37 | )
38 | }
/Users/admin/builder/spi-builder-workspace/Airship/AirshipBasement/Source/DefaultLogHandler.swift:36:19: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
6 | /// Default log handler. Logs to either os.Logger or just prints depending on OS version.
7 | @_spi(AirshipInternal)
8 | public final class DefaultLogHandler: AirshipLogHandler {
| `- note: add @available attribute to enclosing class
9 | private let privacyLevel: AirshipLogPrivacyLevel
10 |
:
18 | )
19 |
20 | public func log(
| `- note: add @available attribute to enclosing instance method
21 | logLevel: AirshipLogLevel,
22 | message: String,
:
34 | case .public:
35 | DefaultLogHandler.logger.notice(
36 | "\(logMessage, privacy: .public)"
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
37 | )
38 | }
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/airship.jpg
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Airship/AirshipBasement/Tests/AirshipDateFormatterTest.swift
BUILD FAILURE 6.1 macosSpm