Build Information
Failed to build TossPayments, reference 0.1.35 (27015a), with Swift 6.1 for visionOS using Xcode 16.3 on 6 Mar 2026 05:55:54 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme TossPayments -destination generic/platform=xrOSBuild Log
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/UpdateHeightMessageHandler.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/TossPayments/TossPayments.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/TossPayments/TossPayments.swift:18:23: warning: call to main actor-isolated initializer 'init(clientKey:paymentMethod:paymentInfo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let service = TossPaymentsService(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Service/TossPaymentsService.swift:25:5: note: calls to initializer 'init(clientKey:paymentMethod:paymentInfo:)' from outside of its actor context are implicitly asynchronous
init(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Service/TossPaymentsService.swift:25:5: note: main actor isolation inferred from conformance to protocol 'PaymentServiceProtocol'
init(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/TossPayments/TossPayments.swift:13:17: note: add '@MainActor' to make instance method 'requestPayment(_:_:on:)' part of global actor 'MainActor'
public func requestPayment(
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/TossPayments/TossPayments.swift:23:30: warning: call to main actor-isolated initializer 'init(service:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let viewController = TossPaymentsViewController(service: service)
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsViewController.swift:27:5: note: calls to initializer 'init(service:)' from outside of its actor context are implicitly asynchronous
init(service: PaymentServiceProtocol) {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsViewController.swift:27:5: note: main actor isolation inferred from inheritance from class 'UIViewController'
init(service: PaymentServiceProtocol) {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/TossPayments/TossPayments.swift:13:17: note: add '@MainActor' to make instance method 'requestPayment(_:_:on:)' part of global actor 'MainActor'
public func requestPayment(
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/TossPayments/TossPayments.swift:24:36: warning: call to main actor-isolated initializer 'init(rootViewController:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let navigationController = UINavigationController(rootViewController: viewController)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:55:1: note: calls to initializer 'init(rootViewController:)' from outside of its actor context are implicitly asynchronous
- (instancetype)initWithRootViewController:(UIViewController *)rootViewController NS_DESIGNATED_INITIALIZER; // Initializer that also pushes the root view controller without animation.
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/TossPayments/TossPayments.swift:13:17: note: add '@MainActor' to make instance method 'requestPayment(_:_:on:)' part of global actor 'MainActor'
public func requestPayment(
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/TossPayments/TossPayments.swift:25:17: warning: main actor-isolated property 'successURLHandler' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
service.successURLHandler = { [weak viewController] url in
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Service/TossPaymentsService.swift:37:9: note: mutation of this property is only permitted within the actor
var successURLHandler: ((URL) -> Void)?
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/TossPayments/TossPayments.swift:13:17: note: add '@MainActor' to make instance method 'requestPayment(_:_:on:)' part of global actor 'MainActor'
public func requestPayment(
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/TossPayments/TossPayments.swift:26:29: warning: call to main actor-isolated instance method 'dismiss(animated:completion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
viewController?.dismiss(animated: true) {
^
UIKit.UIViewController.dismiss:3:24: note: calls to instance method 'dismiss(animated:completion:)' from outside of its actor context are implicitly asynchronous
@MainActor open func dismiss(animated flag: Bool, completion: (() -> Void)? = nil)}
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/TossPayments/TossPayments.swift:30:17: warning: main actor-isolated property 'failURLHandler' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
service.failURLHandler = { [weak viewController] url in
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Service/TossPaymentsService.swift:36:9: note: mutation of this property is only permitted within the actor
var failURLHandler: ((URL) -> Void)?
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/TossPayments/TossPayments.swift:13:17: note: add '@MainActor' to make instance method 'requestPayment(_:_:on:)' part of global actor 'MainActor'
public func requestPayment(
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/TossPayments/TossPayments.swift:31:29: warning: call to main actor-isolated instance method 'dismiss(animated:completion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
viewController?.dismiss(animated: true) {
^
UIKit.UIViewController.dismiss:3:24: note: calls to instance method 'dismiss(animated:completion:)' from outside of its actor context are implicitly asynchronous
@MainActor open func dismiss(animated flag: Bool, completion: (() -> Void)? = nil)}
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/TossPayments/TossPayments.swift:36:28: warning: call to main actor-isolated instance method 'present(_:animated:completion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
rootViewController.present(navigationController, animated: true)
^
UIKit.UIViewController.present:3:24: note: calls to instance method 'present(_:animated:completion:)' from outside of its actor context are implicitly asynchronous
@MainActor open func present(_ viewControllerToPresent: UIViewController, animated flag: Bool, completion: (() -> Void)? = nil)}
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/TossPayments/TossPayments.swift:13:17: note: add '@MainActor' to make instance method 'requestPayment(_:_:on:)' part of global actor 'MainActor'
public func requestPayment(
^
@MainActor
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/AgreementWidget.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/AgreementWidget.swift:15:16: warning: main actor-isolated property 'updatedHeight' cannot be used to satisfy nonisolated requirement from protocol 'CanUpdateHeight'; this is an error in the Swift 6 language mode
public var updatedHeight: CGFloat = 92 {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/AgreementWidget.swift:11:48: note: add '@preconcurrency' to the 'CanUpdateHeight' conformance to defer isolation checking to run time
public final class AgreementWidget: WKWebView, PaymentWidgetComponent {
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Protocol/CanUpdateHeight.swift:11:9: note: requirement 'updatedHeight' declared here
var updatedHeight: CGFloat { get set }
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/AgreementWidget.swift:12:21: warning: main actor-isolated property 'widgetStatusDelegate' cannot be used to satisfy nonisolated requirement from protocol 'HasWidgetStatusDelegate'; this is an error in the Swift 6 language mode
public weak var widgetStatusDelegate: TossPaymentsWidgetStatusDelegate?
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/AgreementWidget.swift:11:48: note: add '@preconcurrency' to the 'HasWidgetStatusDelegate' conformance to defer isolation checking to run time
public final class AgreementWidget: WKWebView, PaymentWidgetComponent {
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Protocol/PaymentWidgetComponent.swift:14:9: note: requirement 'widgetStatusDelegate' declared here
var widgetStatusDelegate: TossPaymentsWidgetStatusDelegate? { get }
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/AgreementWidget.swift:39:20: error: 'UIScreen' is unavailable in visionOS
var size = UIScreen.main.bounds.size
^~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
@interface UIScreen : NSObject <UITraitEnvironment>
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/PaymentMethodWidget.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/PaymentMethodWidget.swift:16:16: warning: main actor-isolated property 'updatedHeight' cannot be used to satisfy nonisolated requirement from protocol 'CanUpdateHeight'; this is an error in the Swift 6 language mode
public var updatedHeight: CGFloat = 400 {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/PaymentMethodWidget.swift:11:52: note: add '@preconcurrency' to the 'CanUpdateHeight' conformance to defer isolation checking to run time
public final class PaymentMethodWidget: WKWebView, PaymentWidgetComponent {
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Protocol/CanUpdateHeight.swift:11:9: note: requirement 'updatedHeight' declared here
var updatedHeight: CGFloat { get set }
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/PaymentMethodWidget.swift:12:21: warning: main actor-isolated property 'widgetStatusDelegate' cannot be used to satisfy nonisolated requirement from protocol 'HasWidgetStatusDelegate'; this is an error in the Swift 6 language mode
public weak var widgetStatusDelegate: TossPaymentsWidgetStatusDelegate?
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/PaymentMethodWidget.swift:11:52: note: add '@preconcurrency' to the 'HasWidgetStatusDelegate' conformance to defer isolation checking to run time
public final class PaymentMethodWidget: WKWebView, PaymentWidgetComponent {
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Protocol/PaymentWidgetComponent.swift:14:9: note: requirement 'widgetStatusDelegate' declared here
var widgetStatusDelegate: TossPaymentsWidgetStatusDelegate? { get }
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/PaymentMethodWidget.swift:39:20: error: 'UIScreen' is unavailable in visionOS
var size = UIScreen.main.bounds.size
^~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
@interface UIScreen : NSObject <UITraitEnvironment>
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentMethodWidget+Extensions.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget+WebSources.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ CustomRequestMessage.swift,\ MessageHandler.swift,\ UpdateAgreementStatusMessage.swift,\ UpdateHeightMessage.swift,\ WidgetMessageProtocol.swift,\ WidgetStatusMessage.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/CustomRequestMessage.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/MessageHandler.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/UpdateAgreementStatusMessage.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/UpdateHeightMessage.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/WidgetMessageProtocol.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/WidgetStatusMessage.swift (in target 'TossPayments' from project 'TossPayments')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/CustomRequestMessage.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/MessageHandler.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/MessageHandler.swift:26:28: warning: call to main actor-isolated instance method 'evaluateJavaScript(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
paymentMethod?.evaluateJavaScript("""
^
WebKit.WKWebView.evaluateJavaScript:2:22: note: calls to instance method 'evaluateJavaScript(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
@MainActor open func evaluateJavaScript(_ javaScriptString: String, completionHandler: (@MainActor @Sendable (Any?, (any Error)?) -> Void)? = nil)}
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/MessageHandler.swift:23:10: note: add '@MainActor' to make instance method 'handle(jsonObject:)' part of global actor 'MainActor'
func handle(jsonObject: [String: Any]) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/MessageHandler.swift:32:23: warning: main actor-isolated property 'agreementUIDelegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
agreement.agreementUIDelegate?.didUpdateAgreementStatus(agreement, agreementStatus: agreementStatus)
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/AgreementWidget.swift:13:21: note: property declared here
public weak var agreementUIDelegate: TossPaymentsAgreementUIDelegate?
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/MessageHandler.swift:23:10: note: add '@MainActor' to make instance method 'handle(jsonObject:)' part of global actor 'MainActor'
func handle(jsonObject: [String: Any]) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/MessageHandler.swift:36:27: warning: main actor-isolated property 'widgetUIDelegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
paymentMethod.widgetUIDelegate?.didReceivedCustomRequest(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/PaymentMethodWidget.swift:13:21: note: property declared here
public weak var widgetUIDelegate: TossPaymentsWidgetUIDelegate?
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/MessageHandler.swift:23:10: note: add '@MainActor' to make instance method 'handle(jsonObject:)' part of global actor 'MainActor'
func handle(jsonObject: [String: Any]) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/MessageHandler.swift:44:27: warning: main actor-isolated property 'widgetUIDelegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
paymentMethod.widgetUIDelegate?.didReceivedCustomPaymentMethodSelected(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/PaymentMethodWidget.swift:13:21: note: property declared here
public weak var widgetUIDelegate: TossPaymentsWidgetUIDelegate?
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/MessageHandler.swift:23:10: note: add '@MainActor' to make instance method 'handle(jsonObject:)' part of global actor 'MainActor'
func handle(jsonObject: [String: Any]) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/MessageHandler.swift:52:27: warning: main actor-isolated property 'widgetUIDelegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
paymentMethod.widgetUIDelegate?.didReceivedCustomPaymentMethodUnselected(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/PaymentMethodWidget.swift:13:21: note: property declared here
public weak var widgetUIDelegate: TossPaymentsWidgetUIDelegate?
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/MessageHandler.swift:23:10: note: add '@MainActor' to make instance method 'handle(jsonObject:)' part of global actor 'MainActor'
func handle(jsonObject: [String: Any]) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/MessageHandler.swift:60:32: warning: main actor-isolated property 'widgetStatusDelegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
paymentMethod?.widgetStatusDelegate?.didReceivedLoad(widgetStatus.widget)
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/PaymentMethodWidget.swift:12:21: note: property declared here
public weak var widgetStatusDelegate: TossPaymentsWidgetStatusDelegate?
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/MessageHandler.swift:23:10: note: add '@MainActor' to make instance method 'handle(jsonObject:)' part of global actor 'MainActor'
func handle(jsonObject: [String: Any]) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/MessageHandler.swift:62:28: warning: main actor-isolated property 'widgetStatusDelegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
agreement?.widgetStatusDelegate?.didReceivedLoad(widgetStatus.widget)
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/AgreementWidget.swift:12:21: note: property declared here
public weak var widgetStatusDelegate: TossPaymentsWidgetStatusDelegate?
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/MessageHandler.swift:23:10: note: add '@MainActor' to make instance method 'handle(jsonObject:)' part of global actor 'MainActor'
func handle(jsonObject: [String: Any]) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/MessageHandler.swift:67:28: warning: main actor-isolated property 'method' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
paymentMethod?.method = method
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/PaymentMethodWidget.swift:15:9: note: mutation of this property is only permitted within the actor
var method: WidgetPaymentMethod?
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/MessageHandler.swift:23:10: note: add '@MainActor' to make instance method 'handle(jsonObject:)' part of global actor 'MainActor'
func handle(jsonObject: [String: Any]) {
^
@MainActor
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/UpdateAgreementStatusMessage.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/UpdateHeightMessage.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/WidgetMessageProtocol.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/WidgetStatusMessage.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ TossPayments (in target 'TossPayments' from project 'TossPayments')
EmitSwiftModule normal arm64 (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Service/TossPaymentsEnvironment.swift:11:23: warning: static property 'stage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
public static var stage: String = "v1"
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Service/TossPaymentsEnvironment.swift:11:23: note: convert 'stage' to a 'let' constant to make 'Sendable' shared state immutable
public static var stage: String = "v1"
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Service/TossPaymentsEnvironment.swift:11:23: note: add '@MainActor' to make static property 'stage' part of global actor 'MainActor'
public static var stage: String = "v1"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Service/TossPaymentsEnvironment.swift:11:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static var stage: String = "v1"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Service/TossPaymentsService.swift:82:10: warning: instance method 'webView(_:decidePolicyFor:decisionHandler:)' nearly matches optional requirement 'webView(_:decidePolicyFor:decisionHandler:)' of protocol 'WKNavigationDelegate'
func webView(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Service/TossPaymentsService.swift:82:10: note: candidate has non-matching type '(WKWebView, WKNavigationAction, @escaping (WKNavigationActionPolicy) -> Void) -> ()'
func webView(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Service/TossPaymentsService.swift:82:10: note: move 'webView(_:decidePolicyFor:decisionHandler:)' to another extension to silence this warning
func webView(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Service/TossPaymentsService.swift:82:10: note: make 'webView(_:decidePolicyFor:decisionHandler:)' private to silence this warning
func webView(
^
private
WebKit.WKNavigationDelegate.webView:3:28: note: requirement 'webView(_:decidePolicyFor:decisionHandler:)' declared here
@MainActor optional func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping @MainActor @Sendable (WKNavigationActionPolicy) -> Void)}
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Service/WidgetService.swift:39:10: warning: instance method 'webView(_:decidePolicyFor:decisionHandler:)' nearly matches optional requirement 'webView(_:decidePolicyFor:decisionHandler:)' of protocol 'WKNavigationDelegate'
func webView(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Service/WidgetService.swift:39:10: note: candidate has non-matching type '(WKWebView, WKNavigationAction, @escaping (WKNavigationActionPolicy) -> Void) -> ()'
func webView(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Service/WidgetService.swift:39:10: note: move 'webView(_:decidePolicyFor:decisionHandler:)' to another extension to silence this warning
func webView(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Service/WidgetService.swift:39:10: note: make 'webView(_:decidePolicyFor:decisionHandler:)' private to silence this warning
func webView(
^
private
WebKit.WKNavigationDelegate.webView:3:28: note: requirement 'webView(_:decidePolicyFor:decisionHandler:)' declared here
@MainActor optional func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping @MainActor @Sendable (WKNavigationActionPolicy) -> Void)}
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsViewController+WKUIDelegate.swift:25:10: warning: instance method 'webView(_:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:completionHandler:)' nearly matches optional requirement 'webView(_:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:completionHandler:)' of protocol 'WKUIDelegate'
func webView(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsViewController+WKUIDelegate.swift:25:10: note: candidate has non-matching type '(WKWebView, String, WKFrameInfo, @escaping (Bool) -> Void) -> ()'
func webView(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsViewController+WKUIDelegate.swift:25:10: note: move 'webView(_:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:completionHandler:)' to another extension to silence this warning
func webView(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsViewController+WKUIDelegate.swift:25:10: note: make 'webView(_:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:completionHandler:)' private to silence this warning
func webView(
^
private
WebKit.WKUIDelegate.webView:3:28: note: requirement 'webView(_:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
@MainActor optional func webView(_ webView: WKWebView, runJavaScriptConfirmPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler: @escaping @MainActor @Sendable (Bool) -> Void)}
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsViewController+WKUIDelegate.swift:64:10: warning: instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' nearly matches optional requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' of protocol 'WKUIDelegate'
func webView(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsViewController+WKUIDelegate.swift:64:10: note: candidate has non-matching type '(WKWebView, String, WKFrameInfo, @escaping () -> Void) -> ()'
func webView(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsViewController+WKUIDelegate.swift:64:10: note: move 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' to another extension to silence this warning
func webView(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsViewController+WKUIDelegate.swift:64:10: note: make 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' private to silence this warning
func webView(
^
private
WebKit.WKUIDelegate.webView:3:28: note: requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
@MainActor optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler: @escaping @MainActor @Sendable () -> Void)}
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/BrandPay/BrandPay.swift:43:20: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
public let osVersion: String = UIDevice.current.systemVersion
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/AgreementWidget.swift:15:16: warning: main actor-isolated property 'updatedHeight' cannot be used to satisfy nonisolated requirement from protocol 'CanUpdateHeight'; this is an error in the Swift 6 language mode
public var updatedHeight: CGFloat = 92 {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/AgreementWidget.swift:11:48: note: add '@preconcurrency' to the 'CanUpdateHeight' conformance to defer isolation checking to run time
public final class AgreementWidget: WKWebView, PaymentWidgetComponent {
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Protocol/CanUpdateHeight.swift:11:9: note: requirement 'updatedHeight' declared here
var updatedHeight: CGFloat { get set }
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/AgreementWidget.swift:12:21: warning: main actor-isolated property 'widgetStatusDelegate' cannot be used to satisfy nonisolated requirement from protocol 'HasWidgetStatusDelegate'; this is an error in the Swift 6 language mode
public weak var widgetStatusDelegate: TossPaymentsWidgetStatusDelegate?
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/AgreementWidget.swift:11:48: note: add '@preconcurrency' to the 'HasWidgetStatusDelegate' conformance to defer isolation checking to run time
public final class AgreementWidget: WKWebView, PaymentWidgetComponent {
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Protocol/PaymentWidgetComponent.swift:14:9: note: requirement 'widgetStatusDelegate' declared here
var widgetStatusDelegate: TossPaymentsWidgetStatusDelegate? { get }
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/PaymentMethodWidget.swift:16:16: warning: main actor-isolated property 'updatedHeight' cannot be used to satisfy nonisolated requirement from protocol 'CanUpdateHeight'; this is an error in the Swift 6 language mode
public var updatedHeight: CGFloat = 400 {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/PaymentMethodWidget.swift:11:52: note: add '@preconcurrency' to the 'CanUpdateHeight' conformance to defer isolation checking to run time
public final class PaymentMethodWidget: WKWebView, PaymentWidgetComponent {
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Protocol/CanUpdateHeight.swift:11:9: note: requirement 'updatedHeight' declared here
var updatedHeight: CGFloat { get set }
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/PaymentMethodWidget.swift:12:21: warning: main actor-isolated property 'widgetStatusDelegate' cannot be used to satisfy nonisolated requirement from protocol 'HasWidgetStatusDelegate'; this is an error in the Swift 6 language mode
public weak var widgetStatusDelegate: TossPaymentsWidgetStatusDelegate?
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/PaymentMethodWidget.swift:11:52: note: add '@preconcurrency' to the 'HasWidgetStatusDelegate' conformance to defer isolation checking to run time
public final class PaymentMethodWidget: WKWebView, PaymentWidgetComponent {
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Protocol/PaymentWidgetComponent.swift:14:9: note: requirement 'widgetStatusDelegate' declared here
var widgetStatusDelegate: TossPaymentsWidgetStatusDelegate? { get }
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:19:22: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
private lazy var legacyPaymentMethodScript = WKUserScript(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:24:22: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
private lazy var paymentMethodScript = WKUserScript(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:29:22: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
private lazy var agreementScript = WKUserScript(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:39:34: warning: call to main actor-isolated instance method 'evaluateJavaScript(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget?.evaluateJavaScript("""
^
WebKit.WKWebView.evaluateJavaScript:2:22: note: calls to instance method 'evaluateJavaScript(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
@MainActor open func evaluateJavaScript(_ javaScriptString: String, completionHandler: (@MainActor @Sendable (Any?, (any Error)?) -> Void)? = nil)}
^
SwiftCompile normal arm64 Compiling\ TossPaymentsWebView.swift,\ AgreementWidgetView.swift,\ PaymentMethodWidgetView.swift,\ PaymentWidgetView.swift,\ TossPaymentsDelegate.swift,\ TossPaymentsViewController+WKUIDelegate.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/SwiftUI/TossPayments/WebView/TossPaymentsWebView.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/SwiftUI/Widget/AgreementWidgetView.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/SwiftUI/Widget/PaymentMethodWidgetView.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/SwiftUI/Widget/PaymentWidgetView.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsDelegate.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsViewController+WKUIDelegate.swift (in target 'TossPayments' from project 'TossPayments')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/SwiftUI/TossPayments/WebView/TossPaymentsWebView.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/SwiftUI/Widget/AgreementWidgetView.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/SwiftUI/Widget/PaymentMethodWidgetView.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/SwiftUI/Widget/PaymentWidgetView.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsDelegate.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsViewController+WKUIDelegate.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsViewController+WKUIDelegate.swift:25:10: warning: instance method 'webView(_:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:completionHandler:)' nearly matches optional requirement 'webView(_:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:completionHandler:)' of protocol 'WKUIDelegate'
func webView(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsViewController+WKUIDelegate.swift:25:10: note: candidate has non-matching type '(WKWebView, String, WKFrameInfo, @escaping (Bool) -> Void) -> ()'
func webView(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsViewController+WKUIDelegate.swift:25:10: note: move 'webView(_:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:completionHandler:)' to another extension to silence this warning
func webView(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsViewController+WKUIDelegate.swift:25:10: note: make 'webView(_:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:completionHandler:)' private to silence this warning
func webView(
^
private
WebKit.WKUIDelegate.webView:3:28: note: requirement 'webView(_:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
@MainActor optional func webView(_ webView: WKWebView, runJavaScriptConfirmPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler: @escaping @MainActor @Sendable (Bool) -> Void)}
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsViewController+WKUIDelegate.swift:64:10: warning: instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' nearly matches optional requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' of protocol 'WKUIDelegate'
func webView(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsViewController+WKUIDelegate.swift:64:10: note: candidate has non-matching type '(WKWebView, String, WKFrameInfo, @escaping () -> Void) -> ()'
func webView(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsViewController+WKUIDelegate.swift:64:10: note: move 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' to another extension to silence this warning
func webView(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsViewController+WKUIDelegate.swift:64:10: note: make 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' private to silence this warning
func webView(
^
private
WebKit.WKUIDelegate.webView:3:28: note: requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
@MainActor optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler: @escaping @MainActor @Sendable () -> Void)}
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsViewController+WKUIDelegate.swift:55:54: warning: 'windows' was deprecated in visionOS 1.0: Use UIWindowScene.windows on a relevant window scene instead
if let viewController = UIApplication.shared.windows.first?.visibleViewController {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsViewController+WKUIDelegate.swift:74:54: warning: 'windows' was deprecated in visionOS 1.0: Use UIWindowScene.windows on a relevant window scene instead
if let viewController = UIApplication.shared.windows.first?.visibleViewController {
^
SwiftCompile normal arm64 Compiling\ PaymentWidget.swift,\ CanUpdateHeight.swift,\ PaymentWidgetComponent.swift,\ UIView+TossPaymentExtension.swift,\ UIWindow+TossPaymentExtension.swift,\ URLComponent+TossPaymentExtension.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Protocol/CanUpdateHeight.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Protocol/PaymentWidgetComponent.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Util/UIView+TossPaymentExtension.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Util/UIWindow+TossPaymentExtension.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Util/URLComponent+TossPaymentExtension.swift (in target 'TossPayments' from project 'TossPayments')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:19:22: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
private lazy var legacyPaymentMethodScript = WKUserScript(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:24:22: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
private lazy var paymentMethodScript = WKUserScript(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:29:22: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
private lazy var agreementScript = WKUserScript(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:39:34: warning: call to main actor-isolated instance method 'evaluateJavaScript(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget?.evaluateJavaScript("""
^
WebKit.WKWebView.evaluateJavaScript:2:22: note: calls to instance method 'evaluateJavaScript(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
@MainActor open func evaluateJavaScript(_ javaScriptString: String, completionHandler: (@MainActor @Sendable (Any?, (any Error)?) -> Void)? = nil)}
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:100:35: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let paymentMethodWidget = PaymentMethodWidget()
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/PaymentMethodWidget.swift:24:5: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
init() {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/PaymentMethodWidget.swift:24:5: note: main actor isolation inferred from inheritance from class 'WKWebView'
init() {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:99:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(amount: PaymentMethodWidget.Amount, options: PaymentMethodWidget.Options? = nil) -> PaymentMethodWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:104:65: warning: call to main actor-isolated instance method 'addUserScript' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.addUserScript(paymentMethodScript)
^
WebKit.WKUserContentController.addUserScript:2:22: note: calls to instance method 'addUserScript' from outside of its actor context are implicitly asynchronous
@MainActor open func addUserScript(_ userScript: WKUserScript)}
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:99:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(amount: PaymentMethodWidget.Amount, options: PaymentMethodWidget.Options? = nil) -> PaymentMethodWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:104:43: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.addUserScript(paymentMethodScript)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
@property (nonatomic, strong) WKUserContentController *userContentController;
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:99:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(amount: PaymentMethodWidget.Amount, options: PaymentMethodWidget.Options? = nil) -> PaymentMethodWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:104:29: warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.addUserScript(paymentMethodScript)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h:91:63: note: property declared here
@property (nonatomic, readonly, copy) WKWebViewConfiguration *configuration;
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:99:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(amount: PaymentMethodWidget.Amount, options: PaymentMethodWidget.Options? = nil) -> PaymentMethodWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:106:65: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.add(
^
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
@MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:99:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(amount: PaymentMethodWidget.Amount, options: PaymentMethodWidget.Options? = nil) -> PaymentMethodWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:106:43: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.add(
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
@property (nonatomic, strong) WKUserContentController *userContentController;
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:99:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(amount: PaymentMethodWidget.Amount, options: PaymentMethodWidget.Options? = nil) -> PaymentMethodWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:106:29: warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.add(
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h:91:63: note: property declared here
@property (nonatomic, readonly, copy) WKWebViewConfiguration *configuration;
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:99:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(amount: PaymentMethodWidget.Amount, options: PaymentMethodWidget.Options? = nil) -> PaymentMethodWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:107:13: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
RequestPaymentsMessageHandler(self),
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/RequestPaymentsMessageHandler.swift:13:5: note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
init(_ widget: PaymentWidget) {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/RequestPaymentsMessageHandler.swift:13:5: note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
init(_ widget: PaymentWidget) {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:99:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(amount: PaymentMethodWidget.Amount, options: PaymentMethodWidget.Options? = nil) -> PaymentMethodWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:110:65: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.add(
^
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
@MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:99:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(amount: PaymentMethodWidget.Amount, options: PaymentMethodWidget.Options? = nil) -> PaymentMethodWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:110:43: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.add(
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
@property (nonatomic, strong) WKUserContentController *userContentController;
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:99:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(amount: PaymentMethodWidget.Amount, options: PaymentMethodWidget.Options? = nil) -> PaymentMethodWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:110:29: warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.add(
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h:91:63: note: property declared here
@property (nonatomic, readonly, copy) WKWebViewConfiguration *configuration;
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:99:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(amount: PaymentMethodWidget.Amount, options: PaymentMethodWidget.Options? = nil) -> PaymentMethodWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:111:13: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
ErrorHandler({ [weak self] fail in
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/ErrorHandler.swift:12:5: note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
init(_ error: ((TossPaymentsResult.Fail) -> Void)?) {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/ErrorHandler.swift:12:5: note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
init(_ error: ((TossPaymentsResult.Fail) -> Void)?) {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:99:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(amount: PaymentMethodWidget.Amount, options: PaymentMethodWidget.Options? = nil) -> PaymentMethodWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:112:44: warning: main actor-isolated property 'widgetStatusDelegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
self?.paymentMethodWidget?.widgetStatusDelegate?.didReceiveFail("paymentMethodWidget", fail: fail)
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/PaymentMethodWidget.swift:12:21: note: property declared here
public weak var widgetStatusDelegate: TossPaymentsWidgetStatusDelegate?
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:116:65: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.add(
^
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
@MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:99:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(amount: PaymentMethodWidget.Amount, options: PaymentMethodWidget.Options? = nil) -> PaymentMethodWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:116:43: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.add(
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
@property (nonatomic, strong) WKUserContentController *userContentController;
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:99:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(amount: PaymentMethodWidget.Amount, options: PaymentMethodWidget.Options? = nil) -> PaymentMethodWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:116:29: warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.add(
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h:91:63: note: property declared here
@property (nonatomic, readonly, copy) WKWebViewConfiguration *configuration;
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:99:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(amount: PaymentMethodWidget.Amount, options: PaymentMethodWidget.Options? = nil) -> PaymentMethodWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:117:13: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
UpdateHeightMessageHandler(),
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/UpdateHeightMessageHandler.swift:10:74: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
final class UpdateHeightMessageHandler: NSObject, WKScriptMessageHandler {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/UpdateHeightMessageHandler.swift:10:74: note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
final class UpdateHeightMessageHandler: NSObject, WKScriptMessageHandler {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:99:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(amount: PaymentMethodWidget.Amount, options: PaymentMethodWidget.Options? = nil) -> PaymentMethodWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:120:65: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.add(
^
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
@MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:99:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(amount: PaymentMethodWidget.Amount, options: PaymentMethodWidget.Options? = nil) -> PaymentMethodWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:120:43: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.add(
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
@property (nonatomic, strong) WKUserContentController *userContentController;
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:99:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(amount: PaymentMethodWidget.Amount, options: PaymentMethodWidget.Options? = nil) -> PaymentMethodWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:120:29: warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.add(
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h:91:63: note: property declared here
@property (nonatomic, readonly, copy) WKWebViewConfiguration *configuration;
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:99:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(amount: PaymentMethodWidget.Amount, options: PaymentMethodWidget.Options? = nil) -> PaymentMethodWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:121:13: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
RequestHTMLMessageHandler(self),
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/RequestHTMLMessageHandler.swift:13:5: note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
init(_ widget: PaymentWidget) {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/RequestHTMLMessageHandler.swift:13:5: note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
init(_ widget: PaymentWidget) {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:99:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(amount: PaymentMethodWidget.Amount, options: PaymentMethodWidget.Options? = nil) -> PaymentMethodWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:124:65: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.add(
^
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
@MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:99:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(amount: PaymentMethodWidget.Amount, options: PaymentMethodWidget.Options? = nil) -> PaymentMethodWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:124:43: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.add(
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
@property (nonatomic, strong) WKUserContentController *userContentController;
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:99:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(amount: PaymentMethodWidget.Amount, options: PaymentMethodWidget.Options? = nil) -> PaymentMethodWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:124:29: warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.add(
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h:91:63: note: property declared here
@property (nonatomic, readonly, copy) WKWebViewConfiguration *configuration;
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:99:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(amount: PaymentMethodWidget.Amount, options: PaymentMethodWidget.Options? = nil) -> PaymentMethodWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:125:13: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
MessageScriptHandler(self),
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/MessageScriptHandler.swift:12:5: note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
init(_ widget: PaymentWidget) {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/MessageScriptHandler.swift:12:5: note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
init(_ widget: PaymentWidget) {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:99:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(amount: PaymentMethodWidget.Amount, options: PaymentMethodWidget.Options? = nil) -> PaymentMethodWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:128:29: warning: call to main actor-isolated instance method 'loadHTMLString(_:baseURL:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.loadHTMLString(htmlString, baseURL: baseURL)
^
WebKit.WKWebView.loadHTMLString:2:22: note: calls to instance method 'loadHTMLString(_:baseURL:)' from outside of its actor context are implicitly asynchronous
@MainActor open func loadHTMLString(_ string: String, baseURL: URL?) -> WKNavigation?}
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:99:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(amount: PaymentMethodWidget.Amount, options: PaymentMethodWidget.Options? = nil) -> PaymentMethodWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:139:35: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let paymentMethodWidget = PaymentMethodWidget()
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/PaymentMethodWidget.swift:24:5: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
init() {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/PaymentMethodWidget.swift:24:5: note: main actor isolation inferred from inheritance from class 'WKWebView'
init() {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:135:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:143:65: warning: call to main actor-isolated instance method 'addUserScript' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.addUserScript(legacyPaymentMethodScript)
^
WebKit.WKUserContentController.addUserScript:2:22: note: calls to instance method 'addUserScript' from outside of its actor context are implicitly asynchronous
@MainActor open func addUserScript(_ userScript: WKUserScript)}
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:135:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:143:43: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.addUserScript(legacyPaymentMethodScript)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
@property (nonatomic, strong) WKUserContentController *userContentController;
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:135:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:143:29: warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.addUserScript(legacyPaymentMethodScript)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h:91:63: note: property declared here
@property (nonatomic, readonly, copy) WKWebViewConfiguration *configuration;
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:135:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:145:65: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.add(
^
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
@MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:135:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:145:43: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.add(
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
@property (nonatomic, strong) WKUserContentController *userContentController;
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:135:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:145:29: warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.add(
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h:91:63: note: property declared here
@property (nonatomic, readonly, copy) WKWebViewConfiguration *configuration;
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:135:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:146:13: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
RequestPaymentsMessageHandler(self),
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/RequestPaymentsMessageHandler.swift:13:5: note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
init(_ widget: PaymentWidget) {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/RequestPaymentsMessageHandler.swift:13:5: note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
init(_ widget: PaymentWidget) {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:135:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:149:65: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.add(
^
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
@MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:135:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:149:43: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.add(
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
@property (nonatomic, strong) WKUserContentController *userContentController;
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:135:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:149:29: warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.add(
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h:91:63: note: property declared here
@property (nonatomic, readonly, copy) WKWebViewConfiguration *configuration;
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:135:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:150:13: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
ErrorHandler({ [weak self] fail in
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/ErrorHandler.swift:12:5: note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
init(_ error: ((TossPaymentsResult.Fail) -> Void)?) {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/ErrorHandler.swift:12:5: note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
init(_ error: ((TossPaymentsResult.Fail) -> Void)?) {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:135:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:151:44: warning: main actor-isolated property 'widgetStatusDelegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
self?.paymentMethodWidget?.widgetStatusDelegate?.didReceiveFail("paymentMethodWidget", fail: fail)
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/PaymentMethodWidget.swift:12:21: note: property declared here
public weak var widgetStatusDelegate: TossPaymentsWidgetStatusDelegate?
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:155:65: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.add(
^
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
@MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:135:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:155:43: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.add(
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
@property (nonatomic, strong) WKUserContentController *userContentController;
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:135:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:155:29: warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.add(
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h:91:63: note: property declared here
@property (nonatomic, readonly, copy) WKWebViewConfiguration *configuration;
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:135:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:156:13: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
UpdateHeightMessageHandler(),
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/UpdateHeightMessageHandler.swift:10:74: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
final class UpdateHeightMessageHandler: NSObject, WKScriptMessageHandler {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/UpdateHeightMessageHandler.swift:10:74: note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
final class UpdateHeightMessageHandler: NSObject, WKScriptMessageHandler {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:135:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:159:65: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.add(
^
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
@MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:135:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:159:43: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.add(
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
@property (nonatomic, strong) WKUserContentController *userContentController;
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:135:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:159:29: warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.add(
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h:91:63: note: property declared here
@property (nonatomic, readonly, copy) WKWebViewConfiguration *configuration;
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:135:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:160:13: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
RequestHTMLMessageHandler(self),
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/RequestHTMLMessageHandler.swift:13:5: note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
init(_ widget: PaymentWidget) {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/RequestHTMLMessageHandler.swift:13:5: note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
init(_ widget: PaymentWidget) {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:135:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:163:65: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.add(
^
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
@MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:135:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:163:43: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.add(
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
@property (nonatomic, strong) WKUserContentController *userContentController;
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:135:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:163:29: warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.configuration.userContentController.add(
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h:91:63: note: property declared here
@property (nonatomic, readonly, copy) WKWebViewConfiguration *configuration;
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:135:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:164:13: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
MessageScriptHandler(self),
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/MessageScriptHandler.swift:12:5: note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
init(_ widget: PaymentWidget) {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/MessageScriptHandler.swift:12:5: note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
init(_ widget: PaymentWidget) {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:135:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:167:29: warning: call to main actor-isolated instance method 'loadHTMLString(_:baseURL:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
paymentMethodWidget.loadHTMLString(htmlString, baseURL: baseURL)
^
WebKit.WKWebView.loadHTMLString:2:22: note: calls to instance method 'loadHTMLString(_:baseURL:)' from outside of its actor context are implicitly asynchronous
@MainActor open func loadHTMLString(_ string: String, baseURL: URL?) -> WKNavigation?}
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:135:17: note: add '@MainActor' to make instance method 'renderPaymentMethods(amount:options:)' part of global actor 'MainActor'
public func renderPaymentMethods(
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:174:31: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let agreementWidget = AgreementWidget()
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/AgreementWidget.swift:23:5: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
init() {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/AgreementWidget.swift:23:5: note: main actor isolation inferred from inheritance from class 'WKWebView'
init() {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:173:17: note: add '@MainActor' to make instance method 'renderAgreement()' part of global actor 'MainActor'
public func renderAgreement() -> AgreementWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:175:61: warning: call to main actor-isolated instance method 'addUserScript' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
agreementWidget.configuration.userContentController.addUserScript(agreementScript)
^
WebKit.WKUserContentController.addUserScript:2:22: note: calls to instance method 'addUserScript' from outside of its actor context are implicitly asynchronous
@MainActor open func addUserScript(_ userScript: WKUserScript)}
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:173:17: note: add '@MainActor' to make instance method 'renderAgreement()' part of global actor 'MainActor'
public func renderAgreement() -> AgreementWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:175:39: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
agreementWidget.configuration.userContentController.addUserScript(agreementScript)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
@property (nonatomic, strong) WKUserContentController *userContentController;
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:173:17: note: add '@MainActor' to make instance method 'renderAgreement()' part of global actor 'MainActor'
public func renderAgreement() -> AgreementWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:175:25: warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
agreementWidget.configuration.userContentController.addUserScript(agreementScript)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h:91:63: note: property declared here
@property (nonatomic, readonly, copy) WKWebViewConfiguration *configuration;
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:173:17: note: add '@MainActor' to make instance method 'renderAgreement()' part of global actor 'MainActor'
public func renderAgreement() -> AgreementWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:176:61: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
agreementWidget.configuration.userContentController.add(
^
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
@MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:173:17: note: add '@MainActor' to make instance method 'renderAgreement()' part of global actor 'MainActor'
public func renderAgreement() -> AgreementWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:176:39: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
agreementWidget.configuration.userContentController.add(
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
@property (nonatomic, strong) WKUserContentController *userContentController;
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:173:17: note: add '@MainActor' to make instance method 'renderAgreement()' part of global actor 'MainActor'
public func renderAgreement() -> AgreementWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:176:25: warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
agreementWidget.configuration.userContentController.add(
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h:91:63: note: property declared here
@property (nonatomic, readonly, copy) WKWebViewConfiguration *configuration;
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:173:17: note: add '@MainActor' to make instance method 'renderAgreement()' part of global actor 'MainActor'
public func renderAgreement() -> AgreementWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:177:13: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
ErrorHandler({ [weak self] fail in
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/ErrorHandler.swift:12:5: note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
init(_ error: ((TossPaymentsResult.Fail) -> Void)?) {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/ErrorHandler.swift:12:5: note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
init(_ error: ((TossPaymentsResult.Fail) -> Void)?) {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:173:17: note: add '@MainActor' to make instance method 'renderAgreement()' part of global actor 'MainActor'
public func renderAgreement() -> AgreementWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:178:44: warning: main actor-isolated property 'widgetStatusDelegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
self?.paymentMethodWidget?.widgetStatusDelegate?.didReceiveFail("agreement", fail: fail)
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/PaymentMethodWidget.swift:12:21: note: property declared here
public weak var widgetStatusDelegate: TossPaymentsWidgetStatusDelegate?
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:182:61: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
agreementWidget.configuration.userContentController.add(
^
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
@MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:173:17: note: add '@MainActor' to make instance method 'renderAgreement()' part of global actor 'MainActor'
public func renderAgreement() -> AgreementWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:182:39: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
agreementWidget.configuration.userContentController.add(
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
@property (nonatomic, strong) WKUserContentController *userContentController;
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:173:17: note: add '@MainActor' to make instance method 'renderAgreement()' part of global actor 'MainActor'
public func renderAgreement() -> AgreementWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:182:25: warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
agreementWidget.configuration.userContentController.add(
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h:91:63: note: property declared here
@property (nonatomic, readonly, copy) WKWebViewConfiguration *configuration;
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:173:17: note: add '@MainActor' to make instance method 'renderAgreement()' part of global actor 'MainActor'
public func renderAgreement() -> AgreementWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:183:13: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
UpdateHeightMessageHandler(),
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/UpdateHeightMessageHandler.swift:10:74: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
final class UpdateHeightMessageHandler: NSObject, WKScriptMessageHandler {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/UpdateHeightMessageHandler.swift:10:74: note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
final class UpdateHeightMessageHandler: NSObject, WKScriptMessageHandler {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:173:17: note: add '@MainActor' to make instance method 'renderAgreement()' part of global actor 'MainActor'
public func renderAgreement() -> AgreementWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:186:61: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
agreementWidget.configuration.userContentController.add(
^
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
@MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:173:17: note: add '@MainActor' to make instance method 'renderAgreement()' part of global actor 'MainActor'
public func renderAgreement() -> AgreementWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:186:39: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
agreementWidget.configuration.userContentController.add(
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
@property (nonatomic, strong) WKUserContentController *userContentController;
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:173:17: note: add '@MainActor' to make instance method 'renderAgreement()' part of global actor 'MainActor'
public func renderAgreement() -> AgreementWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:186:25: warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
agreementWidget.configuration.userContentController.add(
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h:91:63: note: property declared here
@property (nonatomic, readonly, copy) WKWebViewConfiguration *configuration;
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:173:17: note: add '@MainActor' to make instance method 'renderAgreement()' part of global actor 'MainActor'
public func renderAgreement() -> AgreementWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:187:13: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
MessageScriptHandler(self),
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/MessageScriptHandler.swift:12:5: note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
init(_ widget: PaymentWidget) {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/MessageScriptHandler.swift:12:5: note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
init(_ widget: PaymentWidget) {
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:173:17: note: add '@MainActor' to make instance method 'renderAgreement()' part of global actor 'MainActor'
public func renderAgreement() -> AgreementWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:190:25: warning: call to main actor-isolated instance method 'loadHTMLString(_:baseURL:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
agreementWidget.loadHTMLString(htmlString, baseURL: baseURL)
^
WebKit.WKWebView.loadHTMLString:2:22: note: calls to instance method 'loadHTMLString(_:baseURL:)' from outside of its actor context are implicitly asynchronous
@MainActor open func loadHTMLString(_ string: String, baseURL: URL?) -> WKNavigation?}
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:173:17: note: add '@MainActor' to make instance method 'renderAgreement()' part of global actor 'MainActor'
public func renderAgreement() -> AgreementWidget {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:107:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
RequestPaymentsMessageHandler(self),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:107:13: note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
RequestPaymentsMessageHandler(self),
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:111:13: warning: sending value of non-Sendable type '(TossPaymentsResult.Fail) -> Void' risks causing data races; this is an error in the Swift 6 language mode
ErrorHandler({ [weak self] fail in
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:111:13: note: sending task-isolated value of non-Sendable type '(TossPaymentsResult.Fail) -> Void' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
ErrorHandler({ [weak self] fail in
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:121:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
RequestHTMLMessageHandler(self),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:121:13: note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
RequestHTMLMessageHandler(self),
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:125:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
MessageScriptHandler(self),
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:125:13: note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
MessageScriptHandler(self),
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:146:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
RequestPaymentsMessageHandler(self),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:146:13: note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
RequestPaymentsMessageHandler(self),
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:150:13: warning: sending value of non-Sendable type '(TossPaymentsResult.Fail) -> Void' risks causing data races; this is an error in the Swift 6 language mode
ErrorHandler({ [weak self] fail in
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:150:13: note: sending task-isolated value of non-Sendable type '(TossPaymentsResult.Fail) -> Void' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
ErrorHandler({ [weak self] fail in
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:160:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
RequestHTMLMessageHandler(self),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:160:13: note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
RequestHTMLMessageHandler(self),
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:164:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
MessageScriptHandler(self),
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:164:13: note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
MessageScriptHandler(self),
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:177:13: warning: sending value of non-Sendable type '(TossPaymentsResult.Fail) -> Void' risks causing data races; this is an error in the Swift 6 language mode
ErrorHandler({ [weak self] fail in
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:177:13: note: sending task-isolated value of non-Sendable type '(TossPaymentsResult.Fail) -> Void' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
ErrorHandler({ [weak self] fail in
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:187:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
MessageScriptHandler(self),
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:187:13: note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
MessageScriptHandler(self),
^
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:214:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
self.paymentMethodWidget?.evaluateJavaScript(
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift:214:13: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
self.paymentMethodWidget?.evaluateJavaScript(
^~~~
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Protocol/CanUpdateHeight.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Protocol/PaymentWidgetComponent.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Util/UIView+TossPaymentExtension.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Util/UIWindow+TossPaymentExtension.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Util/URLComponent+TossPaymentExtension.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ErrorHandler.swift,\ MessageScriptHandler.swift,\ RequestHTMLMessageHandler.swift,\ RequestPaymentsMessageHandler.swift,\ ScriptName.swift,\ SuccessHandler.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/ErrorHandler.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/MessageScriptHandler.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/RequestHTMLMessageHandler.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/RequestPaymentsMessageHandler.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/ScriptName.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/SuccessHandler.swift (in target 'TossPayments' from project 'TossPayments')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/ErrorHandler.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/MessageScriptHandler.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/RequestHTMLMessageHandler.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/RequestHTMLMessageHandler.swift:28:30: warning: 'windows' was deprecated in visionOS 1.0: Use UIWindowScene.windows on a relevant window scene instead
UIApplication.shared.windows.first?.visibleViewController?.present(viewController, animated: true)
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/RequestPaymentsMessageHandler.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/RequestPaymentsMessageHandler.swift:54:30: warning: 'windows' was deprecated in visionOS 1.0: Use UIWindowScene.windows on a relevant window scene instead
UIApplication.shared.windows.first?.visibleViewController?.present(viewController, animated: true)
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/ScriptName.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/SuccessHandler.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64 Emitting module for TossPayments (in target 'TossPayments' from project 'TossPayments')
SwiftDriver\ Compilation\ Requirements TossPayments normal arm64 com.apple.xcode.tools.swift.compiler (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation-Requirements -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name TossPayments -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/Objects-normal/arm64/TossPayments.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/Objects-normal/arm64/TossPayments-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/Objects-normal/arm64/TossPayments.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/Objects-normal/arm64/TossPayments_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/Objects-normal/arm64/TossPayments-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriverJobDiscovery normal arm64 Compiling CustomRequestMessage.swift, MessageHandler.swift, UpdateAgreementStatusMessage.swift, UpdateHeightMessage.swift, WidgetMessageProtocol.swift, WidgetStatusMessage.swift (in target 'TossPayments' from project 'TossPayments')
SwiftDriverJobDiscovery normal arm64 Compiling TransferPaymentInfo.swift, VirtualAccountPaymentInfo.swift, WebConstants.swift, GiftCertificate.swift, PaymentMethod.swift, TossPaymentsResult.swift, DefaultWidgetPaymentInfo.swift (in target 'TossPayments' from project 'TossPayments')
SwiftMergeGeneratedHeaders /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/TossPayments-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/Objects-normal/arm64/TossPayments-Swift.h (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftHeaderTool -arch arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/Objects-normal/arm64/TossPayments-Swift.h -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/TossPayments-Swift.h
SwiftDriverJobDiscovery normal arm64 Compiling EscrowProducts.swift, CardPaymentInfo.swift, DefaultPaymentInfo.swift, ForeignEasyPayPaymentInfo.swift, GiftCertificatePaymentInfo.swift, MobilePhonePaymentInfo.swift, PaymentInfo.swift (in target 'TossPayments' from project 'TossPayments')
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/TossPayments.swiftmodule/arm64-apple-xros.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/Objects-normal/arm64/TossPayments.swiftdoc (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/Objects-normal/arm64/TossPayments.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/TossPayments.swiftmodule/arm64-apple-xros.swiftdoc
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/TossPayments.swiftmodule/arm64-apple-xros.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/Objects-normal/arm64/TossPayments.swiftmodule (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/Objects-normal/arm64/TossPayments.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/TossPayments.swiftmodule/arm64-apple-xros.swiftmodule
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/TossPayments.swiftmodule/arm64-apple-xros.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/Objects-normal/arm64/TossPayments.abi.json (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/Objects-normal/arm64/TossPayments.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/TossPayments.swiftmodule/arm64-apple-xros.abi.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/TossPayments.swiftmodule/Project/arm64-apple-xros.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/Objects-normal/arm64/TossPayments.swiftsourceinfo (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/Objects-normal/arm64/TossPayments.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/TossPayments.swiftmodule/Project/arm64-apple-xros.swiftsourceinfo
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 Compiling\ UpdateHeightMessageHandler.swift,\ TossPayments.swift,\ AgreementWidget.swift,\ PaymentMethodWidget.swift,\ PaymentMethodWidget+Extensions.swift,\ PaymentWidget+WebSources.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/UpdateHeightMessageHandler.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/TossPayments/TossPayments.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/AgreementWidget.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/PaymentMethodWidget.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentMethodWidget+Extensions.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget+WebSources.swift (in target 'TossPayments' from project 'TossPayments')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/AgreementWidget.swift (in target 'TossPayments' from project 'TossPayments')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/PaymentMethodWidget.swift (in target 'TossPayments' from project 'TossPayments')
Building workspace spi-builder-workspace with scheme TossPayments
(4 failures)
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
TossPayments: /Users/admin/builder/spi-builder-workspace
resolved source packages: TossPayments
{
"dependencies" : [
],
"manifest_display_name" : "TossPayments",
"name" : "TossPayments",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
}
],
"products" : [
{
"name" : "TossPayments",
"targets" : [
"TossPayments"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "TossPayments",
"module_type" : "SwiftTarget",
"name" : "TossPayments",
"path" : "TossPayments/Sources",
"product_memberships" : [
"TossPayments"
],
"sources" : [
"AppSchemeManager/AppSchemeManager.swift",
"BrowserPopupWindow/BrowserPopupHandler.swift",
"BrowserPopupWindow/BrowserPopupWindowController.swift",
"Model/AgreementStatus.swift",
"Model/CustomRequest.swift",
"Model/Etc/CarrierCode.swift",
"Model/Etc/CashReceipt.swift",
"Model/Etc/EscrowProducts.swift",
"Model/PaymentInfo/CardPaymentInfo.swift",
"Model/PaymentInfo/DefaultPaymentInfo.swift",
"Model/PaymentInfo/ForeignEasyPayPaymentInfo.swift",
"Model/PaymentInfo/GiftCertificatePaymentInfo.swift",
"Model/PaymentInfo/MobilePhonePaymentInfo.swift",
"Model/PaymentInfo/PaymentInfo.swift",
"Model/PaymentInfo/TransferPaymentInfo.swift",
"Model/PaymentInfo/VirtualAccountPaymentInfo.swift",
"Model/PaymentInfo/WebConstants.swift",
"Model/PaymentMethod/GiftCertificate.swift",
"Model/PaymentMethod/PaymentMethod.swift",
"Model/TossPaymentsResult.swift",
"Model/WidgetPaymentInfo/DefaultWidgetPaymentInfo.swift",
"Model/WidgetPaymentInfo/WidgetPaymentInfo.swift",
"Model/WidgetPaymentMethod.swift",
"Model/WidgetStatus.swift",
"Service/TossPaymentsEnvironment.swift",
"Service/TossPaymentsService.swift",
"Service/WidgetService.swift",
"SwiftUI/TossPayments/TossPaymentsView.swift",
"SwiftUI/TossPayments/WebView/TossPaymentsWebView.swift",
"SwiftUI/Widget/AgreementWidgetView.swift",
"SwiftUI/Widget/PaymentMethodWidgetView.swift",
"SwiftUI/Widget/PaymentWidgetView.swift",
"UIKit/Base/TossPaymentsDelegate.swift",
"UIKit/Base/TossPaymentsViewController+WKUIDelegate.swift",
"UIKit/Base/TossPaymentsViewController.swift",
"UIKit/Base/TossPaymentsWidgetUIDelegate.swift",
"UIKit/BrandPay/BrandPay.swift",
"UIKit/Message/ChangePaymentMethodMessage.swift",
"UIKit/Message/CustomPaymentMethodSelectedMessage.swift",
"UIKit/Message/CustomPaymentMethodUnselectedMessage.swift",
"UIKit/Message/CustomRequestMessage.swift",
"UIKit/Message/MessageHandler.swift",
"UIKit/Message/UpdateAgreementStatusMessage.swift",
"UIKit/Message/UpdateHeightMessage.swift",
"UIKit/Message/WidgetMessageProtocol.swift",
"UIKit/Message/WidgetStatusMessage.swift",
"UIKit/ScriptHandler/ErrorHandler.swift",
"UIKit/ScriptHandler/MessageScriptHandler.swift",
"UIKit/ScriptHandler/RequestHTMLMessageHandler.swift",
"UIKit/ScriptHandler/RequestPaymentsMessageHandler.swift",
"UIKit/ScriptHandler/ScriptName.swift",
"UIKit/ScriptHandler/SuccessHandler.swift",
"UIKit/ScriptHandler/UpdateHeightMessageHandler.swift",
"UIKit/TossPayments/TossPayments.swift",
"UIKit/Widget/Model/AgreementWidget.swift",
"UIKit/Widget/Model/PaymentMethodWidget.swift",
"UIKit/Widget/PaymentMethodWidget+Extensions.swift",
"UIKit/Widget/PaymentWidget+WebSources.swift",
"UIKit/Widget/PaymentWidget.swift",
"UIKit/Widget/Protocol/CanUpdateHeight.swift",
"UIKit/Widget/Protocol/PaymentWidgetComponent.swift",
"Util/UIView+TossPaymentExtension.swift",
"Util/UIWindow+TossPaymentExtension.swift",
"Util/URLComponent+TossPaymentExtension.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"TossPayments"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme TossPayments -destination generic/platform=xrOS
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme TossPayments -destination generic/platform=xrOS
Resolve Package Graph
Resolved source packages:
TossPayments: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'TossPayments' in project 'TossPayments'
➜ Explicit dependency on target 'TossPayments' in project 'TossPayments'
Target 'TossPayments' in project 'TossPayments' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: cb0cec2cca593fe16529e115223fe279
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/cb0cec2cca593fe16529e115223fe279.xcbuilddata
ClangStatCache /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache
SwiftDriver TossPayments normal arm64 com.apple.xcode.tools.swift.compiler (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name TossPayments -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/Objects-normal/arm64/TossPayments.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/Objects-normal/arm64/TossPayments-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/Objects-normal/arm64/TossPayments.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/Objects-normal/arm64/TossPayments_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/Objects-normal/arm64/TossPayments-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ EscrowProducts.swift,\ CardPaymentInfo.swift,\ DefaultPaymentInfo.swift,\ ForeignEasyPayPaymentInfo.swift,\ GiftCertificatePaymentInfo.swift,\ MobilePhonePaymentInfo.swift,\ PaymentInfo.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/Etc/EscrowProducts.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/PaymentInfo/CardPaymentInfo.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/PaymentInfo/DefaultPaymentInfo.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/PaymentInfo/ForeignEasyPayPaymentInfo.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/PaymentInfo/GiftCertificatePaymentInfo.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/PaymentInfo/MobilePhonePaymentInfo.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/PaymentInfo/PaymentInfo.swift (in target 'TossPayments' from project 'TossPayments')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/Etc/EscrowProducts.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/PaymentInfo/CardPaymentInfo.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/PaymentInfo/DefaultPaymentInfo.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/PaymentInfo/ForeignEasyPayPaymentInfo.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/PaymentInfo/GiftCertificatePaymentInfo.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/PaymentInfo/MobilePhonePaymentInfo.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/PaymentInfo/PaymentInfo.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ AppSchemeManager.swift,\ BrowserPopupHandler.swift,\ BrowserPopupWindowController.swift,\ AgreementStatus.swift,\ CustomRequest.swift,\ CarrierCode.swift,\ CashReceipt.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/AppSchemeManager/AppSchemeManager.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/BrowserPopupWindow/BrowserPopupHandler.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/BrowserPopupWindow/BrowserPopupWindowController.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/AgreementStatus.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/CustomRequest.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/Etc/CarrierCode.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/Etc/CashReceipt.swift (in target 'TossPayments' from project 'TossPayments')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/AppSchemeManager/AppSchemeManager.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/BrowserPopupWindow/BrowserPopupHandler.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/BrowserPopupWindow/BrowserPopupWindowController.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/AgreementStatus.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/CustomRequest.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/Etc/CarrierCode.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/Etc/CashReceipt.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ TransferPaymentInfo.swift,\ VirtualAccountPaymentInfo.swift,\ WebConstants.swift,\ GiftCertificate.swift,\ PaymentMethod.swift,\ TossPaymentsResult.swift,\ DefaultWidgetPaymentInfo.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/PaymentInfo/TransferPaymentInfo.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/PaymentInfo/VirtualAccountPaymentInfo.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/PaymentInfo/WebConstants.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/PaymentMethod/GiftCertificate.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/PaymentMethod/PaymentMethod.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/TossPaymentsResult.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/WidgetPaymentInfo/DefaultWidgetPaymentInfo.swift (in target 'TossPayments' from project 'TossPayments')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/PaymentInfo/TransferPaymentInfo.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/PaymentInfo/VirtualAccountPaymentInfo.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/PaymentInfo/WebConstants.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/PaymentMethod/GiftCertificate.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/PaymentMethod/PaymentMethod.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/TossPaymentsResult.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/WidgetPaymentInfo/DefaultWidgetPaymentInfo.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ WidgetPaymentInfo.swift,\ WidgetPaymentMethod.swift,\ WidgetStatus.swift,\ TossPaymentsEnvironment.swift,\ TossPaymentsService.swift,\ WidgetService.swift,\ TossPaymentsView.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/WidgetPaymentInfo/WidgetPaymentInfo.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/WidgetPaymentMethod.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/WidgetStatus.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Service/TossPaymentsEnvironment.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Service/TossPaymentsService.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Service/WidgetService.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/SwiftUI/TossPayments/TossPaymentsView.swift (in target 'TossPayments' from project 'TossPayments')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/WidgetPaymentInfo/WidgetPaymentInfo.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/WidgetPaymentMethod.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/WidgetStatus.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Service/TossPaymentsEnvironment.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Service/TossPaymentsService.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Service/WidgetService.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/SwiftUI/TossPayments/TossPaymentsView.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ErrorHandler.swift,\ MessageScriptHandler.swift,\ RequestHTMLMessageHandler.swift,\ RequestPaymentsMessageHandler.swift,\ ScriptName.swift,\ SuccessHandler.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/ErrorHandler.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/MessageScriptHandler.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/RequestHTMLMessageHandler.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/RequestPaymentsMessageHandler.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/ScriptName.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/SuccessHandler.swift (in target 'TossPayments' from project 'TossPayments')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/ErrorHandler.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/MessageScriptHandler.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/RequestHTMLMessageHandler.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/RequestPaymentsMessageHandler.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/ScriptName.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/SuccessHandler.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ PaymentWidget.swift,\ CanUpdateHeight.swift,\ PaymentWidgetComponent.swift,\ UIView+TossPaymentExtension.swift,\ UIWindow+TossPaymentExtension.swift,\ URLComponent+TossPaymentExtension.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Protocol/CanUpdateHeight.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Protocol/PaymentWidgetComponent.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Util/UIView+TossPaymentExtension.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Util/UIWindow+TossPaymentExtension.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Util/URLComponent+TossPaymentExtension.swift (in target 'TossPayments' from project 'TossPayments')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Protocol/CanUpdateHeight.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Protocol/PaymentWidgetComponent.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Util/UIView+TossPaymentExtension.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Util/UIWindow+TossPaymentExtension.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Util/URLComponent+TossPaymentExtension.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ TossPaymentsViewController.swift,\ TossPaymentsWidgetUIDelegate.swift,\ BrandPay.swift,\ ChangePaymentMethodMessage.swift,\ CustomPaymentMethodSelectedMessage.swift,\ CustomPaymentMethodUnselectedMessage.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsViewController.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsWidgetUIDelegate.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/BrandPay/BrandPay.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/ChangePaymentMethodMessage.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/CustomPaymentMethodSelectedMessage.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/CustomPaymentMethodUnselectedMessage.swift (in target 'TossPayments' from project 'TossPayments')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsViewController.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsWidgetUIDelegate.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/BrandPay/BrandPay.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/ChangePaymentMethodMessage.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/CustomPaymentMethodSelectedMessage.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/CustomPaymentMethodUnselectedMessage.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ TossPaymentsWebView.swift,\ AgreementWidgetView.swift,\ PaymentMethodWidgetView.swift,\ PaymentWidgetView.swift,\ TossPaymentsDelegate.swift,\ TossPaymentsViewController+WKUIDelegate.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/SwiftUI/TossPayments/WebView/TossPaymentsWebView.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/SwiftUI/Widget/AgreementWidgetView.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/SwiftUI/Widget/PaymentMethodWidgetView.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/SwiftUI/Widget/PaymentWidgetView.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsDelegate.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsViewController+WKUIDelegate.swift (in target 'TossPayments' from project 'TossPayments')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/SwiftUI/TossPayments/WebView/TossPaymentsWebView.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/SwiftUI/Widget/AgreementWidgetView.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/SwiftUI/Widget/PaymentMethodWidgetView.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/SwiftUI/Widget/PaymentWidgetView.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsDelegate.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsViewController+WKUIDelegate.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ TossPayments (in target 'TossPayments' from project 'TossPayments')
EmitSwiftModule normal arm64 (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ UpdateHeightMessageHandler.swift,\ TossPayments.swift,\ AgreementWidget.swift,\ PaymentMethodWidget.swift,\ PaymentMethodWidget+Extensions.swift,\ PaymentWidget+WebSources.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/UpdateHeightMessageHandler.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/TossPayments/TossPayments.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/AgreementWidget.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/PaymentMethodWidget.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentMethodWidget+Extensions.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget+WebSources.swift (in target 'TossPayments' from project 'TossPayments')
Failed frontend command:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/AppSchemeManager/AppSchemeManager.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/BrowserPopupWindow/BrowserPopupHandler.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/BrowserPopupWindow/BrowserPopupWindowController.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/AgreementStatus.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/CustomRequest.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/Etc/CarrierCode.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/Etc/CashReceipt.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/Etc/EscrowProducts.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/PaymentInfo/CardPaymentInfo.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/PaymentInfo/DefaultPaymentInfo.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/PaymentInfo/ForeignEasyPayPaymentInfo.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/PaymentInfo/GiftCertificatePaymentInfo.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/PaymentInfo/MobilePhonePaymentInfo.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/PaymentInfo/PaymentInfo.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/PaymentInfo/TransferPaymentInfo.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/PaymentInfo/VirtualAccountPaymentInfo.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/PaymentInfo/WebConstants.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/PaymentMethod/GiftCertificate.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/PaymentMethod/PaymentMethod.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/TossPaymentsResult.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/WidgetPaymentInfo/DefaultWidgetPaymentInfo.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/WidgetPaymentInfo/WidgetPaymentInfo.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/WidgetPaymentMethod.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Model/WidgetStatus.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Service/TossPaymentsEnvironment.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Service/TossPaymentsService.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Service/WidgetService.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/SwiftUI/TossPayments/TossPaymentsView.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/SwiftUI/TossPayments/WebView/TossPaymentsWebView.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/SwiftUI/Widget/AgreementWidgetView.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/SwiftUI/Widget/PaymentMethodWidgetView.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/SwiftUI/Widget/PaymentWidgetView.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsDelegate.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsViewController+WKUIDelegate.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsViewController.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Base/TossPaymentsWidgetUIDelegate.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/BrandPay/BrandPay.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/ChangePaymentMethodMessage.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/CustomPaymentMethodSelectedMessage.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/CustomPaymentMethodUnselectedMessage.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/CustomRequestMessage.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/MessageHandler.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/UpdateAgreementStatusMessage.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/UpdateHeightMessage.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/WidgetMessageProtocol.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/WidgetStatusMessage.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/ErrorHandler.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/MessageScriptHandler.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/RequestHTMLMessageHandler.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/RequestPaymentsMessageHandler.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/ScriptName.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/SuccessHandler.swift -primary-file /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/UpdateHeightMessageHandler.swift -primary-file /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/TossPayments/TossPayments.swift -primary-file /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/AgreementWidget.swift -primary-file /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/PaymentMethodWidget.swift -primary-file /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentMethodWidget+Extensions.swift -primary-file /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget+WebSources.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Protocol/CanUpdateHeight.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Protocol/PaymentWidgetComponent.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Util/UIView+TossPaymentExtension.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Util/UIWindow+TossPaymentExtension.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/Util/URLComponent+TossPaymentExtension.swift -supplementary-output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/Objects-normal/arm64/supplementaryOutputs-9 -target arm64-apple-xros1.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/Objects-normal/arm64/TossPayments_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name TossPayments -frontend-parseable-output -disable-clang-spi -target-sdk-version 2.4 -target-sdk-name xros2.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/Objects-normal/arm64/UpdateHeightMessageHandler.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/Objects-normal/arm64/TossPayments.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/Objects-normal/arm64/AgreementWidget.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/Objects-normal/arm64/PaymentMethodWidget.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/Objects-normal/arm64/PaymentMethodWidget+Extensions.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TossPayments.build/Debug-xros/TossPayments.build/Objects-normal/arm64/PaymentWidget+WebSources.o -index-unit-output-path /TossPayments.build/Debug-xros/TossPayments.build/Objects-normal/arm64/UpdateHeightMessageHandler.o -index-unit-output-path /TossPayments.build/Debug-xros/TossPayments.build/Objects-normal/arm64/TossPayments.o -index-unit-output-path /TossPayments.build/Debug-xros/TossPayments.build/Objects-normal/arm64/AgreementWidget.o -index-unit-output-path /TossPayments.build/Debug-xros/TossPayments.build/Objects-normal/arm64/PaymentMethodWidget.o -index-unit-output-path /TossPayments.build/Debug-xros/TossPayments.build/Objects-normal/arm64/PaymentMethodWidget+Extensions.o -index-unit-output-path /TossPayments.build/Debug-xros/TossPayments.build/Objects-normal/arm64/PaymentWidget+WebSources.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/UpdateHeightMessageHandler.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/TossPayments/TossPayments.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/AgreementWidget.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/AgreementWidget.swift:39:20: error: 'UIScreen' is unavailable in visionOS
var size = UIScreen.main.bounds.size
^~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
@interface UIScreen : NSObject <UITraitEnvironment>
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/PaymentMethodWidget.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/PaymentMethodWidget.swift:39:20: error: 'UIScreen' is unavailable in visionOS
var size = UIScreen.main.bounds.size
^~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
@interface UIScreen : NSObject <UITraitEnvironment>
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentMethodWidget+Extensions.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget+WebSources.swift (in target 'TossPayments' from project 'TossPayments')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ CustomRequestMessage.swift,\ MessageHandler.swift,\ UpdateAgreementStatusMessage.swift,\ UpdateHeightMessage.swift,\ WidgetMessageProtocol.swift,\ WidgetStatusMessage.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/CustomRequestMessage.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/MessageHandler.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/UpdateAgreementStatusMessage.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/UpdateHeightMessage.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/WidgetMessageProtocol.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/WidgetStatusMessage.swift (in target 'TossPayments' from project 'TossPayments')
Command SwiftCompile failed with a nonzero exit code
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 Compiling\ UpdateHeightMessageHandler.swift,\ TossPayments.swift,\ AgreementWidget.swift,\ PaymentMethodWidget.swift,\ PaymentMethodWidget+Extensions.swift,\ PaymentWidget+WebSources.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/ScriptHandler/UpdateHeightMessageHandler.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/TossPayments/TossPayments.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/AgreementWidget.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/PaymentMethodWidget.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentMethodWidget+Extensions.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/PaymentWidget+WebSources.swift (in target 'TossPayments' from project 'TossPayments')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/AgreementWidget.swift (in target 'TossPayments' from project 'TossPayments')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Widget/Model/PaymentMethodWidget.swift (in target 'TossPayments' from project 'TossPayments')
SwiftCompile normal arm64 Compiling\ CustomRequestMessage.swift,\ MessageHandler.swift,\ UpdateAgreementStatusMessage.swift,\ UpdateHeightMessage.swift,\ WidgetMessageProtocol.swift,\ WidgetStatusMessage.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/CustomRequestMessage.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/MessageHandler.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/UpdateAgreementStatusMessage.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/UpdateHeightMessage.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/WidgetMessageProtocol.swift /Users/admin/builder/spi-builder-workspace/TossPayments/Sources/UIKit/Message/WidgetStatusMessage.swift (in target 'TossPayments' from project 'TossPayments')
Building workspace spi-builder-workspace with scheme TossPayments
(5 failures)
BUILD FAILURE 6.1 visionOS