Build Information
Failed to build Appcues, reference main (0d12d4), with Swift 6.1 for macOS (SPM) on 7 Apr 2026 04:26:16 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/appcues/appcues-ios-sdk.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/appcues/appcues-ios-sdk
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 0d12d4d 🍏 Update version to 5.0.2
Cloned https://github.com/appcues/appcues-ios-sdk.git
Revision (git rev-parse @):
0d12d4df0381039e08e8d2ce455e027b00026867
SUCCESS checkout https://github.com/appcues/appcues-ios-sdk.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/appcues/appcues-ios-sdk.git
https://github.com/appcues/appcues-ios-sdk.git
{
"dependencies" : [
],
"manifest_display_name" : "Appcues",
"name" : "Appcues",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
}
],
"products" : [
{
"name" : "AppcuesKit",
"targets" : [
"AppcuesKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AppcuesNotificationService",
"targets" : [
"AppcuesNotificationService"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AppcuesNotificationService",
"module_type" : "SwiftTarget",
"name" : "AppcuesNotificationService",
"path" : "Sources/AppcuesNotificationService",
"product_memberships" : [
"AppcuesNotificationService"
],
"sources" : [
"AppcuesNotificationServiceExtension.swift"
],
"type" : "library"
},
{
"c99name" : "AppcuesKitTests",
"module_type" : "SwiftTarget",
"name" : "AppcuesKitTests",
"path" : "Tests/AppcuesKitTests",
"sources" : [
"Actions/ActionRegistryTests.swift",
"Actions/AppcuesCloseActionTests.swift",
"Actions/AppcuesConditionalActionTests.swift",
"Actions/AppcuesContinueActionTests.swift",
"Actions/AppcuesDelayActionTests.swift",
"Actions/AppcuesLaunchExperienceActionTests.swift",
"Actions/AppcuesLinkActionTests.swift",
"Actions/AppcuesRequestPushActionTests.swift",
"Actions/AppcuesRequestReviewActionTests.swift",
"Actions/AppcuesStepInteractionActionTests.swift",
"Actions/AppcuesSubmitFormActionTests.swift",
"Actions/AppcuesTrackActionTests.swift",
"Actions/AppcuesUpdateProfileActionTests.swift",
"Analytics/ActivityProcessorTests.swift",
"Analytics/AnalyticsBroadcasterTests.swift",
"Analytics/AnalyticsPublisherTests.swift",
"Analytics/AnalyticsTrackerTests.swift",
"Analytics/AutoPropertyDecoratorTests.swift",
"Analytics/SdkMetricsTests.swift",
"Analytics/SessionMonitorTests.swift",
"AppcuesPresentationDelegateTests.swift",
"AppcuesTests.swift",
"CustomComponents/AppcuesExperienceActionsTests.swift",
"CustomComponents/CustomComponentRegistryTests.swift",
"Debugger/APIVerifierTests.swift",
"Debugger/DebugViewModelTests.swift",
"Debugger/DeepLinkVerifierTests.swift",
"Debugger/LoggedEventTests.swift",
"Debugger/ScreenCapturerTests.swift",
"DeepLinkHandlerTests.swift",
"ExperiencePluginConfiguration+Testable.swift",
"Experiences/ClauseTests.swift",
"Experiences/ContentLoaderTests.swift",
"Experiences/EmbedExperienceRendererTests.swift",
"Experiences/ExperienceDataTests.swift",
"Experiences/ExperienceRendererTests.swift",
"Experiences/ExperienceStateMachine+AnalyticsObserverTests.swift",
"Experiences/ExperienceStateMachineTests.swift",
"Experiences/StepRefTests.swift",
"Experiences/StickyExperienceTests.swift",
"Experiences/TooltipWrapperViewFrameTests.swift",
"MockAppcues.swift",
"Mocks.swift",
"Networking/DynamicCodingKeysTests.swift",
"Networking/ExperienceDecodeTests.swift",
"Networking/NetworkClientTests.swift",
"Networking/QualifyResponseDecodeTests.swift",
"Networking/TraitConfigurationDecodeTests.swift",
"PublicAPITests.swift",
"Push/PushMonitorTests.swift",
"SwizzlerTests.swift",
"Traits/AppcuesModalTraitTests.swift",
"Traits/AppcuesStepTransitionAnimationTraitTests.swift",
"Traits/AppcuesTargetElementTraitTests.swift",
"Traits/AppcuesTargetRectangleTraitTests.swift",
"Traits/AppcuesTooltipTraitTests.swift",
"Traits/ExperienceWrapperSlideAnimatorTests.swift",
"Traits/TraitComposerTests.swift",
"Traits/TraitRegistryTests.swift",
"XCTest+Async.swift"
],
"target_dependencies" : [
"AppcuesKit"
],
"type" : "test"
},
{
"c99name" : "AppcuesKit",
"module_type" : "SwiftTarget",
"name" : "AppcuesKit",
"path" : "Sources/AppcuesKit",
"product_memberships" : [
"AppcuesKit"
],
"sources" : [
"Appcues+Config.swift",
"Appcues.swift",
"Data/Analytics/ActivityProcessor.swift",
"Data/Analytics/AnalyticsBroadcaster.swift",
"Data/Analytics/AnalyticsDecorating.swift",
"Data/Analytics/AnalyticsPublisher.swift",
"Data/Analytics/AnalyticsSubscribing.swift",
"Data/Analytics/AnalyticsTracker.swift",
"Data/Analytics/AutoPropertyDecorator.swift",
"Data/Analytics/SessionMonitor.swift",
"Data/Analytics/Storage/ActivityFileStorage.swift",
"Data/Analytics/Storage/ActivityStorage.swift",
"Data/Analytics/TrackingUpdate.swift",
"Data/Analytics/UIKitScreenTracker.swift",
"Data/Events.swift",
"Data/Extensions/Array+Chunked.swift",
"Data/Extensions/Bundle+Custom.swift",
"Data/Extensions/Collection+SafeIndex.swift",
"Data/Extensions/Dictionary+Merging.swift",
"Data/Extensions/HTTPURLResponse+Custom.swift",
"Data/Extensions/NotificationCenter+Custom.swift",
"Data/Extensions/Sequence+CompactMapFirst.swift",
"Data/Extensions/UIViewController+Tracking.swift",
"Data/Extensions/UUID+Custom.swift",
"Data/Logging/Logging.swift",
"Data/Models/Activity.swift",
"Data/Models/ActivityResponse.swift",
"Data/Models/AppcuesError.swift",
"Data/Models/Clause.swift",
"Data/Models/Event.swift",
"Data/Models/Experience.swift",
"Data/Models/Experience/ExperienceComponent+Sticky.swift",
"Data/Models/Experience/ExperienceComponent.swift",
"Data/Models/Experience/StepReference.swift",
"Data/Models/Experiment.swift",
"Data/Models/PushRequest.swift",
"Data/Models/QualifyResponse.swift",
"Data/Models/SdkMetrics.swift",
"Data/Networking/Authorization.swift",
"Data/Networking/DecodingError+Custom.swift",
"Data/Networking/DynamicCodingKeys.swift",
"Data/Networking/Endpoint.swift",
"Data/Networking/NetworkClient.swift",
"Data/Networking/NetworkingError.swift",
"Data/Networking/UnkeyedCodingContainer+Skip.swift",
"Data/Public/AppcuesAnalyticsDelegate.swift",
"Data/Storage.swift",
"Presentation/Actions/ActionRegistry.swift",
"Presentation/Actions/Appcues/AppcuesCloseAction.swift",
"Presentation/Actions/Appcues/AppcuesConditionalAction.swift",
"Presentation/Actions/Appcues/AppcuesContinueAction.swift",
"Presentation/Actions/Appcues/AppcuesDelayAction.swift",
"Presentation/Actions/Appcues/AppcuesLaunchExperienceAction.swift",
"Presentation/Actions/Appcues/AppcuesLinkAction.swift",
"Presentation/Actions/Appcues/AppcuesRequestPushAction.swift",
"Presentation/Actions/Appcues/AppcuesRequestReviewAction.swift",
"Presentation/Actions/Appcues/AppcuesStepInteractionAction.swift",
"Presentation/Actions/Appcues/AppcuesSubmitFormAction.swift",
"Presentation/Actions/Appcues/AppcuesTrackAction.swift",
"Presentation/Actions/Appcues/AppcuesUpdateProfileAction.swift",
"Presentation/Actions/ExperienceActionQueueTransforming.swift",
"Presentation/Actions/InteractionLoggingAction.swift",
"Presentation/ContentLoader.swift",
"Presentation/CustomComponents/AppcuesCustomComponentViewController.swift",
"Presentation/CustomComponents/AppcuesExperienceActions.swift",
"Presentation/Debugger/APIVerifier.swift",
"Presentation/Debugger/DebugLogger.swift",
"Presentation/Debugger/DeepLinkVerifier.swift",
"Presentation/Debugger/FloatingView/DebugUIWindow.swift",
"Presentation/Debugger/FloatingView/DebugView+GestureCalculator.swift",
"Presentation/Debugger/FloatingView/DebugView.swift",
"Presentation/Debugger/FloatingView/DebugViewController.swift",
"Presentation/Debugger/FloatingView/DismissDropZoneView.swift",
"Presentation/Debugger/FloatingView/FleetingItemView.swift",
"Presentation/Debugger/FloatingView/FleetingLogView.swift",
"Presentation/Debugger/FloatingView/FloatingView.swift",
"Presentation/Debugger/FloatingView/UISpringTimingParameters+Custom.swift",
"Presentation/Debugger/Panel/DebugFontUI.swift",
"Presentation/Debugger/Panel/DebugLogUI.swift",
"Presentation/Debugger/Panel/DebugPluginUI.swift",
"Presentation/Debugger/Panel/DebugUI.swift",
"Presentation/Debugger/Panel/DebugViewModel.swift",
"Presentation/Debugger/Panel/LoggedEvent.swift",
"Presentation/Debugger/Panel/StatusItem.swift",
"Presentation/Debugger/Panel/StructuredLifecycleProperties.swift",
"Presentation/Debugger/PushVerifier.swift",
"Presentation/Debugger/ScreenCapturing/AppcuesTargetView.swift",
"Presentation/Debugger/ScreenCapturing/Capture.swift",
"Presentation/Debugger/ScreenCapturing/DebugModalViewController.swift",
"Presentation/Debugger/ScreenCapturing/ScreenCapturer.swift",
"Presentation/Debugger/ScreenCapturing/ScreenshotUpload.swift",
"Presentation/Debugger/ScreenCapturing/SdkSettings.swift",
"Presentation/Debugger/ScreenCapturing/SendCaptureUI.swift",
"Presentation/Debugger/ScreenCapturing/UIKitElementTargeting.swift",
"Presentation/Debugger/ScreenCapturing/UIView+Capture.swift",
"Presentation/Debugger/Toasts/DebugToast.swift",
"Presentation/Debugger/Toasts/ToastUIWindow.swift",
"Presentation/Debugger/Toasts/ToastView.swift",
"Presentation/Debugger/UIDebugger.swift",
"Presentation/DeepLinkHandler.swift",
"Presentation/ExperienceRendering/Dictionary+ExperienceProperties.swift",
"Presentation/ExperienceRendering/ExperienceRenderer.swift",
"Presentation/ExperienceRendering/ExperienceStateMachine+Action.swift",
"Presentation/ExperienceRendering/ExperienceStateMachine+ExperienceError.swift",
"Presentation/ExperienceRendering/ExperienceStateMachine+State.swift",
"Presentation/ExperienceRendering/ExperienceStateMachine.swift",
"Presentation/ExperienceRendering/ExperienceStateObserver.swift",
"Presentation/ExperienceRendering/ExperienceTrigger.swift",
"Presentation/ExperienceRendering/ModalContextManager.swift",
"Presentation/ExperienceRendering/RenderPriority.swift",
"Presentation/ExperienceRendering/StateMachineDirectory.swift",
"Presentation/ExperienceRendering/StepRecoveryObserver.swift",
"Presentation/Extensions/CGPath+Tooltip.swift",
"Presentation/Extensions/CGPoint+Relative.swift",
"Presentation/Extensions/CGRect+Resize.swift",
"Presentation/Extensions/CGSize+PointerSize.swift",
"Presentation/Extensions/Data+Properties.swift",
"Presentation/Extensions/FrameObserverView.swift",
"Presentation/Extensions/HitTestingOverrideUIView.swift",
"Presentation/Extensions/Inits/Alignment+String.swift",
"Presentation/Extensions/Inits/CGFloat+Double.swift",
"Presentation/Extensions/Inits/Color+DynamicColor.swift",
"Presentation/Extensions/Inits/ContentMode+String.swift",
"Presentation/Extensions/Inits/Font+Double.swift",
"Presentation/Extensions/Inits/HorizontalAlignment+String.swift",
"Presentation/Extensions/Inits/Image+BlurHash.swift",
"Presentation/Extensions/Inits/LinearGradient+Init.swift",
"Presentation/Extensions/Inits/NSDirectionalEdgeInsets+Style.swift",
"Presentation/Extensions/Inits/TextAlignment+String.swift",
"Presentation/Extensions/Inits/UIColor+Hex.swift",
"Presentation/Extensions/Inits/VerticalAlignment+String.swift",
"Presentation/Extensions/NSCollectionLayoutSection+Factory.swift",
"Presentation/Extensions/ReusableView.swift",
"Presentation/Extensions/UIApplication+TopViewController.swift",
"Presentation/Extensions/UIScrollView+ScrollObserver.swift",
"Presentation/Extensions/UIView+Constrain.swift",
"Presentation/Extensions/UIView+FirstResponder.swift",
"Presentation/Extensions/UIViewController+Embed.swift",
"Presentation/Extensions/View+Appcues.swift",
"Presentation/Extensions/View+Conditional.swift",
"Presentation/Generated/Appcues+ResourceBundle.swift",
"Presentation/Generated/Asset+Generated.swift",
"Presentation/Public/AppcuesExperienceDelegate.swift",
"Presentation/Public/AppcuesNavigationDelegate.swift",
"Presentation/Public/AppcuesPresentationDelegate.swift",
"Presentation/Public/ElementTargeting/AppcuesElementSelector.swift",
"Presentation/Public/ElementTargeting/AppcuesElementTargeting.swift",
"Presentation/Public/ElementTargeting/AppcuesViewElement.swift",
"Presentation/Public/ElementTargeting/View+AppcuesView.swift",
"Presentation/Public/Plugins/AppcuesExperienceAction.swift",
"Presentation/Public/Plugins/AppcuesExperienceContainerEventHandler.swift",
"Presentation/Public/Plugins/AppcuesExperienceContainerViewController.swift",
"Presentation/Public/Plugins/AppcuesExperiencePageMonitor.swift",
"Presentation/Public/Plugins/AppcuesExperiencePluginConfiguration.swift",
"Presentation/Public/Plugins/AppcuesExperienceTrait.swift",
"Presentation/Public/Plugins/AppcuesTraitError.swift",
"Presentation/Public/Plugins/AppcuesTraitMetadata.swift",
"Presentation/Public/Plugins/AppcuesTraitMetadataDelegate.swift",
"Presentation/Public/UIWindow+Appcues.swift",
"Presentation/Traits/Appcues/AppcuesBackdropKeyholeTrait.swift",
"Presentation/Traits/Appcues/AppcuesBackdropTrait.swift",
"Presentation/Traits/Appcues/AppcuesBackgroundContentTrait.swift",
"Presentation/Traits/Appcues/AppcuesCarouselTrait.swift",
"Presentation/Traits/Appcues/AppcuesEffectsTrait.swift",
"Presentation/Traits/Appcues/AppcuesEmbeddedTrait.swift",
"Presentation/Traits/Appcues/AppcuesModalTrait.swift",
"Presentation/Traits/Appcues/AppcuesPagingDotsTrait.swift",
"Presentation/Traits/Appcues/AppcuesSkippableTrait.swift",
"Presentation/Traits/Appcues/AppcuesStepTransitionAnimationTrait.swift",
"Presentation/Traits/Appcues/AppcuesTargetElementTrait.swift",
"Presentation/Traits/Appcues/AppcuesTargetInteractionTrait.swift",
"Presentation/Traits/Appcues/AppcuesTargetRectangleTrait.swift",
"Presentation/Traits/Appcues/AppcuesTooltipTrait.swift",
"Presentation/Traits/Appcues/ExperienceWrapperSlideAnimator.swift",
"Presentation/Traits/Appcues/ExperienceWrapperView.swift",
"Presentation/Traits/Appcues/ExperienceWrapperViewController+DragDirection.swift",
"Presentation/Traits/Appcues/ExperienceWrapperViewController.swift",
"Presentation/Traits/Appcues/TooltipWrapperView.swift",
"Presentation/Traits/DefaultContainerViewController.swift",
"Presentation/Traits/ExperiencePackage.swift",
"Presentation/Traits/TraitComposer.swift",
"Presentation/Traits/TraitRegistry.swift",
"Presentation/UI/AppcuesFrame.swift",
"Presentation/UI/AppcuesFrameView.swift",
"Presentation/UI/AppcuesHostingController.swift",
"Presentation/UI/AppcuesStyle.swift",
"Presentation/UI/Components/AnimatedImage.swift",
"Presentation/UI/Components/AppcuesBox.swift",
"Presentation/UI/Components/AppcuesButton.swift",
"Presentation/UI/Components/AppcuesCustomComponent.swift",
"Presentation/UI/Components/AppcuesEmbed.swift",
"Presentation/UI/Components/AppcuesImage.swift",
"Presentation/UI/Components/AppcuesOptionSelect.swift",
"Presentation/UI/Components/AppcuesStack.swift",
"Presentation/UI/Components/AppcuesText.swift",
"Presentation/UI/Components/AppcuesTextInput.swift",
"Presentation/UI/Components/EmbedWebView.swift",
"Presentation/UI/Components/EnvironmentValues+ImageCache.swift",
"Presentation/UI/Components/EqualWidthStack.swift",
"Presentation/UI/Components/ExperienceComponent+View.swift",
"Presentation/UI/Components/MultilineTextView.swift",
"Presentation/UI/Components/NPSView.swift",
"Presentation/UI/Components/RemoteImage.swift",
"Presentation/UI/Components/SelectToggleView.swift",
"Presentation/UI/Components/SessionImageCache.swift",
"Presentation/UI/Components/TintedTextView.swift",
"Presentation/UI/CustomComponentRegistry.swift",
"Presentation/UI/DynamicContentSizing.swift",
"Presentation/UI/ExperienceData.swift",
"Presentation/UI/ExperienceStepRootView.swift",
"Presentation/UI/ExperienceStepViewController.swift",
"Presentation/UI/ExperienceStepViewModel.swift",
"Push/ParsedNotification.swift",
"Push/PushAutoConfig.swift",
"Push/PushEnvironment.swift",
"Push/PushMonitor.swift",
"Push/UIApplication+AutoConfig.swift",
"Push/UNUserNotificationCenter+AutoConfig.swift",
"Utilities/DIContainer.swift",
"Utilities/Swizzler.swift",
"Vendor/FLAnimatedImage.swift",
"Vendor/FLAnimatedImageView.swift",
"Vendor/UIImage+BlurHash.swift",
"Version.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/208] Emitting module AppcuesNotificationService
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:23:27: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
22 |
23 | var contentHandler: ((UNNotificationContent) -> Void)?
| `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
24 | var bestAttemptContent: UNMutableNotificationContent?
25 |
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:24:29: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
22 |
23 | var contentHandler: ((UNNotificationContent) -> Void)?
24 | var bestAttemptContent: UNMutableNotificationContent?
| `- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
25 |
26 | override public func didReceive(
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:27:20: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
22 |
23 | var contentHandler: ((UNNotificationContent) -> Void)?
24 | var bestAttemptContent: UNMutableNotificationContent?
25 |
26 | override public func didReceive(
| `- note: add @available attribute to enclosing instance method
27 | _ request: UNNotificationRequest,
| `- error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
28 | withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void
29 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:28:55: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
22 |
23 | var contentHandler: ((UNNotificationContent) -> Void)?
24 | var bestAttemptContent: UNMutableNotificationContent?
25 |
26 | override public func didReceive(
| `- note: add @available attribute to enclosing instance method
27 | _ request: UNNotificationRequest,
28 | withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void
| `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
29 | ) {
30 | self.contentHandler = contentHandler
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:46:39: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
22 |
23 | var contentHandler: ((UNNotificationContent) -> Void)?
:
44 | }
45 |
46 | func processAttachment(_ content: UNMutableNotificationContent, _ contentHandler: @escaping (UNNotificationContent) -> Void) {
| | `- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing instance method
47 | guard let attachment = content.userInfo["appcues_attachment_url"] as? String,
48 | let attachmentURL = URL(string: attachment) else {
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:46:98: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
22 |
23 | var contentHandler: ((UNNotificationContent) -> Void)?
:
44 | }
45 |
46 | func processAttachment(_ content: UNMutableNotificationContent, _ contentHandler: @escaping (UNNotificationContent) -> Void) {
| | `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing instance method
47 | guard let attachment = content.userInfo["appcues_attachment_url"] as? String,
48 | let attachmentURL = URL(string: attachment) else {
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:21:49: error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
| | `- error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing class
22 |
23 | var contentHandler: ((UNNotificationContent) -> Void)?
[5/208] Compiling AppcuesNotificationService AppcuesNotificationServiceExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:23:27: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
22 |
23 | var contentHandler: ((UNNotificationContent) -> Void)?
| `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
24 | var bestAttemptContent: UNMutableNotificationContent?
25 |
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:24:29: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
22 |
23 | var contentHandler: ((UNNotificationContent) -> Void)?
24 | var bestAttemptContent: UNMutableNotificationContent?
| `- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
25 |
26 | override public func didReceive(
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:27:20: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
22 |
23 | var contentHandler: ((UNNotificationContent) -> Void)?
24 | var bestAttemptContent: UNMutableNotificationContent?
25 |
26 | override public func didReceive(
| `- note: add @available attribute to enclosing instance method
27 | _ request: UNNotificationRequest,
| `- error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
28 | withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void
29 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:28:55: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
22 |
23 | var contentHandler: ((UNNotificationContent) -> Void)?
24 | var bestAttemptContent: UNMutableNotificationContent?
25 |
26 | override public func didReceive(
| `- note: add @available attribute to enclosing instance method
27 | _ request: UNNotificationRequest,
28 | withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void
| `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
29 | ) {
30 | self.contentHandler = contentHandler
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:46:39: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
22 |
23 | var contentHandler: ((UNNotificationContent) -> Void)?
:
44 | }
45 |
46 | func processAttachment(_ content: UNMutableNotificationContent, _ contentHandler: @escaping (UNNotificationContent) -> Void) {
| | `- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing instance method
47 | guard let attachment = content.userInfo["appcues_attachment_url"] as? String,
48 | let attachmentURL = URL(string: attachment) else {
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:46:98: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
22 |
23 | var contentHandler: ((UNNotificationContent) -> Void)?
:
44 | }
45 |
46 | func processAttachment(_ content: UNMutableNotificationContent, _ contentHandler: @escaping (UNNotificationContent) -> Void) {
| | `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing instance method
47 | guard let attachment = content.userInfo["appcues_attachment_url"] as? String,
48 | let attachmentURL = URL(string: attachment) else {
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:21:49: error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
| | `- error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing class
22 |
23 | var contentHandler: ((UNNotificationContent) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:31:65: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
22 |
23 | var contentHandler: ((UNNotificationContent) -> Void)?
24 | var bestAttemptContent: UNMutableNotificationContent?
25 |
26 | override public func didReceive(
| `- note: add @available attribute to enclosing instance method
27 | _ request: UNNotificationRequest,
28 | withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void
29 | ) {
30 | self.contentHandler = contentHandler
31 | bestAttemptContent = (request.content.mutableCopy() as? UNMutableNotificationContent)
| |- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
32 |
33 | if let bestAttemptContent = bestAttemptContent {
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:69:38: error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
22 |
23 | var contentHandler: ((UNNotificationContent) -> Void)?
:
44 | }
45 |
46 | func processAttachment(_ content: UNMutableNotificationContent, _ contentHandler: @escaping (UNNotificationContent) -> Void) {
| `- note: add @available attribute to enclosing instance method
47 | guard let attachment = content.userInfo["appcues_attachment_url"] as? String,
48 | let attachmentURL = URL(string: attachment) else {
:
67 | do {
68 | try FileManager.default.moveItem(at: downloadedURL, to: tmpFileURL)
69 | let attachment = try UNNotificationAttachment(identifier: imageFileIdentifier, url: tmpFileURL)
| |- error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
70 | content.attachments = [attachment]
71 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:55:17: warning: capture of 'contentHandler' with non-sendable type '(UNNotificationContent) -> Void' in a '@Sendable' closure
53 | let dataTask = URLSession.shared.downloadTask(with: attachmentURL) { url, response, error in
54 | guard let downloadedURL = url, error == nil else {
55 | contentHandler(content)
| |- warning: capture of 'contentHandler' with non-sendable type '(UNNotificationContent) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
56 | return
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:55:32: warning: capture of 'content' with non-sendable type 'UNMutableNotificationContent' in a '@Sendable' closure
53 | let dataTask = URLSession.shared.downloadTask(with: attachmentURL) { url, response, error in
54 | guard let downloadedURL = url, error == nil else {
55 | contentHandler(content)
| `- warning: capture of 'content' with non-sendable type 'UNMutableNotificationContent' in a '@Sendable' closure
56 | return
57 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:98:12: note: class 'UNMutableNotificationContent' does not conform to the 'Sendable' protocol
96 |
97 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
98 | @interface UNMutableNotificationContent : UNNotificationContent
| `- note: class 'UNMutableNotificationContent' does not conform to the 'Sendable' protocol
99 |
100 | // Optional array of attachments.
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserNotifications'
7 | //
8 |
9 | import UserNotifications
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserNotifications'
10 | import UniformTypeIdentifiers
11 | import CoreServices
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:89:20: error: 'UTType' is only available in macOS 11.0 or newer
80 | }
81 |
82 | extension URLResponse {
| `- note: add @available attribute to enclosing extension
83 | var fileType: String? {
| `- note: add @available attribute to enclosing property
84 | guard let mimeType = self.mimeType else {
85 | return self.url?.pathExtension
:
87 |
88 | if #available(iOS 14.0, *) {
89 | return UTType(mimeType: mimeType)?.preferredFilenameExtension
| |- error: 'UTType' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
90 | } else {
91 | guard let mimeUTI = UTTypeCreatePreferredIdentifierForTag(kUTTagClassMIMEType, mimeType as CFString, nil)?.takeUnretainedValue(),
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:89:20: error: 'init(mimeType:conformingTo:)' is only available in macOS 11.0 or newer
80 | }
81 |
82 | extension URLResponse {
| `- note: add @available attribute to enclosing extension
83 | var fileType: String? {
| `- note: add @available attribute to enclosing property
84 | guard let mimeType = self.mimeType else {
85 | return self.url?.pathExtension
:
87 |
88 | if #available(iOS 14.0, *) {
89 | return UTType(mimeType: mimeType)?.preferredFilenameExtension
| |- error: 'init(mimeType:conformingTo:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
90 | } else {
91 | guard let mimeUTI = UTTypeCreatePreferredIdentifierForTag(kUTTagClassMIMEType, mimeType as CFString, nil)?.takeUnretainedValue(),
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:89:48: error: 'preferredFilenameExtension' is only available in macOS 11.0 or newer
80 | }
81 |
82 | extension URLResponse {
| `- note: add @available attribute to enclosing extension
83 | var fileType: String? {
| `- note: add @available attribute to enclosing property
84 | guard let mimeType = self.mimeType else {
85 | return self.url?.pathExtension
:
87 |
88 | if #available(iOS 14.0, *) {
89 | return UTType(mimeType: mimeType)?.preferredFilenameExtension
| |- error: 'preferredFilenameExtension' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
90 | } else {
91 | guard let mimeUTI = UTTypeCreatePreferredIdentifierForTag(kUTTagClassMIMEType, mimeType as CFString, nil)?.takeUnretainedValue(),
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/Sources/AppcuesKit/Presentation/Assets.xcassets
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/206] Emitting module AppcuesNotificationService
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:23:27: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
22 |
23 | var contentHandler: ((UNNotificationContent) -> Void)?
| `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
24 | var bestAttemptContent: UNMutableNotificationContent?
25 |
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:24:29: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
22 |
23 | var contentHandler: ((UNNotificationContent) -> Void)?
24 | var bestAttemptContent: UNMutableNotificationContent?
| `- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
25 |
26 | override public func didReceive(
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:27:20: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
22 |
23 | var contentHandler: ((UNNotificationContent) -> Void)?
24 | var bestAttemptContent: UNMutableNotificationContent?
25 |
26 | override public func didReceive(
| `- note: add @available attribute to enclosing instance method
27 | _ request: UNNotificationRequest,
| `- error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
28 | withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void
29 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:28:55: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
22 |
23 | var contentHandler: ((UNNotificationContent) -> Void)?
24 | var bestAttemptContent: UNMutableNotificationContent?
25 |
26 | override public func didReceive(
| `- note: add @available attribute to enclosing instance method
27 | _ request: UNNotificationRequest,
28 | withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void
| `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
29 | ) {
30 | self.contentHandler = contentHandler
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:46:39: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
22 |
23 | var contentHandler: ((UNNotificationContent) -> Void)?
:
44 | }
45 |
46 | func processAttachment(_ content: UNMutableNotificationContent, _ contentHandler: @escaping (UNNotificationContent) -> Void) {
| | `- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing instance method
47 | guard let attachment = content.userInfo["appcues_attachment_url"] as? String,
48 | let attachmentURL = URL(string: attachment) else {
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:46:98: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
22 |
23 | var contentHandler: ((UNNotificationContent) -> Void)?
:
44 | }
45 |
46 | func processAttachment(_ content: UNMutableNotificationContent, _ contentHandler: @escaping (UNNotificationContent) -> Void) {
| | `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing instance method
47 | guard let attachment = content.userInfo["appcues_attachment_url"] as? String,
48 | let attachmentURL = URL(string: attachment) else {
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:21:49: error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
| | `- error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing class
22 |
23 | var contentHandler: ((UNNotificationContent) -> Void)?
[3/206] Compiling AppcuesNotificationService AppcuesNotificationServiceExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:23:27: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
22 |
23 | var contentHandler: ((UNNotificationContent) -> Void)?
| `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
24 | var bestAttemptContent: UNMutableNotificationContent?
25 |
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:24:29: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
22 |
23 | var contentHandler: ((UNNotificationContent) -> Void)?
24 | var bestAttemptContent: UNMutableNotificationContent?
| `- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
25 |
26 | override public func didReceive(
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:27:20: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
22 |
23 | var contentHandler: ((UNNotificationContent) -> Void)?
24 | var bestAttemptContent: UNMutableNotificationContent?
25 |
26 | override public func didReceive(
| `- note: add @available attribute to enclosing instance method
27 | _ request: UNNotificationRequest,
| `- error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
28 | withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void
29 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:28:55: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
22 |
23 | var contentHandler: ((UNNotificationContent) -> Void)?
24 | var bestAttemptContent: UNMutableNotificationContent?
25 |
26 | override public func didReceive(
| `- note: add @available attribute to enclosing instance method
27 | _ request: UNNotificationRequest,
28 | withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void
| `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
29 | ) {
30 | self.contentHandler = contentHandler
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:46:39: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
22 |
23 | var contentHandler: ((UNNotificationContent) -> Void)?
:
44 | }
45 |
46 | func processAttachment(_ content: UNMutableNotificationContent, _ contentHandler: @escaping (UNNotificationContent) -> Void) {
| | `- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing instance method
47 | guard let attachment = content.userInfo["appcues_attachment_url"] as? String,
48 | let attachmentURL = URL(string: attachment) else {
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:46:98: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
22 |
23 | var contentHandler: ((UNNotificationContent) -> Void)?
:
44 | }
45 |
46 | func processAttachment(_ content: UNMutableNotificationContent, _ contentHandler: @escaping (UNNotificationContent) -> Void) {
| | `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing instance method
47 | guard let attachment = content.userInfo["appcues_attachment_url"] as? String,
48 | let attachmentURL = URL(string: attachment) else {
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:21:49: error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
| | `- error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing class
22 |
23 | var contentHandler: ((UNNotificationContent) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:31:65: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
22 |
23 | var contentHandler: ((UNNotificationContent) -> Void)?
24 | var bestAttemptContent: UNMutableNotificationContent?
25 |
26 | override public func didReceive(
| `- note: add @available attribute to enclosing instance method
27 | _ request: UNNotificationRequest,
28 | withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void
29 | ) {
30 | self.contentHandler = contentHandler
31 | bestAttemptContent = (request.content.mutableCopy() as? UNMutableNotificationContent)
| |- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
32 |
33 | if let bestAttemptContent = bestAttemptContent {
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:69:38: error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
| `- note: add @available attribute to enclosing class
22 |
23 | var contentHandler: ((UNNotificationContent) -> Void)?
:
44 | }
45 |
46 | func processAttachment(_ content: UNMutableNotificationContent, _ contentHandler: @escaping (UNNotificationContent) -> Void) {
| `- note: add @available attribute to enclosing instance method
47 | guard let attachment = content.userInfo["appcues_attachment_url"] as? String,
48 | let attachmentURL = URL(string: attachment) else {
:
67 | do {
68 | try FileManager.default.moveItem(at: downloadedURL, to: tmpFileURL)
69 | let attachment = try UNNotificationAttachment(identifier: imageFileIdentifier, url: tmpFileURL)
| |- error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
70 | content.attachments = [attachment]
71 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:89:20: error: 'UTType' is only available in macOS 11.0 or newer
80 | }
81 |
82 | extension URLResponse {
| `- note: add @available attribute to enclosing extension
83 | var fileType: String? {
| `- note: add @available attribute to enclosing property
84 | guard let mimeType = self.mimeType else {
85 | return self.url?.pathExtension
:
87 |
88 | if #available(iOS 14.0, *) {
89 | return UTType(mimeType: mimeType)?.preferredFilenameExtension
| |- error: 'UTType' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
90 | } else {
91 | guard let mimeUTI = UTTypeCreatePreferredIdentifierForTag(kUTTagClassMIMEType, mimeType as CFString, nil)?.takeUnretainedValue(),
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:89:20: error: 'init(mimeType:conformingTo:)' is only available in macOS 11.0 or newer
80 | }
81 |
82 | extension URLResponse {
| `- note: add @available attribute to enclosing extension
83 | var fileType: String? {
| `- note: add @available attribute to enclosing property
84 | guard let mimeType = self.mimeType else {
85 | return self.url?.pathExtension
:
87 |
88 | if #available(iOS 14.0, *) {
89 | return UTType(mimeType: mimeType)?.preferredFilenameExtension
| |- error: 'init(mimeType:conformingTo:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
90 | } else {
91 | guard let mimeUTI = UTTypeCreatePreferredIdentifierForTag(kUTTagClassMIMEType, mimeType as CFString, nil)?.takeUnretainedValue(),
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:89:48: error: 'preferredFilenameExtension' is only available in macOS 11.0 or newer
80 | }
81 |
82 | extension URLResponse {
| `- note: add @available attribute to enclosing extension
83 | var fileType: String? {
| `- note: add @available attribute to enclosing property
84 | guard let mimeType = self.mimeType else {
85 | return self.url?.pathExtension
:
87 |
88 | if #available(iOS 14.0, *) {
89 | return UTType(mimeType: mimeType)?.preferredFilenameExtension
| |- error: 'preferredFilenameExtension' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
90 | } else {
91 | guard let mimeUTI = UTTypeCreatePreferredIdentifierForTag(kUTTagClassMIMEType, mimeType as CFString, nil)?.takeUnretainedValue(),
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/Sources/AppcuesKit/Presentation/Assets.xcassets
BUILD FAILURE 6.1 macosSpm