Build Information
Failed to build AAInfographics-Pro, reference 0.0.4 (256068
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 12:49:24 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AAChartModel/AAChartKit-Swift-Pro.git
Reference: 0.0.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/AAChartModel/AAChartKit-Swift-Pro
* tag 0.0.4 -> FETCH_HEAD
HEAD is now at 2560681 Update AAInfographics-Pro.podspec
Cloned https://github.com/AAChartModel/AAChartKit-Swift-Pro.git
Revision (git rev-parse @):
25606816f9962b80153e297c29c684917ae4c784
SUCCESS checkout https://github.com/AAChartModel/AAChartKit-Swift-Pro.git at 0.0.4
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "aachartkit-swift-pro",
"name": "AAInfographics-Pro",
"url": "https://github.com/AAChartModel/AAChartKit-Swift-Pro.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AAChartKit-Swift-Pro",
"dependencies": [
]
}
]
}
Fetching https://github.com/AAChartModel/AAChartKit-Swift-Pro.git
[1/1533] Fetching aachartkit-swift-pro
Fetched https://github.com/AAChartModel/AAChartKit-Swift-Pro.git from cache (1.07s)
Creating working copy for https://github.com/AAChartModel/AAChartKit-Swift-Pro.git
Working copy of https://github.com/AAChartModel/AAChartKit-Swift-Pro.git resolved at 0.0.4 (2560681)
warning: '.resolve-product-dependencies': dependency 'aachartkit-swift-pro' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/AAChartModel/AAChartKit-Swift-Pro.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[1/3] Copying AAJSFiles.bundle
[2/3] Write swift-version--7754E27361AE5C74.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/46] Emitting module AAInfographics_Pro
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:535:6: error: stored properties cannot be marked unavailable with '@available'
533 |
534 |
535 | @available(*, unavailable, message: "please use titleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
536 | public var titleFontColor: String? //The chart title font color
537 | @available(*, unavailable, message: "please use titleStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:537:6: error: stored properties cannot be marked unavailable with '@available'
535 | @available(*, unavailable, message: "please use titleStyle instead of it")
536 | public var titleFontColor: String? //The chart title font color
537 | @available(*, unavailable, message: "please use titleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
538 | public var titleFontSize: Float? //The chart title font size
539 | @available(*, unavailable, message: "please use titleStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:539:6: error: stored properties cannot be marked unavailable with '@available'
537 | @available(*, unavailable, message: "please use titleStyle instead of it")
538 | public var titleFontSize: Float? //The chart title font size
539 | @available(*, unavailable, message: "please use titleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
540 | public var titleFontWeight: AAChartFontWeightType? //The chart font weight
541 |
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:542:6: error: stored properties cannot be marked unavailable with '@available'
540 | public var titleFontWeight: AAChartFontWeightType? //The chart font weight
541 |
542 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
543 | public var subtitleFontColor: String? //The chart subtitle font color
544 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:544:6: error: stored properties cannot be marked unavailable with '@available'
542 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
543 | public var subtitleFontColor: String? //The chart subtitle font color
544 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
545 | public var subtitleFontSize: Float? //The chart subtitle font size
546 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:546:6: error: stored properties cannot be marked unavailable with '@available'
544 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
545 | public var subtitleFontSize: Float? //The chart subtitle font size
546 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
547 | public var subtitleFontWeight: AAChartFontWeightType? //The chart subtitle font weight
548 |
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:549:6: error: stored properties cannot be marked unavailable with '@available'
547 | public var subtitleFontWeight: AAChartFontWeightType? //The chart subtitle font weight
548 |
549 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
550 | public var dataLabelsFontColor: String? //The data labels font color
551 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:551:6: error: stored properties cannot be marked unavailable with '@available'
549 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
550 | public var dataLabelsFontColor: String? //The data labels font color
551 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
552 | public var dataLabelsFontSize: Float? //The data labels font size
553 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:553:6: error: stored properties cannot be marked unavailable with '@available'
551 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
552 | public var dataLabelsFontSize: Float? //The data labels font size
553 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
554 | public var dataLabelsFontWeight: AAChartFontWeightType?//The data labels font weight
555 |
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:556:6: error: stored properties cannot be marked unavailable with '@available'
554 | public var dataLabelsFontWeight: AAChartFontWeightType?//The data labels font weight
555 |
556 | @available(*, unavailable, message: "please use xAxisLabelsStyle or yAxisLabelsStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
557 | public var axesTextColor: String? //The labels font color of chart x axis and y axis
558 |
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:559:6: error: stored properties cannot be marked unavailable with '@available'
557 | public var axesTextColor: String? //The labels font color of chart x axis and y axis
558 |
559 | @available(*, unavailable, message: "This property is useless now, please remove it directly")
| `- error: stored properties cannot be marked unavailable with '@available'
560 | public var touchEventEnabled: Bool? //Support touch event call back or not
561 |
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartView.swift:614:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
612 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
613 | extension AAChartView: WKUIDelegate {
614 | open func webView(
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
615 | _ webView: WKWebView,
616 | runJavaScriptAlertPanelWithMessage message: String,
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartView.swift:614:15: warning: instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' nearly matches optional requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' of protocol 'WKUIDelegate'
612 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
613 | extension AAChartView: WKUIDelegate {
614 | open func webView(
| |- warning: instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' nearly matches optional requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' of protocol 'WKUIDelegate'
| |- note: candidate has non-matching type '(WKWebView, String, WKFrameInfo, @escaping () -> Void) -> ()'
| `- note: move 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' to another extension to silence this warning
615 | _ webView: WKWebView,
616 | runJavaScriptAlertPanelWithMessage message: String,
WebKit.WKUIDelegate:9:30: note: requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
7 | optional func webViewDidClose(_ webView: WKWebView)
8 | @available(macOS 10.10, *)
9 | @MainActor optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler: @escaping @MainActor @Sendable () -> Void)
| `- note: requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
10 | @available(macOS 10.10, *)
11 | optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo) async
[5/50] Compiling AAInfographics_Pro AADataLabels.swift
[6/50] Compiling AAInfographics_Pro AALabel.swift
[7/50] Compiling AAInfographics_Pro AALabels.swift
[8/50] Compiling AAInfographics_Pro AALang.swift
[9/50] Compiling AAInfographics_Pro AALegend.swift
[10/50] Compiling AAInfographics_Pro AALayoutAlgorithm.swift
[11/50] Compiling AAInfographics_Pro AALevelsElement.swift
[12/50] Compiling AAInfographics_Pro AAPackedbubble.swift
[13/50] Compiling AAInfographics_Pro AAParallelAxes.swift
[14/50] Compiling AAInfographics_Pro AASolidgauge.swift
[15/50] Compiling AAInfographics_Pro AASolidgaugeDataElement.swift
[16/50] Compiling AAInfographics_Pro AATreemap.swift
[17/50] Compiling AAInfographics_Pro AAColor.swift
[18/50] Compiling AAInfographics_Pro AAScrollablePlotArea.swift
[19/50] Compiling AAInfographics_Pro AASeries.swift
[20/50] Compiling AAInfographics_Pro AAStates.swift
[21/50] Compiling AAInfographics_Pro AAStyle.swift
[22/50] Compiling AAInfographics_Pro AASubtitle.swift
[23/50] Compiling AAInfographics_Pro AAColorAxis.swift
[24/50] Compiling AAInfographics_Pro AAData.swift
[25/50] Compiling AAInfographics_Pro AAHeatmap.swift
[26/50] Compiling AAInfographics_Pro AAItem.swift
[27/50] Compiling AAInfographics_Pro AATitle.swift
[28/50] Compiling AAInfographics_Pro AATooltip.swift
[29/50] Compiling AAInfographics_Pro AAXAxis.swift
[30/50] Compiling AAInfographics_Pro AAYAxis.swift
[31/50] Compiling AAInfographics_Pro AABulletDataElement.swift
[32/50] Compiling AAInfographics_Pro AAAnimation.swift
[33/50] Compiling AAInfographics_Pro AAAxis.swift
[34/50] Compiling AAInfographics_Pro AAChart.swift
[35/50] Compiling AAInfographics_Pro AACredits.swift
[36/50] Compiling AAInfographics_Pro AACrosshair.swift
[37/50] Compiling AAInfographics_Pro AAMarker.swift
[38/50] Compiling AAInfographics_Pro AAPane.swift
[39/50] Compiling AAInfographics_Pro AAPlotBandsElement.swift
[40/50] Compiling AAInfographics_Pro AAPlotLinesElement.swift
[41/50] Compiling AAInfographics_Pro AAPlotOptions.swift
[42/50] Compiling AAInfographics_Pro AAExtension.swift
[43/50] Compiling AAInfographics_Pro AAGradientColor.swift
[44/50] Compiling AAInfographics_Pro PackageBundlePathLoader.swift
[45/50] Compiling AAInfographics_Pro resource_bundle_accessor.swift
[46/50] Compiling AAInfographics_Pro AAChartModel.swift
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:535:6: error: stored properties cannot be marked unavailable with '@available'
533 |
534 |
535 | @available(*, unavailable, message: "please use titleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
536 | public var titleFontColor: String? //The chart title font color
537 | @available(*, unavailable, message: "please use titleStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:537:6: error: stored properties cannot be marked unavailable with '@available'
535 | @available(*, unavailable, message: "please use titleStyle instead of it")
536 | public var titleFontColor: String? //The chart title font color
537 | @available(*, unavailable, message: "please use titleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
538 | public var titleFontSize: Float? //The chart title font size
539 | @available(*, unavailable, message: "please use titleStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:539:6: error: stored properties cannot be marked unavailable with '@available'
537 | @available(*, unavailable, message: "please use titleStyle instead of it")
538 | public var titleFontSize: Float? //The chart title font size
539 | @available(*, unavailable, message: "please use titleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
540 | public var titleFontWeight: AAChartFontWeightType? //The chart font weight
541 |
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:542:6: error: stored properties cannot be marked unavailable with '@available'
540 | public var titleFontWeight: AAChartFontWeightType? //The chart font weight
541 |
542 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
543 | public var subtitleFontColor: String? //The chart subtitle font color
544 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:544:6: error: stored properties cannot be marked unavailable with '@available'
542 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
543 | public var subtitleFontColor: String? //The chart subtitle font color
544 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
545 | public var subtitleFontSize: Float? //The chart subtitle font size
546 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:546:6: error: stored properties cannot be marked unavailable with '@available'
544 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
545 | public var subtitleFontSize: Float? //The chart subtitle font size
546 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
547 | public var subtitleFontWeight: AAChartFontWeightType? //The chart subtitle font weight
548 |
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:549:6: error: stored properties cannot be marked unavailable with '@available'
547 | public var subtitleFontWeight: AAChartFontWeightType? //The chart subtitle font weight
548 |
549 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
550 | public var dataLabelsFontColor: String? //The data labels font color
551 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:551:6: error: stored properties cannot be marked unavailable with '@available'
549 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
550 | public var dataLabelsFontColor: String? //The data labels font color
551 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
552 | public var dataLabelsFontSize: Float? //The data labels font size
553 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:553:6: error: stored properties cannot be marked unavailable with '@available'
551 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
552 | public var dataLabelsFontSize: Float? //The data labels font size
553 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
554 | public var dataLabelsFontWeight: AAChartFontWeightType?//The data labels font weight
555 |
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:556:6: error: stored properties cannot be marked unavailable with '@available'
554 | public var dataLabelsFontWeight: AAChartFontWeightType?//The data labels font weight
555 |
556 | @available(*, unavailable, message: "please use xAxisLabelsStyle or yAxisLabelsStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
557 | public var axesTextColor: String? //The labels font color of chart x axis and y axis
558 |
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:559:6: error: stored properties cannot be marked unavailable with '@available'
557 | public var axesTextColor: String? //The labels font color of chart x axis and y axis
558 |
559 | @available(*, unavailable, message: "This property is useless now, please remove it directly")
| `- error: stored properties cannot be marked unavailable with '@available'
560 | public var touchEventEnabled: Bool? //Support touch event call back or not
561 |
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartView.swift:614:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
612 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
613 | extension AAChartView: WKUIDelegate {
614 | open func webView(
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
615 | _ webView: WKWebView,
616 | runJavaScriptAlertPanelWithMessage message: String,
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartView.swift:614:15: warning: instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' nearly matches optional requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' of protocol 'WKUIDelegate'
612 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
613 | extension AAChartView: WKUIDelegate {
614 | open func webView(
| |- warning: instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' nearly matches optional requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' of protocol 'WKUIDelegate'
| |- note: candidate has non-matching type '(WKWebView, String, WKFrameInfo, @escaping () -> Void) -> ()'
| `- note: move 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' to another extension to silence this warning
615 | _ webView: WKWebView,
616 | runJavaScriptAlertPanelWithMessage message: String,
WebKit.WKUIDelegate:9:30: note: requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
7 | optional func webViewDidClose(_ webView: WKWebView)
8 | @available(macOS 10.10, *)
9 | @MainActor optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler: @escaping @MainActor @Sendable () -> Void)
| `- note: requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
10 | @available(macOS 10.10, *)
11 | optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo) async
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartView.swift:296:45: warning: call to main actor-isolated instance method 'removeAllUserScripts()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
294 |
295 | deinit {
296 | configuration.userContentController.removeAllUserScripts()
| `- warning: call to main actor-isolated instance method 'removeAllUserScripts()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
297 | NotificationCenter.default.removeObserver(self)
298 | #if DEBUG
WebKit.WKUserContentController:5:26: note: calls to instance method 'removeAllUserScripts()' from outside of its actor context are implicitly asynchronous
3 | open var userScripts: [WKUserScript] { get }
4 | open func addUserScript(_ userScript: WKUserScript)
5 | @MainActor open func removeAllUserScripts()
| `- note: calls to instance method 'removeAllUserScripts()' from outside of its actor context are implicitly asynchronous
6 | @available(macOS 11.0, *)
7 | open func add(_ scriptMessageHandler: any WKScriptMessageHandler, contentWorld world: WKContentWorld, name: String)
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartView.swift:296:23: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
294 |
295 | deinit {
296 | configuration.userContentController.removeAllUserScripts()
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
297 | NotificationCenter.default.removeObserver(self)
298 | #if DEBUG
WebKit.WKWebViewConfiguration:5:25: note: property declared here
3 | open var processPool: WKProcessPool { get set }
4 | open var preferences: WKPreferences { get set }
5 | @MainActor open var userContentController: WKUserContentController { get set }
| `- note: property declared here
6 | @available(macOS 10.11, *)
7 | open var websiteDataStore: WKWebsiteDataStore { get set }
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartView.swift:296:9: warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
294 |
295 | deinit {
296 | configuration.userContentController.removeAllUserScripts()
| `- warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
297 | NotificationCenter.default.removeObserver(self)
298 | #if DEBUG
WebKit.WKWebView:3:36: note: property declared here
1 | @available(macOS 10.10, *)
2 | @MainActor open class WKWebView : NSView {
3 | @NSCopying @MainActor open var configuration: WKWebViewConfiguration { get }
| `- note: property declared here
4 | @MainActor weak open var navigationDelegate: (any WKNavigationDelegate)? { get set }
5 | @MainActor weak open var uiDelegate: (any WKUIDelegate)? { get set }
[47/50] Compiling AAInfographics_Pro AAChartView.swift
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:535:6: error: stored properties cannot be marked unavailable with '@available'
533 |
534 |
535 | @available(*, unavailable, message: "please use titleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
536 | public var titleFontColor: String? //The chart title font color
537 | @available(*, unavailable, message: "please use titleStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:537:6: error: stored properties cannot be marked unavailable with '@available'
535 | @available(*, unavailable, message: "please use titleStyle instead of it")
536 | public var titleFontColor: String? //The chart title font color
537 | @available(*, unavailable, message: "please use titleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
538 | public var titleFontSize: Float? //The chart title font size
539 | @available(*, unavailable, message: "please use titleStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:539:6: error: stored properties cannot be marked unavailable with '@available'
537 | @available(*, unavailable, message: "please use titleStyle instead of it")
538 | public var titleFontSize: Float? //The chart title font size
539 | @available(*, unavailable, message: "please use titleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
540 | public var titleFontWeight: AAChartFontWeightType? //The chart font weight
541 |
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:542:6: error: stored properties cannot be marked unavailable with '@available'
540 | public var titleFontWeight: AAChartFontWeightType? //The chart font weight
541 |
542 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
543 | public var subtitleFontColor: String? //The chart subtitle font color
544 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:544:6: error: stored properties cannot be marked unavailable with '@available'
542 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
543 | public var subtitleFontColor: String? //The chart subtitle font color
544 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
545 | public var subtitleFontSize: Float? //The chart subtitle font size
546 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:546:6: error: stored properties cannot be marked unavailable with '@available'
544 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
545 | public var subtitleFontSize: Float? //The chart subtitle font size
546 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
547 | public var subtitleFontWeight: AAChartFontWeightType? //The chart subtitle font weight
548 |
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:549:6: error: stored properties cannot be marked unavailable with '@available'
547 | public var subtitleFontWeight: AAChartFontWeightType? //The chart subtitle font weight
548 |
549 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
550 | public var dataLabelsFontColor: String? //The data labels font color
551 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:551:6: error: stored properties cannot be marked unavailable with '@available'
549 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
550 | public var dataLabelsFontColor: String? //The data labels font color
551 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
552 | public var dataLabelsFontSize: Float? //The data labels font size
553 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:553:6: error: stored properties cannot be marked unavailable with '@available'
551 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
552 | public var dataLabelsFontSize: Float? //The data labels font size
553 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
554 | public var dataLabelsFontWeight: AAChartFontWeightType?//The data labels font weight
555 |
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:556:6: error: stored properties cannot be marked unavailable with '@available'
554 | public var dataLabelsFontWeight: AAChartFontWeightType?//The data labels font weight
555 |
556 | @available(*, unavailable, message: "please use xAxisLabelsStyle or yAxisLabelsStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
557 | public var axesTextColor: String? //The labels font color of chart x axis and y axis
558 |
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:559:6: error: stored properties cannot be marked unavailable with '@available'
557 | public var axesTextColor: String? //The labels font color of chart x axis and y axis
558 |
559 | @available(*, unavailable, message: "This property is useless now, please remove it directly")
| `- error: stored properties cannot be marked unavailable with '@available'
560 | public var touchEventEnabled: Bool? //Support touch event call back or not
561 |
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartView.swift:614:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
612 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
613 | extension AAChartView: WKUIDelegate {
614 | open func webView(
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
615 | _ webView: WKWebView,
616 | runJavaScriptAlertPanelWithMessage message: String,
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartView.swift:614:15: warning: instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' nearly matches optional requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' of protocol 'WKUIDelegate'
612 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
613 | extension AAChartView: WKUIDelegate {
614 | open func webView(
| |- warning: instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' nearly matches optional requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' of protocol 'WKUIDelegate'
| |- note: candidate has non-matching type '(WKWebView, String, WKFrameInfo, @escaping () -> Void) -> ()'
| `- note: move 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' to another extension to silence this warning
615 | _ webView: WKWebView,
616 | runJavaScriptAlertPanelWithMessage message: String,
WebKit.WKUIDelegate:9:30: note: requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
7 | optional func webViewDidClose(_ webView: WKWebView)
8 | @available(macOS 10.10, *)
9 | @MainActor optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler: @escaping @MainActor @Sendable () -> Void)
| `- note: requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
10 | @available(macOS 10.10, *)
11 | optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo) async
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartView.swift:296:45: warning: call to main actor-isolated instance method 'removeAllUserScripts()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
294 |
295 | deinit {
296 | configuration.userContentController.removeAllUserScripts()
| `- warning: call to main actor-isolated instance method 'removeAllUserScripts()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
297 | NotificationCenter.default.removeObserver(self)
298 | #if DEBUG
WebKit.WKUserContentController:5:26: note: calls to instance method 'removeAllUserScripts()' from outside of its actor context are implicitly asynchronous
3 | open var userScripts: [WKUserScript] { get }
4 | open func addUserScript(_ userScript: WKUserScript)
5 | @MainActor open func removeAllUserScripts()
| `- note: calls to instance method 'removeAllUserScripts()' from outside of its actor context are implicitly asynchronous
6 | @available(macOS 11.0, *)
7 | open func add(_ scriptMessageHandler: any WKScriptMessageHandler, contentWorld world: WKContentWorld, name: String)
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartView.swift:296:23: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
294 |
295 | deinit {
296 | configuration.userContentController.removeAllUserScripts()
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
297 | NotificationCenter.default.removeObserver(self)
298 | #if DEBUG
WebKit.WKWebViewConfiguration:5:25: note: property declared here
3 | open var processPool: WKProcessPool { get set }
4 | open var preferences: WKPreferences { get set }
5 | @MainActor open var userContentController: WKUserContentController { get set }
| `- note: property declared here
6 | @available(macOS 10.11, *)
7 | open var websiteDataStore: WKWebsiteDataStore { get set }
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartView.swift:296:9: warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
294 |
295 | deinit {
296 | configuration.userContentController.removeAllUserScripts()
| `- warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
297 | NotificationCenter.default.removeObserver(self)
298 | #if DEBUG
WebKit.WKWebView:3:36: note: property declared here
1 | @available(macOS 10.10, *)
2 | @MainActor open class WKWebView : NSView {
3 | @NSCopying @MainActor open var configuration: WKWebViewConfiguration { get }
| `- note: property declared here
4 | @MainActor weak open var navigationDelegate: (any WKNavigationDelegate)? { get set }
5 | @MainActor weak open var uiDelegate: (any WKUIDelegate)? { get set }
[48/50] Compiling AAInfographics_Pro AAOptions.swift
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:535:6: error: stored properties cannot be marked unavailable with '@available'
533 |
534 |
535 | @available(*, unavailable, message: "please use titleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
536 | public var titleFontColor: String? //The chart title font color
537 | @available(*, unavailable, message: "please use titleStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:537:6: error: stored properties cannot be marked unavailable with '@available'
535 | @available(*, unavailable, message: "please use titleStyle instead of it")
536 | public var titleFontColor: String? //The chart title font color
537 | @available(*, unavailable, message: "please use titleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
538 | public var titleFontSize: Float? //The chart title font size
539 | @available(*, unavailable, message: "please use titleStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:539:6: error: stored properties cannot be marked unavailable with '@available'
537 | @available(*, unavailable, message: "please use titleStyle instead of it")
538 | public var titleFontSize: Float? //The chart title font size
539 | @available(*, unavailable, message: "please use titleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
540 | public var titleFontWeight: AAChartFontWeightType? //The chart font weight
541 |
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:542:6: error: stored properties cannot be marked unavailable with '@available'
540 | public var titleFontWeight: AAChartFontWeightType? //The chart font weight
541 |
542 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
543 | public var subtitleFontColor: String? //The chart subtitle font color
544 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:544:6: error: stored properties cannot be marked unavailable with '@available'
542 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
543 | public var subtitleFontColor: String? //The chart subtitle font color
544 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
545 | public var subtitleFontSize: Float? //The chart subtitle font size
546 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:546:6: error: stored properties cannot be marked unavailable with '@available'
544 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
545 | public var subtitleFontSize: Float? //The chart subtitle font size
546 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
547 | public var subtitleFontWeight: AAChartFontWeightType? //The chart subtitle font weight
548 |
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:549:6: error: stored properties cannot be marked unavailable with '@available'
547 | public var subtitleFontWeight: AAChartFontWeightType? //The chart subtitle font weight
548 |
549 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
550 | public var dataLabelsFontColor: String? //The data labels font color
551 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:551:6: error: stored properties cannot be marked unavailable with '@available'
549 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
550 | public var dataLabelsFontColor: String? //The data labels font color
551 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
552 | public var dataLabelsFontSize: Float? //The data labels font size
553 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:553:6: error: stored properties cannot be marked unavailable with '@available'
551 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
552 | public var dataLabelsFontSize: Float? //The data labels font size
553 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
554 | public var dataLabelsFontWeight: AAChartFontWeightType?//The data labels font weight
555 |
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:556:6: error: stored properties cannot be marked unavailable with '@available'
554 | public var dataLabelsFontWeight: AAChartFontWeightType?//The data labels font weight
555 |
556 | @available(*, unavailable, message: "please use xAxisLabelsStyle or yAxisLabelsStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
557 | public var axesTextColor: String? //The labels font color of chart x axis and y axis
558 |
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:559:6: error: stored properties cannot be marked unavailable with '@available'
557 | public var axesTextColor: String? //The labels font color of chart x axis and y axis
558 |
559 | @available(*, unavailable, message: "This property is useless now, please remove it directly")
| `- error: stored properties cannot be marked unavailable with '@available'
560 | public var touchEventEnabled: Bool? //Support touch event call back or not
561 |
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartView.swift:614:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
612 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
613 | extension AAChartView: WKUIDelegate {
614 | open func webView(
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
615 | _ webView: WKWebView,
616 | runJavaScriptAlertPanelWithMessage message: String,
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartView.swift:614:15: warning: instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' nearly matches optional requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' of protocol 'WKUIDelegate'
612 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
613 | extension AAChartView: WKUIDelegate {
614 | open func webView(
| |- warning: instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' nearly matches optional requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' of protocol 'WKUIDelegate'
| |- note: candidate has non-matching type '(WKWebView, String, WKFrameInfo, @escaping () -> Void) -> ()'
| `- note: move 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' to another extension to silence this warning
615 | _ webView: WKWebView,
616 | runJavaScriptAlertPanelWithMessage message: String,
WebKit.WKUIDelegate:9:30: note: requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
7 | optional func webViewDidClose(_ webView: WKWebView)
8 | @available(macOS 10.10, *)
9 | @MainActor optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler: @escaping @MainActor @Sendable () -> Void)
| `- note: requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
10 | @available(macOS 10.10, *)
11 | optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo) async
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartView.swift:296:45: warning: call to main actor-isolated instance method 'removeAllUserScripts()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
294 |
295 | deinit {
296 | configuration.userContentController.removeAllUserScripts()
| `- warning: call to main actor-isolated instance method 'removeAllUserScripts()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
297 | NotificationCenter.default.removeObserver(self)
298 | #if DEBUG
WebKit.WKUserContentController:5:26: note: calls to instance method 'removeAllUserScripts()' from outside of its actor context are implicitly asynchronous
3 | open var userScripts: [WKUserScript] { get }
4 | open func addUserScript(_ userScript: WKUserScript)
5 | @MainActor open func removeAllUserScripts()
| `- note: calls to instance method 'removeAllUserScripts()' from outside of its actor context are implicitly asynchronous
6 | @available(macOS 11.0, *)
7 | open func add(_ scriptMessageHandler: any WKScriptMessageHandler, contentWorld world: WKContentWorld, name: String)
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartView.swift:296:23: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
294 |
295 | deinit {
296 | configuration.userContentController.removeAllUserScripts()
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
297 | NotificationCenter.default.removeObserver(self)
298 | #if DEBUG
WebKit.WKWebViewConfiguration:5:25: note: property declared here
3 | open var processPool: WKProcessPool { get set }
4 | open var preferences: WKPreferences { get set }
5 | @MainActor open var userContentController: WKUserContentController { get set }
| `- note: property declared here
6 | @available(macOS 10.11, *)
7 | open var websiteDataStore: WKWebsiteDataStore { get set }
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartView.swift:296:9: warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
294 |
295 | deinit {
296 | configuration.userContentController.removeAllUserScripts()
| `- warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
297 | NotificationCenter.default.removeObserver(self)
298 | #if DEBUG
WebKit.WKWebView:3:36: note: property declared here
1 | @available(macOS 10.10, *)
2 | @MainActor open class WKWebView : NSView {
3 | @NSCopying @MainActor open var configuration: WKWebViewConfiguration { get }
| `- note: property declared here
4 | @MainActor weak open var navigationDelegate: (any WKNavigationDelegate)? { get set }
5 | @MainActor weak open var uiDelegate: (any WKUIDelegate)? { get set }
[49/50] Compiling AAInfographics_Pro AASerializable.swift
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:535:6: error: stored properties cannot be marked unavailable with '@available'
533 |
534 |
535 | @available(*, unavailable, message: "please use titleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
536 | public var titleFontColor: String? //The chart title font color
537 | @available(*, unavailable, message: "please use titleStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:537:6: error: stored properties cannot be marked unavailable with '@available'
535 | @available(*, unavailable, message: "please use titleStyle instead of it")
536 | public var titleFontColor: String? //The chart title font color
537 | @available(*, unavailable, message: "please use titleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
538 | public var titleFontSize: Float? //The chart title font size
539 | @available(*, unavailable, message: "please use titleStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:539:6: error: stored properties cannot be marked unavailable with '@available'
537 | @available(*, unavailable, message: "please use titleStyle instead of it")
538 | public var titleFontSize: Float? //The chart title font size
539 | @available(*, unavailable, message: "please use titleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
540 | public var titleFontWeight: AAChartFontWeightType? //The chart font weight
541 |
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:542:6: error: stored properties cannot be marked unavailable with '@available'
540 | public var titleFontWeight: AAChartFontWeightType? //The chart font weight
541 |
542 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
543 | public var subtitleFontColor: String? //The chart subtitle font color
544 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:544:6: error: stored properties cannot be marked unavailable with '@available'
542 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
543 | public var subtitleFontColor: String? //The chart subtitle font color
544 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
545 | public var subtitleFontSize: Float? //The chart subtitle font size
546 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:546:6: error: stored properties cannot be marked unavailable with '@available'
544 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
545 | public var subtitleFontSize: Float? //The chart subtitle font size
546 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
547 | public var subtitleFontWeight: AAChartFontWeightType? //The chart subtitle font weight
548 |
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:549:6: error: stored properties cannot be marked unavailable with '@available'
547 | public var subtitleFontWeight: AAChartFontWeightType? //The chart subtitle font weight
548 |
549 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
550 | public var dataLabelsFontColor: String? //The data labels font color
551 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:551:6: error: stored properties cannot be marked unavailable with '@available'
549 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
550 | public var dataLabelsFontColor: String? //The data labels font color
551 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
552 | public var dataLabelsFontSize: Float? //The data labels font size
553 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:553:6: error: stored properties cannot be marked unavailable with '@available'
551 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
552 | public var dataLabelsFontSize: Float? //The data labels font size
553 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
554 | public var dataLabelsFontWeight: AAChartFontWeightType?//The data labels font weight
555 |
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:556:6: error: stored properties cannot be marked unavailable with '@available'
554 | public var dataLabelsFontWeight: AAChartFontWeightType?//The data labels font weight
555 |
556 | @available(*, unavailable, message: "please use xAxisLabelsStyle or yAxisLabelsStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
557 | public var axesTextColor: String? //The labels font color of chart x axis and y axis
558 |
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:559:6: error: stored properties cannot be marked unavailable with '@available'
557 | public var axesTextColor: String? //The labels font color of chart x axis and y axis
558 |
559 | @available(*, unavailable, message: "This property is useless now, please remove it directly")
| `- error: stored properties cannot be marked unavailable with '@available'
560 | public var touchEventEnabled: Bool? //Support touch event call back or not
561 |
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartView.swift:614:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
612 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
613 | extension AAChartView: WKUIDelegate {
614 | open func webView(
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
615 | _ webView: WKWebView,
616 | runJavaScriptAlertPanelWithMessage message: String,
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartView.swift:614:15: warning: instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' nearly matches optional requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' of protocol 'WKUIDelegate'
612 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
613 | extension AAChartView: WKUIDelegate {
614 | open func webView(
| |- warning: instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' nearly matches optional requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' of protocol 'WKUIDelegate'
| |- note: candidate has non-matching type '(WKWebView, String, WKFrameInfo, @escaping () -> Void) -> ()'
| `- note: move 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' to another extension to silence this warning
615 | _ webView: WKWebView,
616 | runJavaScriptAlertPanelWithMessage message: String,
WebKit.WKUIDelegate:9:30: note: requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
7 | optional func webViewDidClose(_ webView: WKWebView)
8 | @available(macOS 10.10, *)
9 | @MainActor optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler: @escaping @MainActor @Sendable () -> Void)
| `- note: requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
10 | @available(macOS 10.10, *)
11 | optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo) async
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartView.swift:296:45: warning: call to main actor-isolated instance method 'removeAllUserScripts()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
294 |
295 | deinit {
296 | configuration.userContentController.removeAllUserScripts()
| `- warning: call to main actor-isolated instance method 'removeAllUserScripts()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
297 | NotificationCenter.default.removeObserver(self)
298 | #if DEBUG
WebKit.WKUserContentController:5:26: note: calls to instance method 'removeAllUserScripts()' from outside of its actor context are implicitly asynchronous
3 | open var userScripts: [WKUserScript] { get }
4 | open func addUserScript(_ userScript: WKUserScript)
5 | @MainActor open func removeAllUserScripts()
| `- note: calls to instance method 'removeAllUserScripts()' from outside of its actor context are implicitly asynchronous
6 | @available(macOS 11.0, *)
7 | open func add(_ scriptMessageHandler: any WKScriptMessageHandler, contentWorld world: WKContentWorld, name: String)
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartView.swift:296:23: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
294 |
295 | deinit {
296 | configuration.userContentController.removeAllUserScripts()
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
297 | NotificationCenter.default.removeObserver(self)
298 | #if DEBUG
WebKit.WKWebViewConfiguration:5:25: note: property declared here
3 | open var processPool: WKProcessPool { get set }
4 | open var preferences: WKPreferences { get set }
5 | @MainActor open var userContentController: WKUserContentController { get set }
| `- note: property declared here
6 | @available(macOS 10.11, *)
7 | open var websiteDataStore: WKWebsiteDataStore { get set }
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartView.swift:296:9: warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
294 |
295 | deinit {
296 | configuration.userContentController.removeAllUserScripts()
| `- warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
297 | NotificationCenter.default.removeObserver(self)
298 | #if DEBUG
WebKit.WKWebView:3:36: note: property declared here
1 | @available(macOS 10.10, *)
2 | @MainActor open class WKWebView : NSView {
3 | @NSCopying @MainActor open var configuration: WKWebViewConfiguration { get }
| `- note: property declared here
4 | @MainActor weak open var navigationDelegate: (any WKNavigationDelegate)? { get set }
5 | @MainActor weak open var uiDelegate: (any WKUIDelegate)? { get set }
[50/50] Compiling AAInfographics_Pro AASeriesElement.swift
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:535:6: error: stored properties cannot be marked unavailable with '@available'
533 |
534 |
535 | @available(*, unavailable, message: "please use titleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
536 | public var titleFontColor: String? //The chart title font color
537 | @available(*, unavailable, message: "please use titleStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:537:6: error: stored properties cannot be marked unavailable with '@available'
535 | @available(*, unavailable, message: "please use titleStyle instead of it")
536 | public var titleFontColor: String? //The chart title font color
537 | @available(*, unavailable, message: "please use titleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
538 | public var titleFontSize: Float? //The chart title font size
539 | @available(*, unavailable, message: "please use titleStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:539:6: error: stored properties cannot be marked unavailable with '@available'
537 | @available(*, unavailable, message: "please use titleStyle instead of it")
538 | public var titleFontSize: Float? //The chart title font size
539 | @available(*, unavailable, message: "please use titleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
540 | public var titleFontWeight: AAChartFontWeightType? //The chart font weight
541 |
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:542:6: error: stored properties cannot be marked unavailable with '@available'
540 | public var titleFontWeight: AAChartFontWeightType? //The chart font weight
541 |
542 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
543 | public var subtitleFontColor: String? //The chart subtitle font color
544 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:544:6: error: stored properties cannot be marked unavailable with '@available'
542 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
543 | public var subtitleFontColor: String? //The chart subtitle font color
544 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
545 | public var subtitleFontSize: Float? //The chart subtitle font size
546 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:546:6: error: stored properties cannot be marked unavailable with '@available'
544 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
545 | public var subtitleFontSize: Float? //The chart subtitle font size
546 | @available(*, unavailable, message: "please use subtitleStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
547 | public var subtitleFontWeight: AAChartFontWeightType? //The chart subtitle font weight
548 |
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:549:6: error: stored properties cannot be marked unavailable with '@available'
547 | public var subtitleFontWeight: AAChartFontWeightType? //The chart subtitle font weight
548 |
549 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
550 | public var dataLabelsFontColor: String? //The data labels font color
551 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:551:6: error: stored properties cannot be marked unavailable with '@available'
549 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
550 | public var dataLabelsFontColor: String? //The data labels font color
551 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
552 | public var dataLabelsFontSize: Float? //The data labels font size
553 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:553:6: error: stored properties cannot be marked unavailable with '@available'
551 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
552 | public var dataLabelsFontSize: Float? //The data labels font size
553 | @available(*, unavailable, message: "please use dataLabelsStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
554 | public var dataLabelsFontWeight: AAChartFontWeightType?//The data labels font weight
555 |
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:556:6: error: stored properties cannot be marked unavailable with '@available'
554 | public var dataLabelsFontWeight: AAChartFontWeightType?//The data labels font weight
555 |
556 | @available(*, unavailable, message: "please use xAxisLabelsStyle or yAxisLabelsStyle instead of it")
| `- error: stored properties cannot be marked unavailable with '@available'
557 | public var axesTextColor: String? //The labels font color of chart x axis and y axis
558 |
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartModel.swift:559:6: error: stored properties cannot be marked unavailable with '@available'
557 | public var axesTextColor: String? //The labels font color of chart x axis and y axis
558 |
559 | @available(*, unavailable, message: "This property is useless now, please remove it directly")
| `- error: stored properties cannot be marked unavailable with '@available'
560 | public var touchEventEnabled: Bool? //Support touch event call back or not
561 |
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartView.swift:614:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
612 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
613 | extension AAChartView: WKUIDelegate {
614 | open func webView(
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
615 | _ webView: WKWebView,
616 | runJavaScriptAlertPanelWithMessage message: String,
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartView.swift:614:15: warning: instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' nearly matches optional requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' of protocol 'WKUIDelegate'
612 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
613 | extension AAChartView: WKUIDelegate {
614 | open func webView(
| |- warning: instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' nearly matches optional requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' of protocol 'WKUIDelegate'
| |- note: candidate has non-matching type '(WKWebView, String, WKFrameInfo, @escaping () -> Void) -> ()'
| `- note: move 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' to another extension to silence this warning
615 | _ webView: WKWebView,
616 | runJavaScriptAlertPanelWithMessage message: String,
WebKit.WKUIDelegate:9:30: note: requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
7 | optional func webViewDidClose(_ webView: WKWebView)
8 | @available(macOS 10.10, *)
9 | @MainActor optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler: @escaping @MainActor @Sendable () -> Void)
| `- note: requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
10 | @available(macOS 10.10, *)
11 | optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo) async
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartView.swift:296:45: warning: call to main actor-isolated instance method 'removeAllUserScripts()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
294 |
295 | deinit {
296 | configuration.userContentController.removeAllUserScripts()
| `- warning: call to main actor-isolated instance method 'removeAllUserScripts()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
297 | NotificationCenter.default.removeObserver(self)
298 | #if DEBUG
WebKit.WKUserContentController:5:26: note: calls to instance method 'removeAllUserScripts()' from outside of its actor context are implicitly asynchronous
3 | open var userScripts: [WKUserScript] { get }
4 | open func addUserScript(_ userScript: WKUserScript)
5 | @MainActor open func removeAllUserScripts()
| `- note: calls to instance method 'removeAllUserScripts()' from outside of its actor context are implicitly asynchronous
6 | @available(macOS 11.0, *)
7 | open func add(_ scriptMessageHandler: any WKScriptMessageHandler, contentWorld world: WKContentWorld, name: String)
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartView.swift:296:23: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
294 |
295 | deinit {
296 | configuration.userContentController.removeAllUserScripts()
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
297 | NotificationCenter.default.removeObserver(self)
298 | #if DEBUG
WebKit.WKWebViewConfiguration:5:25: note: property declared here
3 | open var processPool: WKProcessPool { get set }
4 | open var preferences: WKPreferences { get set }
5 | @MainActor open var userContentController: WKUserContentController { get set }
| `- note: property declared here
6 | @available(macOS 10.11, *)
7 | open var websiteDataStore: WKWebsiteDataStore { get set }
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartView.swift:296:9: warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
294 |
295 | deinit {
296 | configuration.userContentController.removeAllUserScripts()
| `- warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
297 | NotificationCenter.default.removeObserver(self)
298 | #if DEBUG
WebKit.WKWebView:3:36: note: property declared here
1 | @available(macOS 10.10, *)
2 | @MainActor open class WKWebView : NSView {
3 | @NSCopying @MainActor open var configuration: WKWebViewConfiguration { get }
| `- note: property declared here
4 | @MainActor weak open var navigationDelegate: (any WKNavigationDelegate)? { get set }
5 | @MainActor weak open var uiDelegate: (any WKUIDelegate)? { get set }
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/Info.plist': File not found.
BUILD FAILURE 6.0 macosSpm