Build Information
Failed to build PayKit, reference main (c96d4d
), with Swift 6.0 for macOS (SPM) on 17 Apr 2025 16:52:28 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cashapp/cash-app-pay-ios-sdk.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/cashapp/cash-app-pay-ios-sdk
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c96d4d1 Merge pull request #36 from cashapp/release-0.6.3
Cloned https://github.com/cashapp/cash-app-pay-ios-sdk.git
Revision (git rev-parse @):
c96d4d1f0ad1723df6257bfecbda97b35b5b89f8
SUCCESS checkout https://github.com/cashapp/cash-app-pay-ios-sdk.git at main
Fetching https://github.com/SwiftGen/SwiftGenPlugin.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/121] Fetching swiftgenplugin
[122/13266] Fetching swiftgenplugin, swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (2.22s)
Fetched https://github.com/SwiftGen/SwiftGenPlugin.git from cache (2.22s)
Computing version for https://github.com/SwiftGen/SwiftGenPlugin.git
Computed https://github.com/SwiftGen/SwiftGenPlugin.git at 6.6.2 (0.60s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.3 (0.50s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4581] Fetching swift-custom-dump
[1101/74730] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (3.08s)
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (3.08s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.48s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5349] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.24s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (0.67s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.47s)
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/SwiftGen/SwiftGenPlugin.git
Working copy of https://github.com/SwiftGen/SwiftGenPlugin.git resolved at 6.6.2
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.18.3
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
[16375/3450738] Downloading https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip
Downloading binary artifact https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip
Downloaded https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip (1.20s)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "cash-app-pay-ios-sdk",
"name": "PayKit",
"url": "https://github.com/cashapp/cash-app-pay-ios-sdk.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/cash-app-pay-ios-sdk",
"dependencies": [
{
"identity": "swiftgenplugin",
"name": "SwiftGenPlugin",
"url": "https://github.com/SwiftGen/SwiftGenPlugin.git",
"version": "6.6.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftGenPlugin",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/cashapp/cash-app-pay-ios-sdk.git
[1/645] Fetching cash-app-pay-ios-sdk
Fetched https://github.com/cashapp/cash-app-pay-ios-sdk.git from cache (1.08s)
Fetching https://github.com/SwiftGen/SwiftGenPlugin.git from cache
Fetched https://github.com/SwiftGen/SwiftGenPlugin.git from cache (0.40s)
Computing version for https://github.com/SwiftGen/SwiftGenPlugin.git
Computed https://github.com/SwiftGen/SwiftGenPlugin.git at 6.6.2 (0.03s)
Creating working copy for https://github.com/cashapp/cash-app-pay-ios-sdk.git
Working copy of https://github.com/cashapp/cash-app-pay-ios-sdk.git resolved at main (c96d4d1)
Creating working copy for https://github.com/SwiftGen/SwiftGenPlugin.git
Working copy of https://github.com/SwiftGen/SwiftGenPlugin.git resolved at 6.6.2
Fetching binary artifact https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip from cache
Fetched https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip from cache (0.20s)
warning: '.resolve-product-dependencies': dependency 'cash-app-pay-ios-sdk' is not used by any target
Found 1 product dependencies
- SwiftGenPlugin
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/cashapp/cash-app-pay-ios-sdk.git
https://github.com/cashapp/cash-app-pay-ios-sdk.git
{
"default_localization" : "en",
"dependencies" : [
{
"identity" : "swiftgenplugin",
"requirement" : {
"range" : [
{
"lower_bound" : "6.6.2",
"upper_bound" : "7.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SwiftGen/SwiftGenPlugin.git"
},
{
"identity" : "swift-snapshot-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.9.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-snapshot-testing.git"
}
],
"manifest_display_name" : "PayKit",
"name" : "PayKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "PayKit",
"targets" : [
"PayKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PayKitUI",
"targets" : [
"PayKitUI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PayKitUITests",
"module_type" : "SwiftTarget",
"name" : "PayKitUITests",
"path" : "Tests/PayKitUITests",
"product_dependencies" : [
"SnapshotTesting"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PayKitUITests/__Snapshots__",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"BaseSnapshotTestCase.swift",
"CashAppPayButtonSnapshotTests.swift",
"CashAppPayButtonViewSnapshotTests.swift",
"CashAppPaymentMethodSnapshotTests.swift",
"CashAppPaymentMethodViewSnapshotTests.swift"
],
"target_dependencies" : [
"PayKitUI"
],
"type" : "test"
},
{
"c99name" : "PayKitUI",
"module_type" : "SwiftTarget",
"name" : "PayKitUI",
"path" : "Sources/PayKitUI",
"product_dependencies" : [
"SwiftGenPlugin"
],
"product_memberships" : [
"PayKitUI"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/Shared/Assets/Resources/Colors.xcassets",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/Shared/Assets/Resources/Images.xcassets",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/Shared/Assets/Resources/en.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/custom-xcassets-template.stencil",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/swiftgen.yml",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Shared/Generated/Assets.swift",
"Shared/Generated/Strings.generated.swift",
"Shared/Style/SizingCategory.swift",
"SwiftUI/CashAppPayButtonView.swift",
"SwiftUI/CashAppPaymentMethodView.swift",
"UIKit/CashAppPayButton.swift",
"UIKit/CashAppPaymentMethod.swift",
"UIKit/Extensions/UIColor+SwiftUI.swift"
],
"type" : "library"
},
{
"c99name" : "PayKitTests",
"module_type" : "SwiftTarget",
"name" : "PayKitTests",
"path" : "Tests/PayKitTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PayKitTests/Resources/Fixtures",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"APIErrorTests.swift",
"AccessModifierTests.swift",
"AnalyticsClientTests.swift",
"AnalyticsDataSourceTests.swift",
"AnalyticsEventTests.swift",
"AnalyticsServiceTests.swift",
"CashAppPay+EndpointTest.swift",
"CashAppPayState+ObjCTests.swift",
"CashAppPayTests.swift",
"CreateCustomerRequestParamsTests.swift",
"CustomerRequest+ExtensionsTests.swift",
"CustomerRequest+ObjCTests.swift",
"CustomerRequestTests.swift",
"DateFormatterTests.swift",
"Errors+ObjCTests.swift",
"Helpers/Difference.swift",
"Helpers/MockNotificationCenter.swift",
"Helpers/MockRestService.swift",
"Helpers/MockURLProtocol.swift",
"IntegrationErrorTests.swift",
"LoggableTests.swift",
"NetworkManagerTests.swift",
"ObjcWrapperTests.swift",
"ResilientRestServiceTests.swift",
"Resources/XCTestCase+Fixtures.swift",
"RetryPolicyTests.swift",
"StateMachineAnalyticsTests.swift",
"StateMachineTests.swift",
"UnexpectedErrorTests.swift",
"UpdateCustomerRequestParamsTests.swift",
"UserAgentTests.swift"
],
"target_dependencies" : [
"PayKit"
],
"type" : "test"
},
{
"c99name" : "PayKit",
"module_type" : "SwiftTarget",
"name" : "PayKit",
"path" : "Sources/PayKit",
"product_memberships" : [
"PayKit"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PayKit/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"CashAppPay.swift",
"CustomerRequest+Extensions.swift",
"CustomerRequest.swift",
"Errors.swift",
"JSONCoder+PayKit.swift",
"NetworkManager.swift",
"ObjcWrapper/CashAppPayState+ObjC.swift",
"ObjcWrapper/CustomerRequest+ObjC.swift",
"ObjcWrapper/Errors+ObjC.swift",
"ObjcWrapper/ObjCWrapper.swift",
"Services/Analytics/AnalyticsClient.swift",
"Services/Analytics/AnalyticsDataSource.swift",
"Services/Analytics/AnalyticsEvent.swift",
"Services/Analytics/AnalyticsService.swift",
"Services/Analytics/CashAppPayEndpoint+Analytics.swift",
"Services/Analytics/JSONEncoder+Analytics.swift",
"Services/Analytics/Loggable.swift",
"Services/Logger/Log.swift",
"Services/Networking/HTTPRequest.swift",
"Services/Networking/RESTService.swift",
"Services/Networking/RetryPolicy.swift",
"Services/Networking/UserAgent.swift",
"StateMachine.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin SwiftGen-Generate
[2/2] Compiling plugin SwiftGenPlugin
Building for debugging...
[2/14] Write sources
[2/14] Copying PrivacyInfo.xcprivacy
[2/14] Copying Info.plist
[2/14] Copying swiftgen.yml
[2/14] Copying Info.plist
[2/14] Copying Localizable.strings
[2/14] Write sources
[2/14] Copying PrivacyInfo.xcprivacy
[2/14] Copying custom-xcassets-template.stencil
[11/14] Copying Images.xcassets
[12/14] Copying Colors.xcassets
[13/14] Write swift-version-5BDAB9E9C0126B9D.txt
[15/47] Compiling PayKit RetryPolicy.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[16/47] Compiling PayKit UserAgent.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[17/49] Compiling PayKit Errors.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[18/49] Compiling PayKit JSONCoder+PayKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[19/49] Compiling PayKit NetworkManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/49] Emitting module PayKit
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[21/49] Compiling PayKit CashAppPay.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[22/49] Compiling PayKit CustomerRequest+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[23/49] Compiling PayKit CustomerRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[24/49] Compiling PayKit HTTPRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[25/49] Compiling PayKit RESTService.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[26/49] Compiling PayKit Loggable.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[27/49] Compiling PayKit Log.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[28/49] Compiling PayKit CashAppPayEndpoint+Analytics.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[29/49] Compiling PayKit JSONEncoder+Analytics.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[30/49] Compiling PayKit ObjCWrapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[31/49] Compiling PayKit AnalyticsClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[32/49] Compiling PayKit AnalyticsDataSource.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[33/49] Compiling PayKit StateMachine.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[34/49] Compiling PayKit resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[35/49] Compiling PayKit AnalyticsEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[36/49] Compiling PayKit AnalyticsService.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[37/49] Compiling PayKit CashAppPayState+ObjC.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[38/49] Compiling PayKit CustomerRequest+ObjC.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[39/49] Compiling PayKit Errors+ObjC.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
[0/1] Planning build
[1/1] Compiling plugin SwiftGen-Generate
[2/2] Compiling plugin SwiftGenPlugin
Building for debugging...
[2/3] Write swift-version-5BDAB9E9C0126B9D.txt
[4/36] Compiling PayKit HTTPRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[5/36] Compiling PayKit RESTService.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[6/38] Compiling PayKit CashAppPayEndpoint+Analytics.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[7/38] Compiling PayKit JSONEncoder+Analytics.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[8/38] Compiling PayKit Loggable.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[9/38] Compiling PayKit Log.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[10/38] Compiling PayKit AnalyticsEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[11/38] Compiling PayKit AnalyticsService.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[12/38] Compiling PayKit Errors.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[13/38] Compiling PayKit JSONCoder+PayKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[14/38] Compiling PayKit NetworkManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[15/38] Compiling PayKit StateMachine.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[16/38] Compiling PayKit resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/38] Compiling PayKit ObjCWrapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[18/38] Compiling PayKit AnalyticsClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[19/38] Compiling PayKit AnalyticsDataSource.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[20/38] Emitting module PayKit
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[21/38] Compiling PayKit CashAppPayState+ObjC.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[22/38] Compiling PayKit CustomerRequest+ObjC.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[23/38] Compiling PayKit Errors+ObjC.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[24/38] Compiling PayKit CashAppPay.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[25/38] Compiling PayKit CustomerRequest+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[26/38] Compiling PayKit CustomerRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[27/38] Compiling PayKit RetryPolicy.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
[28/38] Compiling PayKit UserAgent.swift
/Users/admin/builder/spi-builder-workspace/Sources/PayKit/CashAppPay.swift:18:8: error: no such module 'UIKit'
16 |
17 | import Foundation
18 | import UIKit
| `- error: no such module 'UIKit'
19 |
20 | public class CashAppPay {
error: emit-module command failed with exit code 1 (use -v to see invocation)
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:25:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
24 |
25 | @ObservedObject public var viewModel: ViewModel
| `- error: 'ObservedObject' is only available in macOS 10.15 or newer
26 |
27 | private var currentAsset: SwiftUI.Image {
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:27:39: error: 'Image' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
25 | @ObservedObject public var viewModel: ViewModel
26 |
27 | private var currentAsset: SwiftUI.Image {
| | `- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
28 | viewModel.usePolychromeAsset ?
29 | Asset.Images.polyChromeLogo.swiftUIImage :
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:33:39: error: 'Color' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
31 | }
32 |
33 | private var currentColor: SwiftUI.Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
34 | viewModel.usePolychromeAsset ?
35 | Asset.Colors.polyChrome.swiftUIColor :
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:56:22: error: 'Font' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
51 | - usePolychromeAsset: Toggle usage of polychrome UI
52 | */
53 | public init(
| `- note: add @available attribute to enclosing initializer
54 | size: SizingCategory = .large,
55 | cashTag: String,
56 | cashTagFont: Font = Constants.cashTagFont,
| `- error: 'Font' is only available in macOS 10.15 or newer
57 | cashTagTextColor: Color = Constants.cashTagTextColor,
58 | usePolychromeAsset: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:57:27: error: 'Color' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
51 | - usePolychromeAsset: Toggle usage of polychrome UI
52 | */
53 | public init(
| `- note: add @available attribute to enclosing initializer
54 | size: SizingCategory = .large,
55 | cashTag: String,
56 | cashTagFont: Font = Constants.cashTagFont,
57 | cashTagTextColor: Color = Constants.cashTagTextColor,
| `- error: 'Color' is only available in macOS 10.15 or newer
58 | usePolychromeAsset: Bool = false
59 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:126:41: error: 'Font' is only available in macOS 10.15 or newer
123 | }
124 |
125 | public enum Constants {
| `- note: add @available attribute to enclosing enum
126 | public static let cashTagFont = Font.system(size: 14)
| | `- error: 'Font' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
127 | public static let cashTagTextColor = Asset.Colors.textTernary.swiftUIColor
128 |
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:126:46: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
123 | }
124 |
125 | public enum Constants {
| `- note: add @available attribute to enclosing enum
126 | public static let cashTagFont = Font.system(size: 14)
| | `- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing static property
127 | public static let cashTagTextColor = Asset.Colors.textTernary.swiftUIColor
128 |
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:127:71: error: 'swiftUIColor' is only available in macOS 10.15 or newer
123 | }
124 |
125 | public enum Constants {
| `- note: add @available attribute to enclosing enum
126 | public static let cashTagFont = Font.system(size: 14)
127 | public static let cashTagTextColor = Asset.Colors.textTernary.swiftUIColor
| | `- error: 'swiftUIColor' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
128 |
129 | static let titleWidth: CGFloat = 127
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:69:27: error: 'View' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
67 | }
68 |
69 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
70 | switch viewModel.size {
71 | case .small:
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:119:35: error: 'View' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
117 | }
118 |
119 | private var cashTagText: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
120 | Text(viewModel.cashTag)
121 | .foregroundColor(viewModel.cashTagTextColor)
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:145:10: error: 'Published' is only available in macOS 10.15 or newer
142 | @available(iOS 13.0, *)
143 | extension CashAppPaymentMethodView {
144 | public class ViewModel: ObservableObject {
| |- note: add @available attribute to enclosing class
| `- note: add @available attribute to enclosing class
145 | @Published var size: SizingCategory
| `- error: 'Published' is only available in macOS 10.15 or newer
146 | @Published var cashTag: String
147 | @Published var cashTagFont: Font
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:146:10: error: 'Published' is only available in macOS 10.15 or newer
142 | @available(iOS 13.0, *)
143 | extension CashAppPaymentMethodView {
144 | public class ViewModel: ObservableObject {
| |- note: add @available attribute to enclosing class
| `- note: add @available attribute to enclosing class
145 | @Published var size: SizingCategory
146 | @Published var cashTag: String
| `- error: 'Published' is only available in macOS 10.15 or newer
147 | @Published var cashTagFont: Font
148 | @Published var cashTagTextColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:147:37: error: 'Font' is only available in macOS 10.15 or newer
142 | @available(iOS 13.0, *)
143 | extension CashAppPaymentMethodView {
144 | public class ViewModel: ObservableObject {
| `- note: add @available attribute to enclosing class
145 | @Published var size: SizingCategory
146 | @Published var cashTag: String
147 | @Published var cashTagFont: Font
| `- error: 'Font' is only available in macOS 10.15 or newer
148 | @Published var cashTagTextColor: Color
149 | @Published var usePolychromeAsset: Bool
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:147:10: error: 'Published' is only available in macOS 10.15 or newer
142 | @available(iOS 13.0, *)
143 | extension CashAppPaymentMethodView {
144 | public class ViewModel: ObservableObject {
| |- note: add @available attribute to enclosing class
| `- note: add @available attribute to enclosing class
145 | @Published var size: SizingCategory
146 | @Published var cashTag: String
147 | @Published var cashTagFont: Font
| `- error: 'Published' is only available in macOS 10.15 or newer
148 | @Published var cashTagTextColor: Color
149 | @Published var usePolychromeAsset: Bool
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:148:42: error: 'Color' is only available in macOS 10.15 or newer
142 | @available(iOS 13.0, *)
143 | extension CashAppPaymentMethodView {
144 | public class ViewModel: ObservableObject {
| `- note: add @available attribute to enclosing class
145 | @Published var size: SizingCategory
146 | @Published var cashTag: String
147 | @Published var cashTagFont: Font
148 | @Published var cashTagTextColor: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
149 | @Published var usePolychromeAsset: Bool
150 | init(
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:148:10: error: 'Published' is only available in macOS 10.15 or newer
142 | @available(iOS 13.0, *)
143 | extension CashAppPaymentMethodView {
144 | public class ViewModel: ObservableObject {
| |- note: add @available attribute to enclosing class
| `- note: add @available attribute to enclosing class
145 | @Published var size: SizingCategory
146 | @Published var cashTag: String
147 | @Published var cashTagFont: Font
148 | @Published var cashTagTextColor: Color
| `- error: 'Published' is only available in macOS 10.15 or newer
149 | @Published var usePolychromeAsset: Bool
150 | init(
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:149:10: error: 'Published' is only available in macOS 10.15 or newer
142 | @available(iOS 13.0, *)
143 | extension CashAppPaymentMethodView {
144 | public class ViewModel: ObservableObject {
| |- note: add @available attribute to enclosing class
| `- note: add @available attribute to enclosing class
145 | @Published var size: SizingCategory
146 | @Published var cashTag: String
147 | @Published var cashTagFont: Font
148 | @Published var cashTagTextColor: Color
149 | @Published var usePolychromeAsset: Bool
| `- error: 'Published' is only available in macOS 10.15 or newer
150 | init(
151 | size: SizingCategory,
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:153:26: error: 'Font' is only available in macOS 10.15 or newer
142 | @available(iOS 13.0, *)
143 | extension CashAppPaymentMethodView {
144 | public class ViewModel: ObservableObject {
| `- note: add @available attribute to enclosing class
145 | @Published var size: SizingCategory
146 | @Published var cashTag: String
:
148 | @Published var cashTagTextColor: Color
149 | @Published var usePolychromeAsset: Bool
150 | init(
| `- note: add @available attribute to enclosing initializer
151 | size: SizingCategory,
152 | cashTag: String,
153 | cashTagFont: Font,
| `- error: 'Font' is only available in macOS 10.15 or newer
154 | cashTagTextColor: Color,
155 | usePolychromeAsset: Bool
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:154:31: error: 'Color' is only available in macOS 10.15 or newer
142 | @available(iOS 13.0, *)
143 | extension CashAppPaymentMethodView {
144 | public class ViewModel: ObservableObject {
| `- note: add @available attribute to enclosing class
145 | @Published var size: SizingCategory
146 | @Published var cashTag: String
:
148 | @Published var cashTagTextColor: Color
149 | @Published var usePolychromeAsset: Bool
150 | init(
| `- note: add @available attribute to enclosing initializer
151 | size: SizingCategory,
152 | cashTag: String,
153 | cashTagFont: Font,
154 | cashTagTextColor: Color,
| `- error: 'Color' is only available in macOS 10.15 or newer
155 | usePolychromeAsset: Bool
156 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:144:29: error: 'ObservableObject' is only available in macOS 10.15 or newer
142 | @available(iOS 13.0, *)
143 | extension CashAppPaymentMethodView {
144 | public class ViewModel: ObservableObject {
| | `- error: 'ObservableObject' is only available in macOS 10.15 or newer
| |- note: add @available attribute to enclosing class
| `- note: add @available attribute to enclosing class
145 | @Published var size: SizingCategory
146 | @Published var cashTag: String
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:170:31: error: 'View' is only available in macOS 10.15 or newer
167 |
168 | @available(iOS 13.0, *)
169 | struct CashAppPaymentMethodView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
170 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
171 | VStack(alignment: .leading, spacing: 10) {
172 | CashAppPaymentMethodView(size: .large, cashTag: "$jack", usePolychromeAsset: false)
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:29:41: error: 'swiftUIImage' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
25 | @ObservedObject public var viewModel: ViewModel
26 |
27 | private var currentAsset: SwiftUI.Image {
| `- note: add @available attribute to enclosing property
28 | viewModel.usePolychromeAsset ?
29 | Asset.Images.polyChromeLogo.swiftUIImage :
| |- error: 'swiftUIImage' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
30 | Asset.Images.monoChromeLogoReverse.swiftUIImage
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:30:48: error: 'swiftUIImage' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
25 | @ObservedObject public var viewModel: ViewModel
26 |
27 | private var currentAsset: SwiftUI.Image {
| `- note: add @available attribute to enclosing property
28 | viewModel.usePolychromeAsset ?
29 | Asset.Images.polyChromeLogo.swiftUIImage :
30 | Asset.Images.monoChromeLogoReverse.swiftUIImage
| |- error: 'swiftUIImage' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:35:37: error: 'swiftUIColor' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
31 | }
32 |
33 | private var currentColor: SwiftUI.Color {
| `- note: add @available attribute to enclosing property
34 | viewModel.usePolychromeAsset ?
35 | Asset.Colors.polyChrome.swiftUIColor :
| |- error: 'swiftUIColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | Asset.Colors.surfaceSecondary.swiftUIColor
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:36:43: error: 'swiftUIColor' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
31 | }
32 |
33 | private var currentColor: SwiftUI.Color {
| `- note: add @available attribute to enclosing property
34 | viewModel.usePolychromeAsset ?
35 | Asset.Colors.polyChrome.swiftUIColor :
36 | Asset.Colors.surfaceSecondary.swiftUIColor
| |- error: 'swiftUIColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | }
38 |
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:60:13: error: setter for 'viewModel' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
51 | - usePolychromeAsset: Toggle usage of polychrome UI
52 | */
53 | public init(
| `- note: add @available attribute to enclosing initializer
54 | size: SizingCategory = .large,
55 | cashTag: String,
:
58 | usePolychromeAsset: Bool = false
59 | ) {
60 | self.viewModel = ViewModel(
| |- error: setter for 'viewModel' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | size: size,
62 | cashTag: cashTag,
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:72:13: error: 'VStack' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
67 | }
68 |
69 | public var body: some View {
| `- note: add @available attribute to enclosing property
70 | switch viewModel.size {
71 | case .small:
72 | VStack(alignment: .leading, spacing: Constants.verticalTextSpacing) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | currentAsset
74 | .resizable()
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:72:32: error: 'leading' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
67 | }
68 |
69 | public var body: some View {
| `- note: add @available attribute to enclosing property
70 | switch viewModel.size {
71 | case .small:
72 | VStack(alignment: .leading, spacing: Constants.verticalTextSpacing) {
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | currentAsset
74 | .resizable()
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:74:22: error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
67 | }
68 |
69 | public var body: some View {
| `- note: add @available attribute to enclosing property
70 | switch viewModel.size {
71 | case .small:
72 | VStack(alignment: .leading, spacing: Constants.verticalTextSpacing) {
73 | currentAsset
74 | .resizable()
| |- error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
75 | .aspectRatio(contentMode: .fill)
76 | .frame(width: Constants.titleWidth, height: Constants.titleHeight)
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:75:22: error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
67 | }
68 |
69 | public var body: some View {
| `- note: add @available attribute to enclosing property
70 | switch viewModel.size {
71 | case .small:
:
73 | currentAsset
74 | .resizable()
75 | .aspectRatio(contentMode: .fill)
| |- error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
76 | .frame(width: Constants.titleWidth, height: Constants.titleHeight)
77 | .offset(y: Constants.titleVerticalOffset)
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:76:22: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
67 | }
68 |
69 | public var body: some View {
| `- note: add @available attribute to enclosing property
70 | switch viewModel.size {
71 | case .small:
:
74 | .resizable()
75 | .aspectRatio(contentMode: .fill)
76 | .frame(width: Constants.titleWidth, height: Constants.titleHeight)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
77 | .offset(y: Constants.titleVerticalOffset)
78 | .padding(
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:77:22: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
67 | }
68 |
69 | public var body: some View {
| `- note: add @available attribute to enclosing property
70 | switch viewModel.size {
71 | case .small:
:
75 | .aspectRatio(contentMode: .fill)
76 | .frame(width: Constants.titleWidth, height: Constants.titleHeight)
77 | .offset(y: Constants.titleVerticalOffset)
| |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 | .padding(
79 | EdgeInsets(
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:78:22: error: 'padding' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
67 | }
68 |
69 | public var body: some View {
| `- note: add @available attribute to enclosing property
70 | switch viewModel.size {
71 | case .small:
:
76 | .frame(width: Constants.titleWidth, height: Constants.titleHeight)
77 | .offset(y: Constants.titleVerticalOffset)
78 | .padding(
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
79 | EdgeInsets(
80 | top: Constants.verticalPadding,
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:79:25: error: 'EdgeInsets' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
67 | }
68 |
69 | public var body: some View {
| `- note: add @available attribute to enclosing property
70 | switch viewModel.size {
71 | case .small:
:
77 | .offset(y: Constants.titleVerticalOffset)
78 | .padding(
79 | EdgeInsets(
| |- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | top: Constants.verticalPadding,
81 | leading: Constants.horizontalPadding,
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:87:22: error: 'padding' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
67 | }
68 |
69 | public var body: some View {
| `- note: add @available attribute to enclosing property
70 | switch viewModel.size {
71 | case .small:
:
85 | )
86 | cashTagText
87 | .padding(
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
88 | EdgeInsets(
89 | top: .zero,
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:88:21: error: 'EdgeInsets' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
67 | }
68 |
69 | public var body: some View {
| `- note: add @available attribute to enclosing property
70 | switch viewModel.size {
71 | case .small:
:
86 | cashTagText
87 | .padding(
88 | EdgeInsets(
| |- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
89 | top: .zero,
90 | leading: Constants.cashTagInset,
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:95:15: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
67 | }
68 |
69 | public var body: some View {
| `- note: add @available attribute to enclosing property
70 | switch viewModel.size {
71 | case .small:
:
93 | )
94 | )
95 | }.background(currentColor)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
96 | .cornerRadius(Constants.cornerRadius)
97 | case .large:
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:96:18: error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
67 | }
68 |
69 | public var body: some View {
| `- note: add @available attribute to enclosing property
70 | switch viewModel.size {
71 | case .small:
:
94 | )
95 | }.background(currentColor)
96 | .cornerRadius(Constants.cornerRadius)
| |- error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
97 | case .large:
98 | HStack(alignment: .center) {
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:72:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
67 | }
68 |
69 | public var body: some View {
| `- note: add @available attribute to enclosing property
70 | switch viewModel.size {
71 | case .small:
72 | VStack(alignment: .leading, spacing: Constants.verticalTextSpacing) {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | currentAsset
74 | .resizable()
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:98:13: error: 'HStack' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
67 | }
68 |
69 | public var body: some View {
| `- note: add @available attribute to enclosing property
70 | switch viewModel.size {
71 | case .small:
:
96 | .cornerRadius(Constants.cornerRadius)
97 | case .large:
98 | HStack(alignment: .center) {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
99 | currentAsset
100 | .resizable()
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:98:32: error: 'center' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
67 | }
68 |
69 | public var body: some View {
| `- note: add @available attribute to enclosing property
70 | switch viewModel.size {
71 | case .small:
:
96 | .cornerRadius(Constants.cornerRadius)
97 | case .large:
98 | HStack(alignment: .center) {
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
99 | currentAsset
100 | .resizable()
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:100:22: error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
67 | }
68 |
69 | public var body: some View {
| `- note: add @available attribute to enclosing property
70 | switch viewModel.size {
71 | case .small:
:
98 | HStack(alignment: .center) {
99 | currentAsset
100 | .resizable()
| |- error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 | .aspectRatio(contentMode: .fill)
102 | .frame(width: Constants.titleWidth, height: Constants.titleHeight)
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:101:22: error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
67 | }
68 |
69 | public var body: some View {
| `- note: add @available attribute to enclosing property
70 | switch viewModel.size {
71 | case .small:
:
99 | currentAsset
100 | .resizable()
101 | .aspectRatio(contentMode: .fill)
| |- error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
102 | .frame(width: Constants.titleWidth, height: Constants.titleHeight)
103 | .padding(
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:102:22: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
67 | }
68 |
69 | public var body: some View {
| `- note: add @available attribute to enclosing property
70 | switch viewModel.size {
71 | case .small:
:
100 | .resizable()
101 | .aspectRatio(contentMode: .fill)
102 | .frame(width: Constants.titleWidth, height: Constants.titleHeight)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
103 | .padding(
104 | EdgeInsets(
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:103:22: error: 'padding' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
67 | }
68 |
69 | public var body: some View {
| `- note: add @available attribute to enclosing property
70 | switch viewModel.size {
71 | case .small:
:
101 | .aspectRatio(contentMode: .fill)
102 | .frame(width: Constants.titleWidth, height: Constants.titleHeight)
103 | .padding(
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
104 | EdgeInsets(
105 | top: Constants.verticalPadding,
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:104:25: error: 'EdgeInsets' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
67 | }
68 |
69 | public var body: some View {
| `- note: add @available attribute to enclosing property
70 | switch viewModel.size {
71 | case .small:
:
102 | .frame(width: Constants.titleWidth, height: Constants.titleHeight)
103 | .padding(
104 | EdgeInsets(
| |- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
105 | top: Constants.verticalPadding,
106 | leading: Constants.horizontalPadding,
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:111:17: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
67 | }
68 |
69 | public var body: some View {
| `- note: add @available attribute to enclosing property
70 | switch viewModel.size {
71 | case .small:
:
109 | )
110 | )
111 | Spacer()
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
112 | cashTagText
113 | .padding(.trailing, Constants.horizontalPadding)
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:111:17: error: 'Spacer' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
67 | }
68 |
69 | public var body: some View {
| `- note: add @available attribute to enclosing property
70 | switch viewModel.size {
71 | case .small:
:
109 | )
110 | )
111 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
112 | cashTagText
113 | .padding(.trailing, Constants.horizontalPadding)
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:113:22: error: 'padding' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
67 | }
68 |
69 | public var body: some View {
| `- note: add @available attribute to enclosing property
70 | switch viewModel.size {
71 | case .small:
:
111 | Spacer()
112 | cashTagText
113 | .padding(.trailing, Constants.horizontalPadding)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
114 | }.background(currentColor)
115 | .cornerRadius(Constants.cornerRadius)
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:98:40: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
67 | }
68 |
69 | public var body: some View {
| `- note: add @available attribute to enclosing property
70 | switch viewModel.size {
71 | case .small:
:
96 | .cornerRadius(Constants.cornerRadius)
97 | case .large:
98 | HStack(alignment: .center) {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
99 | currentAsset
100 | .resizable()
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:114:15: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
67 | }
68 |
69 | public var body: some View {
| `- note: add @available attribute to enclosing property
70 | switch viewModel.size {
71 | case .small:
:
112 | cashTagText
113 | .padding(.trailing, Constants.horizontalPadding)
114 | }.background(currentColor)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
115 | .cornerRadius(Constants.cornerRadius)
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:115:18: error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
67 | }
68 |
69 | public var body: some View {
| `- note: add @available attribute to enclosing property
70 | switch viewModel.size {
71 | case .small:
:
113 | .padding(.trailing, Constants.horizontalPadding)
114 | }.background(currentColor)
115 | .cornerRadius(Constants.cornerRadius)
| |- error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
116 | }
117 | }
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:98:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
67 | }
68 |
69 | public var body: some View {
| `- note: add @available attribute to enclosing property
70 | switch viewModel.size {
71 | case .small:
:
96 | .cornerRadius(Constants.cornerRadius)
97 | case .large:
98 | HStack(alignment: .center) {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
99 | currentAsset
100 | .resizable()
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:69:32: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
67 | }
68 |
69 | public var body: some View {
| | |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| | `- note: add 'if #available' version check
| `- note: add @available attribute to enclosing property
70 | switch viewModel.size {
71 | case .small:
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:122:14: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
117 | }
118 |
119 | private var cashTagText: some View {
| `- note: add @available attribute to enclosing property
120 | Text(viewModel.cashTag)
121 | .foregroundColor(viewModel.cashTagTextColor)
122 | .font(viewModel.cashTagFont)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
123 | }
124 |
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:120:9: error: 'Text' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
117 | }
118 |
119 | private var cashTagText: some View {
| `- note: add @available attribute to enclosing property
120 | Text(viewModel.cashTag)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
121 | .foregroundColor(viewModel.cashTagTextColor)
122 | .font(viewModel.cashTagFont)
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:121:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
117 | }
118 |
119 | private var cashTagText: some View {
| `- note: add @available attribute to enclosing property
120 | Text(viewModel.cashTag)
121 | .foregroundColor(viewModel.cashTagTextColor)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
122 | .font(viewModel.cashTagFont)
123 | }
<unknown>:0: error: cannot convert value of type 'KeyPath<CashAppPaymentMethodView.ViewModel, SizingCategory>' to expected argument type 'ReferenceWritableKeyPath<CashAppPaymentMethodView.ViewModel, SizingCategory>'
<unknown>:0: error: cannot convert value of type 'KeyPath<CashAppPaymentMethodView.ViewModel, String>' to expected argument type 'ReferenceWritableKeyPath<CashAppPaymentMethodView.ViewModel, String>'
<unknown>:0: error: cannot convert value of type 'KeyPath<CashAppPaymentMethodView.ViewModel, Font>' to expected argument type 'ReferenceWritableKeyPath<CashAppPaymentMethodView.ViewModel, Font>'
<unknown>:0: error: cannot convert value of type 'KeyPath<CashAppPaymentMethodView.ViewModel, Color>' to expected argument type 'ReferenceWritableKeyPath<CashAppPaymentMethodView.ViewModel, Color>'
<unknown>:0: error: cannot convert value of type 'KeyPath<CashAppPaymentMethodView.ViewModel, Bool>' to expected argument type 'ReferenceWritableKeyPath<CashAppPaymentMethodView.ViewModel, Bool>'
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:122:14: error: 'font' is only available in macOS 10.15 or newer
19 |
20 | @available(iOS 13.0, *)
21 | public struct CashAppPaymentMethodView: View {
| `- note: add @available attribute to enclosing struct
22 |
23 | // MARK: - Public Properties
:
117 | }
118 |
119 | private var cashTagText: some View {
| `- note: add @available attribute to enclosing property
120 | Text(viewModel.cashTag)
121 | .foregroundColor(viewModel.cashTagTextColor)
122 | .font(viewModel.cashTagFont)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
123 | }
124 |
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:157:13: error: setter for 'size' is only available in macOS 10.15 or newer
142 | @available(iOS 13.0, *)
143 | extension CashAppPaymentMethodView {
144 | public class ViewModel: ObservableObject {
| `- note: add @available attribute to enclosing class
145 | @Published var size: SizingCategory
146 | @Published var cashTag: String
:
148 | @Published var cashTagTextColor: Color
149 | @Published var usePolychromeAsset: Bool
150 | init(
| `- note: add @available attribute to enclosing initializer
151 | size: SizingCategory,
152 | cashTag: String,
:
155 | usePolychromeAsset: Bool
156 | ) {
157 | self.size = size
| |- error: setter for 'size' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
158 | self.cashTag = cashTag
159 | self.cashTagFont = cashTagFont
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:158:13: error: setter for 'cashTag' is only available in macOS 10.15 or newer
142 | @available(iOS 13.0, *)
143 | extension CashAppPaymentMethodView {
144 | public class ViewModel: ObservableObject {
| `- note: add @available attribute to enclosing class
145 | @Published var size: SizingCategory
146 | @Published var cashTag: String
:
148 | @Published var cashTagTextColor: Color
149 | @Published var usePolychromeAsset: Bool
150 | init(
| `- note: add @available attribute to enclosing initializer
151 | size: SizingCategory,
152 | cashTag: String,
:
156 | ) {
157 | self.size = size
158 | self.cashTag = cashTag
| |- error: setter for 'cashTag' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
159 | self.cashTagFont = cashTagFont
160 | self.cashTagTextColor = cashTagTextColor
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:159:13: error: setter for 'cashTagFont' is only available in macOS 10.15 or newer
142 | @available(iOS 13.0, *)
143 | extension CashAppPaymentMethodView {
144 | public class ViewModel: ObservableObject {
| `- note: add @available attribute to enclosing class
145 | @Published var size: SizingCategory
146 | @Published var cashTag: String
:
148 | @Published var cashTagTextColor: Color
149 | @Published var usePolychromeAsset: Bool
150 | init(
| `- note: add @available attribute to enclosing initializer
151 | size: SizingCategory,
152 | cashTag: String,
:
157 | self.size = size
158 | self.cashTag = cashTag
159 | self.cashTagFont = cashTagFont
| |- error: setter for 'cashTagFont' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
160 | self.cashTagTextColor = cashTagTextColor
161 | self.usePolychromeAsset = usePolychromeAsset
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:160:13: error: setter for 'cashTagTextColor' is only available in macOS 10.15 or newer
142 | @available(iOS 13.0, *)
143 | extension CashAppPaymentMethodView {
144 | public class ViewModel: ObservableObject {
| `- note: add @available attribute to enclosing class
145 | @Published var size: SizingCategory
146 | @Published var cashTag: String
:
148 | @Published var cashTagTextColor: Color
149 | @Published var usePolychromeAsset: Bool
150 | init(
| `- note: add @available attribute to enclosing initializer
151 | size: SizingCategory,
152 | cashTag: String,
:
158 | self.cashTag = cashTag
159 | self.cashTagFont = cashTagFont
160 | self.cashTagTextColor = cashTagTextColor
| |- error: setter for 'cashTagTextColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
161 | self.usePolychromeAsset = usePolychromeAsset
162 | }
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:161:13: error: setter for 'usePolychromeAsset' is only available in macOS 10.15 or newer
142 | @available(iOS 13.0, *)
143 | extension CashAppPaymentMethodView {
144 | public class ViewModel: ObservableObject {
| `- note: add @available attribute to enclosing class
145 | @Published var size: SizingCategory
146 | @Published var cashTag: String
:
148 | @Published var cashTagTextColor: Color
149 | @Published var usePolychromeAsset: Bool
150 | init(
| `- note: add @available attribute to enclosing initializer
151 | size: SizingCategory,
152 | cashTag: String,
:
159 | self.cashTagFont = cashTagFont
160 | self.cashTagTextColor = cashTagTextColor
161 | self.usePolychromeAsset = usePolychromeAsset
| |- error: setter for 'usePolychromeAsset' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
162 | }
163 | }
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:171:9: error: 'VStack' is only available in macOS 10.15 or newer
167 |
168 | @available(iOS 13.0, *)
169 | struct CashAppPaymentMethodView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
170 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
171 | VStack(alignment: .leading, spacing: 10) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
172 | CashAppPaymentMethodView(size: .large, cashTag: "$jack", usePolychromeAsset: false)
173 | .padding()
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:171:28: error: 'leading' is only available in macOS 10.15 or newer
167 |
168 | @available(iOS 13.0, *)
169 | struct CashAppPaymentMethodView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
170 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
171 | VStack(alignment: .leading, spacing: 10) {
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
172 | CashAppPaymentMethodView(size: .large, cashTag: "$jack", usePolychromeAsset: false)
173 | .padding()
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:173:18: error: 'padding' is only available in macOS 10.15 or newer
167 |
168 | @available(iOS 13.0, *)
169 | struct CashAppPaymentMethodView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
170 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
171 | VStack(alignment: .leading, spacing: 10) {
172 | CashAppPaymentMethodView(size: .large, cashTag: "$jack", usePolychromeAsset: false)
173 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
174 | CashAppPaymentMethodView(size: .large, cashTag: "", usePolychromeAsset: false)
175 | .padding()
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:175:18: error: 'padding' is only available in macOS 10.15 or newer
167 |
168 | @available(iOS 13.0, *)
169 | struct CashAppPaymentMethodView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
170 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
171 | VStack(alignment: .leading, spacing: 10) {
172 | CashAppPaymentMethodView(size: .large, cashTag: "$jack", usePolychromeAsset: false)
173 | .padding()
174 | CashAppPaymentMethodView(size: .large, cashTag: "", usePolychromeAsset: false)
175 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
176 | CashAppPaymentMethodView(size: .small, cashTag: "$jack", usePolychromeAsset: false)
177 | .padding()
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:177:18: error: 'padding' is only available in macOS 10.15 or newer
167 |
168 | @available(iOS 13.0, *)
169 | struct CashAppPaymentMethodView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
170 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
171 | VStack(alignment: .leading, spacing: 10) {
172 | CashAppPaymentMethodView(size: .large, cashTag: "$jack", usePolychromeAsset: false)
:
175 | .padding()
176 | CashAppPaymentMethodView(size: .small, cashTag: "$jack", usePolychromeAsset: false)
177 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
178 | CashAppPaymentMethodView(size: .small, cashTag: "", usePolychromeAsset: false)
179 | .padding()
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:179:18: error: 'padding' is only available in macOS 10.15 or newer
167 |
168 | @available(iOS 13.0, *)
169 | struct CashAppPaymentMethodView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
170 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
171 | VStack(alignment: .leading, spacing: 10) {
172 | CashAppPaymentMethodView(size: .large, cashTag: "$jack", usePolychromeAsset: false)
:
177 | .padding()
178 | CashAppPaymentMethodView(size: .small, cashTag: "", usePolychromeAsset: false)
179 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
180 | CashAppPaymentMethodView(size: .large, cashTag: "$jack", usePolychromeAsset: false)
181 | .padding()
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:181:18: error: 'padding' is only available in macOS 10.15 or newer
167 |
168 | @available(iOS 13.0, *)
169 | struct CashAppPaymentMethodView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
170 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
171 | VStack(alignment: .leading, spacing: 10) {
172 | CashAppPaymentMethodView(size: .large, cashTag: "$jack", usePolychromeAsset: false)
:
179 | .padding()
180 | CashAppPaymentMethodView(size: .large, cashTag: "$jack", usePolychromeAsset: false)
181 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
182 | }.background(Color.blue)
183 | }
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:182:11: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
167 |
168 | @available(iOS 13.0, *)
169 | struct CashAppPaymentMethodView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
170 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
171 | VStack(alignment: .leading, spacing: 10) {
172 | CashAppPaymentMethodView(size: .large, cashTag: "$jack", usePolychromeAsset: false)
:
180 | CashAppPaymentMethodView(size: .large, cashTag: "$jack", usePolychromeAsset: false)
181 | .padding()
182 | }.background(Color.blue)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
183 | }
184 | }
/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/SwiftUI/CashAppPaymentMethodView.swift:182:22: error: 'Color' is only available in macOS 10.15 or newer
167 |
168 | @available(iOS 13.0, *)
169 | struct CashAppPaymentMethodView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
170 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
171 | VStack(alignment: .leading, spacing: 10) {
172 | CashAppPaymentMethodView(size: .large, cashTag: "$jack", usePolychromeAsset: false)
:
180 | CashAppPaymentMethodView(size: .large, cashTag: "$jack", usePolychromeAsset: false)
181 | .padding()
182 | }.background(Color.blue)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
183 | }
184 | }
BUILD FAILURE 6.0 macosSpm