Build Information
Failed to build SoundCloud, reference 1.1.0 (7e729d
), with Swift 5.10 for macOS (SPM) on 25 Sep 2024 11:20:18 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.54.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/superturboryan/SoundCloud-Swift.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/superturboryan/SoundCloud-Swift
* tag 1.1.0 -> FETCH_HEAD
HEAD is now at 7e729d8 Readme: update to mention OAuth 2.1
Cloned https://github.com/superturboryan/SoundCloud-Swift.git
Revision (git rev-parse @):
7e729d8ff738536644bdf60380fbcb3b8a1d4296
SUCCESS checkout https://github.com/superturboryan/SoundCloud-Swift.git at 1.1.0
Fetching https://github.com/evgenyneu/keychain-swift
[1/2196] Fetching keychain-swift
Fetched https://github.com/evgenyneu/keychain-swift from cache (1.53s)
Computing version for https://github.com/evgenyneu/keychain-swift
Computed https://github.com/evgenyneu/keychain-swift at 20.0.0 (2.71s)
Creating working copy for https://github.com/evgenyneu/keychain-swift
Working copy of https://github.com/evgenyneu/keychain-swift resolved at 20.0.0
========================================
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": "soundcloud-swift",
"name": "SoundCloud",
"url": "https://github.com/superturboryan/SoundCloud-Swift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SoundCloud-Swift",
"dependencies": [
{
"identity": "keychain-swift",
"name": "KeychainSwift",
"url": "https://github.com/evgenyneu/keychain-swift",
"version": "20.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/keychain-swift",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/superturboryan/SoundCloud-Swift.git
[1/1369] Fetching soundcloud-swift
Fetched https://github.com/superturboryan/SoundCloud-Swift.git from cache (0.85s)
Fetching https://github.com/evgenyneu/keychain-swift from cache
Fetched https://github.com/evgenyneu/keychain-swift from cache (0.46s)
Computing version for https://github.com/evgenyneu/keychain-swift
Computed https://github.com/evgenyneu/keychain-swift at 20.0.0 (0.03s)
Creating working copy for https://github.com/evgenyneu/keychain-swift
Working copy of https://github.com/evgenyneu/keychain-swift resolved at 20.0.0
Creating working copy for https://github.com/superturboryan/SoundCloud-Swift.git
Working copy of https://github.com/superturboryan/SoundCloud-Swift.git resolved at 1.1.0 (7e729d8)
warning: '.resolve-product-dependencies': dependency 'soundcloud-swift' is not used by any target
Found 1 product dependencies
- KeychainSwift
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/superturboryan/SoundCloud-Swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-33747A42983211AE.txt
[4/7] Compiling KeychainSwift TegKeychainConstants.swift
[5/7] Compiling KeychainSwift KeychainSwiftAccessOptions.swift
[6/7] Compiling KeychainSwift KeychainSwift.swift
[7/7] Emitting module KeychainSwift
[8/32] Compiling SoundCloud User.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Models/User.swift:80:49: error: 'init(localized:table:bundle:locale:comment:)' is only available in macOS 12 or newer
(subscriptions.first?.product.name) ?? String(localized: "Free", comment: "Adjective")
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Models/User.swift:80:49: note: add 'if #available' version check
(subscriptions.first?.product.name) ?? String(localized: "Free", comment: "Adjective")
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Models/User.swift:79:9: note: add @available attribute to enclosing property
var subscription: String {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Models/User.swift:78:8: note: add @available attribute to enclosing extension
public extension User {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Models/User.swift:80:67: error: 'LocalizationValue' is only available in macOS 12 or newer
(subscriptions.first?.product.name) ?? String(localized: "Free", comment: "Adjective")
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Models/User.swift:80:67: note: add 'if #available' version check
(subscriptions.first?.product.name) ?? String(localized: "Free", comment: "Adjective")
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Models/User.swift:79:9: note: add @available attribute to enclosing property
var subscription: String {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Models/User.swift:78:8: note: add @available attribute to enclosing extension
public extension User {
^
[9/32] Compiling SoundCloud Request.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Models/User.swift:80:49: error: 'init(localized:table:bundle:locale:comment:)' is only available in macOS 12 or newer
(subscriptions.first?.product.name) ?? String(localized: "Free", comment: "Adjective")
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Models/User.swift:80:49: note: add 'if #available' version check
(subscriptions.first?.product.name) ?? String(localized: "Free", comment: "Adjective")
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Models/User.swift:79:9: note: add @available attribute to enclosing property
var subscription: String {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Models/User.swift:78:8: note: add @available attribute to enclosing extension
public extension User {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Models/User.swift:80:67: error: 'LocalizationValue' is only available in macOS 12 or newer
(subscriptions.first?.product.name) ?? String(localized: "Free", comment: "Adjective")
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Models/User.swift:80:67: note: add 'if #available' version check
(subscriptions.first?.product.name) ?? String(localized: "Free", comment: "Adjective")
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Models/User.swift:79:9: note: add @available attribute to enclosing property
var subscription: String {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Models/User.swift:78:8: note: add @available attribute to enclosing extension
public extension User {
^
[10/34] Compiling SoundCloud Config.swift
[11/34] Compiling SoundCloud DAO.swift
[12/34] Compiling SoundCloud KeychainDAO.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/34] Emitting module SoundCloud
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/ASWebAuthenticationSession.swift:95:18: error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
public extension ASWebAuthenticationSession {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/ASWebAuthenticationSession.swift:95:8: note: add @available attribute to enclosing extension
public extension ASWebAuthenticationSession {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Color.swift:11:55: error: type 'Bundle?' has no member 'module'
static let scOrange = Color("sc_orange", bundle: .module)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Color.swift:12:66: error: type 'Bundle?' has no member 'module'
static let scOrangeLight = Color("sc_orange_light", bundle: .module)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Color.swift:13:64: error: type 'Bundle?' has no member 'module'
static let scOrangeDark = Color("sc_orange_dark", bundle: .module)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Color.swift:10:18: error: 'Color' is only available in macOS 10.15 or newer
public extension Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Color.swift:10:8: note: add @available attribute to enclosing extension
public extension Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:12:37: error: 'Image' is only available in macOS 10.15 or newer
static var poweredBySoundCloud: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:12:16: note: add @available attribute to enclosing static property
static var poweredBySoundCloud: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:10:8: note: add @available attribute to enclosing extension
public extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:16:27: error: 'Image' is only available in macOS 10.15 or newer
static var connectSC: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:16:16: note: add @available attribute to enclosing static property
static var connectSC: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:10:8: note: add @available attribute to enclosing extension
public extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:20:29: error: 'Image' is only available in macOS 10.15 or newer
static var diconnectSC: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:20:16: note: add @available attribute to enclosing static property
static var diconnectSC: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:10:8: note: add @available attribute to enclosing extension
public extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:24:32: error: 'Image' is only available in macOS 10.15 or newer
static var scLogoVertical: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:24:16: note: add @available attribute to enclosing static property
static var scLogoVertical: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:10:8: note: add @available attribute to enclosing extension
public extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:28:39: error: 'Image' is only available in macOS 10.15 or newer
internal static var testWaveForm: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:28:25: note: add @available attribute to enclosing static property
internal static var testWaveForm: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:10:8: note: add @available attribute to enclosing extension
public extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:10:18: error: 'Image' is only available in macOS 10.15 or newer
public extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:10:8: note: add @available attribute to enclosing extension
public extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:20:10: error: 'LinearGradient' is only available in macOS 10.15 or newer
) -> LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:17:17: note: add @available attribute to enclosing static method
static func scOrange(
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:10:8: note: add @available attribute to enclosing extension
public extension LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:16:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:17:17: note: add @available attribute to enclosing static method
static func scOrange(
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:10:8: note: add @available attribute to enclosing extension
public extension LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:32:23: error: 'LinearGradient' is only available in macOS 10.15 or newer
static var empty: LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:32:16: note: add @available attribute to enclosing static property
static var empty: LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:10:8: note: add @available attribute to enclosing extension
public extension LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:10:18: error: 'LinearGradient' is only available in macOS 10.15 or newer
public extension LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:10:8: note: add @available attribute to enclosing extension
public extension LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Logger.swift:14:23: error: 'Logger' is only available in macOS 11.0 or newer
static let auth = Logger(subsystem: subsystem, category: "Authentication")
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Logger.swift:14:16: note: add @available attribute to enclosing static property
static let auth = Logger(subsystem: subsystem, category: "Authentication")
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Logger.swift:10:1: note: add @available attribute to enclosing extension
extension Logger {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Logger.swift:10:11: error: 'Logger' is only available in macOS 11.0 or newer
extension Logger {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Logger.swift:10:1: note: add @available attribute to enclosing extension
extension Logger {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:29:36: error: 'AnyCancellable' is only available in macOS 10.15 or newer
public var subscriptions = Set<AnyCancellable>()
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:23:20: note: add @available attribute to enclosing class
public final class SoundCloud {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:13:28: error: cannot find type 'UIImage' in scope
@Binding var waveform: UIImage
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:12:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var progress: CGFloat
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:10:15: note: add @available attribute to enclosing struct
public struct WaveformView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:13:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var waveform: UIImage
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:10:15: note: add @available attribute to enclosing struct
public struct WaveformView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:15:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:15:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:10:15: note: add @available attribute to enclosing struct
public struct WaveformView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:56:6: error: 'State' is only available in macOS 10.15 or newer
@State static var progress: CGFloat = 0.5
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:55:8: note: add @available attribute to enclosing struct
struct SwiftUIView_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:57:33: error: cannot find type 'UIImage' in scope
@State static var waveform: UIImage = UIImage(named: "test_waveform", in: .module, with: nil)!
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:57:6: error: 'State' is only available in macOS 10.15 or newer
@State static var waveform: UIImage = UIImage(named: "test_waveform", in: .module, with: nil)!
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:55:8: note: add @available attribute to enclosing struct
struct SwiftUIView_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:59:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:59:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:55:8: note: add @available attribute to enclosing struct
struct SwiftUIView_Previews: PreviewProvider {
^
[14/34] Compiling SoundCloud PKCE.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:23:24: error: 'SHA256' is only available in macOS 10.15 or newer
let dataHash = SHA256.hash(data: data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:23:24: note: add 'if #available' version check
let dataHash = SHA256.hash(data: data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:19:17: note: add @available attribute to enclosing static method
static func generateCodeChallenge(using codeVerifier: String) throws -> String {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:11:6: note: add @available attribute to enclosing enum
enum PKCE {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:23:31: error: 'hash(data:)' is only available in macOS 10.15 or newer
let dataHash = SHA256.hash(data: data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:23:31: note: add 'if #available' version check
let dataHash = SHA256.hash(data: data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:19:17: note: add @available attribute to enclosing static method
static func generateCodeChallenge(using codeVerifier: String) throws -> String {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:11:6: note: add @available attribute to enclosing enum
enum PKCE {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:24:16: warning: conformance of 'SHA256Digest' to 'Sequence' is only available in macOS 10.15 or newer
return Data(dataHash).base64URLEncodedString()
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:24:16: note: add 'if #available' version check
return Data(dataHash).base64URLEncodedString()
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:19:17: note: add @available attribute to enclosing static method
static func generateCodeChallenge(using codeVerifier: String) throws -> String {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:11:6: note: add @available attribute to enclosing enum
enum PKCE {
^
[15/34] Compiling SoundCloud URL.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:23:24: error: 'SHA256' is only available in macOS 10.15 or newer
let dataHash = SHA256.hash(data: data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:23:24: note: add 'if #available' version check
let dataHash = SHA256.hash(data: data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:19:17: note: add @available attribute to enclosing static method
static func generateCodeChallenge(using codeVerifier: String) throws -> String {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:11:6: note: add @available attribute to enclosing enum
enum PKCE {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:23:31: error: 'hash(data:)' is only available in macOS 10.15 or newer
let dataHash = SHA256.hash(data: data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:23:31: note: add 'if #available' version check
let dataHash = SHA256.hash(data: data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:19:17: note: add @available attribute to enclosing static method
static func generateCodeChallenge(using codeVerifier: String) throws -> String {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:11:6: note: add @available attribute to enclosing enum
enum PKCE {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:24:16: warning: conformance of 'SHA256Digest' to 'Sequence' is only available in macOS 10.15 or newer
return Data(dataHash).base64URLEncodedString()
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:24:16: note: add 'if #available' version check
return Data(dataHash).base64URLEncodedString()
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:19:17: note: add @available attribute to enclosing static method
static func generateCodeChallenge(using codeVerifier: String) throws -> String {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:11:6: note: add @available attribute to enclosing enum
enum PKCE {
^
[16/34] Compiling SoundCloud Page.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:23:24: error: 'SHA256' is only available in macOS 10.15 or newer
let dataHash = SHA256.hash(data: data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:23:24: note: add 'if #available' version check
let dataHash = SHA256.hash(data: data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:19:17: note: add @available attribute to enclosing static method
static func generateCodeChallenge(using codeVerifier: String) throws -> String {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:11:6: note: add @available attribute to enclosing enum
enum PKCE {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:23:31: error: 'hash(data:)' is only available in macOS 10.15 or newer
let dataHash = SHA256.hash(data: data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:23:31: note: add 'if #available' version check
let dataHash = SHA256.hash(data: data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:19:17: note: add @available attribute to enclosing static method
static func generateCodeChallenge(using codeVerifier: String) throws -> String {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:11:6: note: add @available attribute to enclosing enum
enum PKCE {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:24:16: warning: conformance of 'SHA256Digest' to 'Sequence' is only available in macOS 10.15 or newer
return Data(dataHash).base64URLEncodedString()
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:24:16: note: add 'if #available' version check
return Data(dataHash).base64URLEncodedString()
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:19:17: note: add @available attribute to enclosing static method
static func generateCodeChallenge(using codeVerifier: String) throws -> String {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/PKCE.swift:11:6: note: add @available attribute to enclosing enum
enum PKCE {
^
[17/34] Compiling SoundCloud UserDefaultsDAO.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/ASWebAuthenticationSession.swift:95:18: error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
public extension ASWebAuthenticationSession {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/ASWebAuthenticationSession.swift:95:8: note: add @available attribute to enclosing extension
public extension ASWebAuthenticationSession {
^
[18/34] Compiling SoundCloud Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/ASWebAuthenticationSession.swift:95:18: error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
public extension ASWebAuthenticationSession {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/ASWebAuthenticationSession.swift:95:8: note: add @available attribute to enclosing extension
public extension ASWebAuthenticationSession {
^
[19/34] Compiling SoundCloud ASWebAuthenticationSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/ASWebAuthenticationSession.swift:95:18: error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
public extension ASWebAuthenticationSession {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/ASWebAuthenticationSession.swift:95:8: note: add @available attribute to enclosing extension
public extension ASWebAuthenticationSession {
^
[20/34] Compiling SoundCloud TokenResponse.swift
[21/34] Compiling SoundCloud Track.swift
[22/34] Compiling SoundCloud StreamInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:29:36: error: 'AnyCancellable' is only available in macOS 10.15 or newer
public var subscriptions = Set<AnyCancellable>()
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:23:20: note: add @available attribute to enclosing class
public final class SoundCloud {
^
[23/34] Compiling SoundCloud Test Models.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:29:36: error: 'AnyCancellable' is only available in macOS 10.15 or newer
public var subscriptions = Set<AnyCancellable>()
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:23:20: note: add @available attribute to enclosing class
public final class SoundCloud {
^
[24/34] Compiling SoundCloud Playlist.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Models/Playlist.swift:114:69: error: type 'Bundle?' has no member 'module'
case .nowPlaying: String(localized: "Now Playing", bundle: .module, comment: "Noun")
~^~~~~~
[25/34] Compiling SoundCloud Status.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Models/Playlist.swift:114:69: error: type 'Bundle?' has no member 'module'
case .nowPlaying: String(localized: "Now Playing", bundle: .module, comment: "Noun")
~^~~~~~
[26/34] Compiling SoundCloud StatusCode.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Models/Playlist.swift:114:69: error: type 'Bundle?' has no member 'module'
case .nowPlaying: String(localized: "Now Playing", bundle: .module, comment: "Noun")
~^~~~~~
[27/34] Compiling SoundCloud Collection.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Color.swift:11:55: error: type 'Bundle?' has no member 'module'
static let scOrange = Color("sc_orange", bundle: .module)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Color.swift:12:66: error: type 'Bundle?' has no member 'module'
static let scOrangeLight = Color("sc_orange_light", bundle: .module)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Color.swift:13:64: error: type 'Bundle?' has no member 'module'
static let scOrangeDark = Color("sc_orange_dark", bundle: .module)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Color.swift:10:18: error: 'Color' is only available in macOS 10.15 or newer
public extension Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Color.swift:10:8: note: add @available attribute to enclosing extension
public extension Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:12:37: error: 'Image' is only available in macOS 10.15 or newer
static var poweredBySoundCloud: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:12:16: note: add @available attribute to enclosing static property
static var poweredBySoundCloud: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:10:8: note: add @available attribute to enclosing extension
public extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:16:27: error: 'Image' is only available in macOS 10.15 or newer
static var connectSC: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:16:16: note: add @available attribute to enclosing static property
static var connectSC: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:10:8: note: add @available attribute to enclosing extension
public extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:20:29: error: 'Image' is only available in macOS 10.15 or newer
static var diconnectSC: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:20:16: note: add @available attribute to enclosing static property
static var diconnectSC: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:10:8: note: add @available attribute to enclosing extension
public extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:24:32: error: 'Image' is only available in macOS 10.15 or newer
static var scLogoVertical: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:24:16: note: add @available attribute to enclosing static property
static var scLogoVertical: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:10:8: note: add @available attribute to enclosing extension
public extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:28:39: error: 'Image' is only available in macOS 10.15 or newer
internal static var testWaveForm: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:28:25: note: add @available attribute to enclosing static property
internal static var testWaveForm: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:10:8: note: add @available attribute to enclosing extension
public extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:10:18: error: 'Image' is only available in macOS 10.15 or newer
public extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:10:8: note: add @available attribute to enclosing extension
public extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:13:41: error: type 'Bundle?' has no member 'module'
Image("powered_by_sc", bundle: .module)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:17:38: error: type 'Bundle?' has no member 'module'
Image("connect_sc", bundle: .module)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:21:41: error: type 'Bundle?' has no member 'module'
Image("disconnect_sc", bundle: .module)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:25:44: error: type 'Bundle?' has no member 'module'
Image("sc_logo_vertical", bundle: .module)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:29:41: error: type 'Bundle?' has no member 'module'
Image("test_waveform", bundle: .module)
~^~~~~~
[28/34] Compiling SoundCloud Color.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Color.swift:11:55: error: type 'Bundle?' has no member 'module'
static let scOrange = Color("sc_orange", bundle: .module)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Color.swift:12:66: error: type 'Bundle?' has no member 'module'
static let scOrangeLight = Color("sc_orange_light", bundle: .module)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Color.swift:13:64: error: type 'Bundle?' has no member 'module'
static let scOrangeDark = Color("sc_orange_dark", bundle: .module)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Color.swift:10:18: error: 'Color' is only available in macOS 10.15 or newer
public extension Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Color.swift:10:8: note: add @available attribute to enclosing extension
public extension Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:12:37: error: 'Image' is only available in macOS 10.15 or newer
static var poweredBySoundCloud: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:12:16: note: add @available attribute to enclosing static property
static var poweredBySoundCloud: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:10:8: note: add @available attribute to enclosing extension
public extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:16:27: error: 'Image' is only available in macOS 10.15 or newer
static var connectSC: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:16:16: note: add @available attribute to enclosing static property
static var connectSC: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:10:8: note: add @available attribute to enclosing extension
public extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:20:29: error: 'Image' is only available in macOS 10.15 or newer
static var diconnectSC: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:20:16: note: add @available attribute to enclosing static property
static var diconnectSC: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:10:8: note: add @available attribute to enclosing extension
public extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:24:32: error: 'Image' is only available in macOS 10.15 or newer
static var scLogoVertical: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:24:16: note: add @available attribute to enclosing static property
static var scLogoVertical: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:10:8: note: add @available attribute to enclosing extension
public extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:28:39: error: 'Image' is only available in macOS 10.15 or newer
internal static var testWaveForm: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:28:25: note: add @available attribute to enclosing static property
internal static var testWaveForm: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:10:8: note: add @available attribute to enclosing extension
public extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:10:18: error: 'Image' is only available in macOS 10.15 or newer
public extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:10:8: note: add @available attribute to enclosing extension
public extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:13:41: error: type 'Bundle?' has no member 'module'
Image("powered_by_sc", bundle: .module)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:17:38: error: type 'Bundle?' has no member 'module'
Image("connect_sc", bundle: .module)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:21:41: error: type 'Bundle?' has no member 'module'
Image("disconnect_sc", bundle: .module)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:25:44: error: type 'Bundle?' has no member 'module'
Image("sc_logo_vertical", bundle: .module)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:29:41: error: type 'Bundle?' has no member 'module'
Image("test_waveform", bundle: .module)
~^~~~~~
[29/34] Compiling SoundCloud Image.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Color.swift:11:55: error: type 'Bundle?' has no member 'module'
static let scOrange = Color("sc_orange", bundle: .module)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Color.swift:12:66: error: type 'Bundle?' has no member 'module'
static let scOrangeLight = Color("sc_orange_light", bundle: .module)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Color.swift:13:64: error: type 'Bundle?' has no member 'module'
static let scOrangeDark = Color("sc_orange_dark", bundle: .module)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Color.swift:10:18: error: 'Color' is only available in macOS 10.15 or newer
public extension Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Color.swift:10:8: note: add @available attribute to enclosing extension
public extension Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:12:37: error: 'Image' is only available in macOS 10.15 or newer
static var poweredBySoundCloud: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:12:16: note: add @available attribute to enclosing static property
static var poweredBySoundCloud: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:10:8: note: add @available attribute to enclosing extension
public extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:16:27: error: 'Image' is only available in macOS 10.15 or newer
static var connectSC: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:16:16: note: add @available attribute to enclosing static property
static var connectSC: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:10:8: note: add @available attribute to enclosing extension
public extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:20:29: error: 'Image' is only available in macOS 10.15 or newer
static var diconnectSC: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:20:16: note: add @available attribute to enclosing static property
static var diconnectSC: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:10:8: note: add @available attribute to enclosing extension
public extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:24:32: error: 'Image' is only available in macOS 10.15 or newer
static var scLogoVertical: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:24:16: note: add @available attribute to enclosing static property
static var scLogoVertical: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:10:8: note: add @available attribute to enclosing extension
public extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:28:39: error: 'Image' is only available in macOS 10.15 or newer
internal static var testWaveForm: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:28:25: note: add @available attribute to enclosing static property
internal static var testWaveForm: Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:10:8: note: add @available attribute to enclosing extension
public extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:10:18: error: 'Image' is only available in macOS 10.15 or newer
public extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:10:8: note: add @available attribute to enclosing extension
public extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:13:41: error: type 'Bundle?' has no member 'module'
Image("powered_by_sc", bundle: .module)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:17:38: error: type 'Bundle?' has no member 'module'
Image("connect_sc", bundle: .module)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:21:41: error: type 'Bundle?' has no member 'module'
Image("disconnect_sc", bundle: .module)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:25:44: error: type 'Bundle?' has no member 'module'
Image("sc_logo_vertical", bundle: .module)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Image.swift:29:41: error: type 'Bundle?' has no member 'module'
Image("test_waveform", bundle: .module)
~^~~~~~
[30/34] Compiling SoundCloud Int.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:20:10: error: 'LinearGradient' is only available in macOS 10.15 or newer
) -> LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:17:17: note: add @available attribute to enclosing static method
static func scOrange(
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:10:8: note: add @available attribute to enclosing extension
public extension LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:16:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:17:17: note: add @available attribute to enclosing static method
static func scOrange(
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:10:8: note: add @available attribute to enclosing extension
public extension LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:32:23: error: 'LinearGradient' is only available in macOS 10.15 or newer
static var empty: LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:32:16: note: add @available attribute to enclosing static property
static var empty: LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:10:8: note: add @available attribute to enclosing extension
public extension LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:10:18: error: 'LinearGradient' is only available in macOS 10.15 or newer
public extension LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:10:8: note: add @available attribute to enclosing extension
public extension LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Color.swift:13:64: error: type 'Bundle?' has no member 'module'
static let scOrangeDark = Color("sc_orange_dark", bundle: .module)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Color.swift:12:66: error: type 'Bundle?' has no member 'module'
static let scOrangeLight = Color("sc_orange_light", bundle: .module)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:33:9: error: 'LinearGradient' is only available in macOS 10.15 or newer
LinearGradient(stops: [], startPoint: .top, endPoint: .top)
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:33:9: note: add 'if #available' version check
LinearGradient(stops: [], startPoint: .top, endPoint: .top)
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:32:16: note: add @available attribute to enclosing static property
static var empty: LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:10:8: note: add @available attribute to enclosing extension
public extension LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:39:9: error: 'VStack' is only available in macOS 10.15 or newer
VStack(spacing: 20) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:39:9: note: add 'if #available' version check
VStack(spacing: 20) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:40:13: error: 'Image' is only available in macOS 10.15 or newer
Image(systemName: "playpause.fill")
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:40:13: note: add 'if #available' version check
Image(systemName: "playpause.fill")
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:40:13: error: 'init(systemName:)' is only available in macOS 11.0 or newer
Image(systemName: "playpause.fill")
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:40:13: note: add 'if #available' version check
Image(systemName: "playpause.fill")
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:41:18: error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
.resizable()
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:41:18: note: add 'if #available' version check
.resizable()
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:42:18: error: 'scaledToFit()' is only available in macOS 10.15 or newer
.scaledToFit()
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:42:18: note: add 'if #available' version check
.scaledToFit()
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:43:18: error: 'foregroundStyle' is only available in macOS 12.0 or newer
.foregroundStyle(LinearGradient.scOrange(.vertical))
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:43:18: note: add 'if #available' version check
.foregroundStyle(LinearGradient.scOrange(.vertical))
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:43:34: error: 'LinearGradient' is only available in macOS 10.15 or newer
.foregroundStyle(LinearGradient.scOrange(.vertical))
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:43:34: note: add 'if #available' version check
.foregroundStyle(LinearGradient.scOrange(.vertical))
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:45:13: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: 8)
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:45:13: note: add 'if #available' version check
RoundedRectangle(cornerRadius: 8)
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:46:18: error: 'foregroundStyle' is only available in macOS 12.0 or newer
.foregroundStyle(LinearGradient.scOrange(.horizontal))
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:46:18: note: add 'if #available' version check
.foregroundStyle(LinearGradient.scOrange(.horizontal))
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:46:34: error: 'LinearGradient' is only available in macOS 10.15 or newer
.foregroundStyle(LinearGradient.scOrange(.horizontal))
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:46:34: note: add 'if #available' version check
.foregroundStyle(LinearGradient.scOrange(.horizontal))
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:48:10: error: 'padding' is only available in macOS 10.15 or newer
.padding(10)
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:48:10: note: add 'if #available' version check
.padding(10)
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Logger.swift:14:23: error: 'Logger' is only available in macOS 11.0 or newer
static let auth = Logger(subsystem: subsystem, category: "Authentication")
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Logger.swift:14:16: note: add @available attribute to enclosing static property
static let auth = Logger(subsystem: subsystem, category: "Authentication")
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Logger.swift:10:1: note: add @available attribute to enclosing extension
extension Logger {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Logger.swift:10:11: error: 'Logger' is only available in macOS 11.0 or newer
extension Logger {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Logger.swift:10:1: note: add @available attribute to enclosing extension
extension Logger {
^
[31/34] Compiling SoundCloud LinearGradient.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:20:10: error: 'LinearGradient' is only available in macOS 10.15 or newer
) -> LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:17:17: note: add @available attribute to enclosing static method
static func scOrange(
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:10:8: note: add @available attribute to enclosing extension
public extension LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:16:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:17:17: note: add @available attribute to enclosing static method
static func scOrange(
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:10:8: note: add @available attribute to enclosing extension
public extension LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:32:23: error: 'LinearGradient' is only available in macOS 10.15 or newer
static var empty: LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:32:16: note: add @available attribute to enclosing static property
static var empty: LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:10:8: note: add @available attribute to enclosing extension
public extension LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:10:18: error: 'LinearGradient' is only available in macOS 10.15 or newer
public extension LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:10:8: note: add @available attribute to enclosing extension
public extension LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Color.swift:13:64: error: type 'Bundle?' has no member 'module'
static let scOrangeDark = Color("sc_orange_dark", bundle: .module)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Color.swift:12:66: error: type 'Bundle?' has no member 'module'
static let scOrangeLight = Color("sc_orange_light", bundle: .module)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:33:9: error: 'LinearGradient' is only available in macOS 10.15 or newer
LinearGradient(stops: [], startPoint: .top, endPoint: .top)
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:33:9: note: add 'if #available' version check
LinearGradient(stops: [], startPoint: .top, endPoint: .top)
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:32:16: note: add @available attribute to enclosing static property
static var empty: LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:10:8: note: add @available attribute to enclosing extension
public extension LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:39:9: error: 'VStack' is only available in macOS 10.15 or newer
VStack(spacing: 20) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:39:9: note: add 'if #available' version check
VStack(spacing: 20) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:40:13: error: 'Image' is only available in macOS 10.15 or newer
Image(systemName: "playpause.fill")
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:40:13: note: add 'if #available' version check
Image(systemName: "playpause.fill")
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:40:13: error: 'init(systemName:)' is only available in macOS 11.0 or newer
Image(systemName: "playpause.fill")
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:40:13: note: add 'if #available' version check
Image(systemName: "playpause.fill")
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:41:18: error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
.resizable()
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:41:18: note: add 'if #available' version check
.resizable()
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:42:18: error: 'scaledToFit()' is only available in macOS 10.15 or newer
.scaledToFit()
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:42:18: note: add 'if #available' version check
.scaledToFit()
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:43:18: error: 'foregroundStyle' is only available in macOS 12.0 or newer
.foregroundStyle(LinearGradient.scOrange(.vertical))
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:43:18: note: add 'if #available' version check
.foregroundStyle(LinearGradient.scOrange(.vertical))
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:43:34: error: 'LinearGradient' is only available in macOS 10.15 or newer
.foregroundStyle(LinearGradient.scOrange(.vertical))
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:43:34: note: add 'if #available' version check
.foregroundStyle(LinearGradient.scOrange(.vertical))
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:45:13: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: 8)
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:45:13: note: add 'if #available' version check
RoundedRectangle(cornerRadius: 8)
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:46:18: error: 'foregroundStyle' is only available in macOS 12.0 or newer
.foregroundStyle(LinearGradient.scOrange(.horizontal))
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:46:18: note: add 'if #available' version check
.foregroundStyle(LinearGradient.scOrange(.horizontal))
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:46:34: error: 'LinearGradient' is only available in macOS 10.15 or newer
.foregroundStyle(LinearGradient.scOrange(.horizontal))
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:46:34: note: add 'if #available' version check
.foregroundStyle(LinearGradient.scOrange(.horizontal))
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:48:10: error: 'padding' is only available in macOS 10.15 or newer
.padding(10)
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:48:10: note: add 'if #available' version check
.padding(10)
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Logger.swift:14:23: error: 'Logger' is only available in macOS 11.0 or newer
static let auth = Logger(subsystem: subsystem, category: "Authentication")
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Logger.swift:14:16: note: add @available attribute to enclosing static property
static let auth = Logger(subsystem: subsystem, category: "Authentication")
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Logger.swift:10:1: note: add @available attribute to enclosing extension
extension Logger {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Logger.swift:10:11: error: 'Logger' is only available in macOS 11.0 or newer
extension Logger {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Logger.swift:10:1: note: add @available attribute to enclosing extension
extension Logger {
^
[32/34] Compiling SoundCloud Logger.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:20:10: error: 'LinearGradient' is only available in macOS 10.15 or newer
) -> LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:17:17: note: add @available attribute to enclosing static method
static func scOrange(
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:10:8: note: add @available attribute to enclosing extension
public extension LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:16:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:17:17: note: add @available attribute to enclosing static method
static func scOrange(
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:10:8: note: add @available attribute to enclosing extension
public extension LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:32:23: error: 'LinearGradient' is only available in macOS 10.15 or newer
static var empty: LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:32:16: note: add @available attribute to enclosing static property
static var empty: LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:10:8: note: add @available attribute to enclosing extension
public extension LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:10:18: error: 'LinearGradient' is only available in macOS 10.15 or newer
public extension LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:10:8: note: add @available attribute to enclosing extension
public extension LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Color.swift:13:64: error: type 'Bundle?' has no member 'module'
static let scOrangeDark = Color("sc_orange_dark", bundle: .module)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Color.swift:12:66: error: type 'Bundle?' has no member 'module'
static let scOrangeLight = Color("sc_orange_light", bundle: .module)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:33:9: error: 'LinearGradient' is only available in macOS 10.15 or newer
LinearGradient(stops: [], startPoint: .top, endPoint: .top)
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:33:9: note: add 'if #available' version check
LinearGradient(stops: [], startPoint: .top, endPoint: .top)
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:32:16: note: add @available attribute to enclosing static property
static var empty: LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:10:8: note: add @available attribute to enclosing extension
public extension LinearGradient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:39:9: error: 'VStack' is only available in macOS 10.15 or newer
VStack(spacing: 20) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:39:9: note: add 'if #available' version check
VStack(spacing: 20) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:40:13: error: 'Image' is only available in macOS 10.15 or newer
Image(systemName: "playpause.fill")
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:40:13: note: add 'if #available' version check
Image(systemName: "playpause.fill")
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:40:13: error: 'init(systemName:)' is only available in macOS 11.0 or newer
Image(systemName: "playpause.fill")
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:40:13: note: add 'if #available' version check
Image(systemName: "playpause.fill")
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:41:18: error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
.resizable()
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:41:18: note: add 'if #available' version check
.resizable()
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:42:18: error: 'scaledToFit()' is only available in macOS 10.15 or newer
.scaledToFit()
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:42:18: note: add 'if #available' version check
.scaledToFit()
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:43:18: error: 'foregroundStyle' is only available in macOS 12.0 or newer
.foregroundStyle(LinearGradient.scOrange(.vertical))
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:43:18: note: add 'if #available' version check
.foregroundStyle(LinearGradient.scOrange(.vertical))
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:43:34: error: 'LinearGradient' is only available in macOS 10.15 or newer
.foregroundStyle(LinearGradient.scOrange(.vertical))
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:43:34: note: add 'if #available' version check
.foregroundStyle(LinearGradient.scOrange(.vertical))
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:45:13: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: 8)
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:45:13: note: add 'if #available' version check
RoundedRectangle(cornerRadius: 8)
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:46:18: error: 'foregroundStyle' is only available in macOS 12.0 or newer
.foregroundStyle(LinearGradient.scOrange(.horizontal))
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:46:18: note: add 'if #available' version check
.foregroundStyle(LinearGradient.scOrange(.horizontal))
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:46:34: error: 'LinearGradient' is only available in macOS 10.15 or newer
.foregroundStyle(LinearGradient.scOrange(.horizontal))
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:46:34: note: add 'if #available' version check
.foregroundStyle(LinearGradient.scOrange(.horizontal))
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:48:10: error: 'padding' is only available in macOS 10.15 or newer
.padding(10)
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:48:10: note: add 'if #available' version check
.padding(10)
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:38:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/LinearGradient.swift:37:8: note: add @available attribute to enclosing struct
struct LinearGradient_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Logger.swift:14:23: error: 'Logger' is only available in macOS 11.0 or newer
static let auth = Logger(subsystem: subsystem, category: "Authentication")
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Logger.swift:14:16: note: add @available attribute to enclosing static property
static let auth = Logger(subsystem: subsystem, category: "Authentication")
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Logger.swift:10:1: note: add @available attribute to enclosing extension
extension Logger {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Logger.swift:10:11: error: 'Logger' is only available in macOS 11.0 or newer
extension Logger {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Logger.swift:10:1: note: add @available attribute to enclosing extension
extension Logger {
^
[33/34] Compiling SoundCloud SoundCloud.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:29:36: error: 'AnyCancellable' is only available in macOS 10.15 or newer
public var subscriptions = Set<AnyCancellable>()
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:23:20: note: add @available attribute to enclosing class
public final class SoundCloud {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:65:17: error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
} catch(ASWebAuthenticationSession.Error.cancelledLogin) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:65:17: note: add 'if #available' version check
} catch(ASWebAuthenticationSession.Error.cancelledLogin) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:55:10: note: add @available attribute to enclosing instance method
func login() async throws -> TokenResponse {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:43:8: note: add @available attribute to enclosing extension
public extension SoundCloud {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:209:53: error: type 'ASWebAuthenticationSession' has no member 'getAuthorizationCode'
return try await ASWebAuthenticationSession.getAuthorizationCode(
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:244:60: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
guard let (data, response) = try? await urlSession.data(for: request) else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:244:60: note: add 'if #available' version check
guard let (data, response) = try? await urlSession.data(for: request) else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:243:10: note: add @available attribute to enclosing instance method
func fetchData<T: Decodable>(using request: URLRequest) async throws -> T {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:198:9: note: add @available attribute to enclosing extension
private extension SoundCloud {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Logger.swift:14:23: error: 'Logger' is only available in macOS 11.0 or newer
static let auth = Logger(subsystem: subsystem, category: "Authentication")
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Logger.swift:14:16: note: add @available attribute to enclosing static property
static let auth = Logger(subsystem: subsystem, category: "Authentication")
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Logger.swift:10:1: note: add @available attribute to enclosing extension
extension Logger {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:288:9: error: 'Logger' is only available in macOS 11.0 or newer
Logger.auth.info("💾 Current access token: \(token ?? "None", privacy: .private)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:288:9: note: add 'if #available' version check
Logger.auth.info("💾 Current access token: \(token ?? "None", privacy: .private)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:286:10: note: add @available attribute to enclosing instance method
func logCurrentAuthToken() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:198:9: note: add @available attribute to enclosing extension
private extension SoundCloud {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:288:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.auth.info("💾 Current access token: \(token ?? "None", privacy: .private)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:288:26: note: add 'if #available' version check
Logger.auth.info("💾 Current access token: \(token ?? "None", privacy: .private)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:286:10: note: add @available attribute to enclosing instance method
func logCurrentAuthToken() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:198:9: note: add @available attribute to enclosing extension
private extension SoundCloud {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:288:55: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.auth.info("💾 Current access token: \(token ?? "None", privacy: .private)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:288:55: note: add 'if #available' version check
Logger.auth.info("💾 Current access token: \(token ?? "None", privacy: .private)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:286:10: note: add @available attribute to enclosing instance method
func logCurrentAuthToken() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:198:9: note: add @available attribute to enclosing extension
private extension SoundCloud {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:292:9: error: 'Logger' is only available in macOS 11.0 or newer
Logger.auth.info("🌟 Received new access token: \(token, privacy: .private)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:292:9: note: add 'if #available' version check
Logger.auth.info("🌟 Received new access token: \(token, privacy: .private)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:291:10: note: add @available attribute to enclosing instance method
func logNewAuthToken(_ token: String) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:198:9: note: add @available attribute to enclosing extension
private extension SoundCloud {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:292:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.auth.info("🌟 Received new access token: \(token, privacy: .private)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:292:26: note: add 'if #available' version check
Logger.auth.info("🌟 Received new access token: \(token, privacy: .private)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:291:10: note: add @available attribute to enclosing instance method
func logNewAuthToken(_ token: String) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:198:9: note: add @available attribute to enclosing extension
private extension SoundCloud {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:292:60: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.auth.info("🌟 Received new access token: \(token, privacy: .private)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:292:60: note: add 'if #available' version check
Logger.auth.info("🌟 Received new access token: \(token, privacy: .private)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:291:10: note: add @available attribute to enclosing instance method
func logNewAuthToken(_ token: String) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:198:9: note: add @available attribute to enclosing extension
private extension SoundCloud {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:296:9: error: 'Logger' is only available in macOS 11.0 or newer
Logger.auth.warning("⏰ Access token expired at: \(date)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:296:9: note: add 'if #available' version check
Logger.auth.warning("⏰ Access token expired at: \(date)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:295:10: note: add @available attribute to enclosing instance method
func logAuthTokenExpired(_ date: Date) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:198:9: note: add @available attribute to enclosing extension
private extension SoundCloud {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:296:29: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.auth.warning("⏰ Access token expired at: \(date)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:296:29: note: add 'if #available' version check
Logger.auth.warning("⏰ Access token expired at: \(date)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:295:10: note: add @available attribute to enclosing instance method
func logAuthTokenExpired(_ date: Date) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:198:9: note: add @available attribute to enclosing extension
private extension SoundCloud {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:296:60: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.auth.warning("⏰ Access token expired at: \(date)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:296:60: note: add 'if #available' version check
Logger.auth.warning("⏰ Access token expired at: \(date)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:295:10: note: add @available attribute to enclosing instance method
func logAuthTokenExpired(_ date: Date) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:198:9: note: add @available attribute to enclosing extension
private extension SoundCloud {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:13:28: error: cannot find type 'UIImage' in scope
@Binding var waveform: UIImage
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:12:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var progress: CGFloat
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:10:15: note: add @available attribute to enclosing struct
public struct WaveformView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:13:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var waveform: UIImage
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:10:15: note: add @available attribute to enclosing struct
public struct WaveformView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:15:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:15:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:10:15: note: add @available attribute to enclosing struct
public struct WaveformView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:56:6: error: 'State' is only available in macOS 10.15 or newer
@State static var progress: CGFloat = 0.5
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:55:8: note: add @available attribute to enclosing struct
struct SwiftUIView_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:57:33: error: cannot find type 'UIImage' in scope
@State static var waveform: UIImage = UIImage(named: "test_waveform", in: .module, with: nil)!
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:57:6: error: 'State' is only available in macOS 10.15 or newer
@State static var waveform: UIImage = UIImage(named: "test_waveform", in: .module, with: nil)!
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:55:8: note: add @available attribute to enclosing struct
struct SwiftUIView_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:59:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:59:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:55:8: note: add @available attribute to enclosing struct
struct SwiftUIView_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:20:26: error: extraneous argument label 'uiImage:' in call
Image(uiImage: waveform)
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:61:29: error: cannot infer contextual base in reference to member 'sizeThatFits'
.previewLayout(.sizeThatFits)
~^~~~~~~~~~~~
[34/34] Compiling SoundCloud WaveformView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:29:36: error: 'AnyCancellable' is only available in macOS 10.15 or newer
public var subscriptions = Set<AnyCancellable>()
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:23:20: note: add @available attribute to enclosing class
public final class SoundCloud {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:65:17: error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
} catch(ASWebAuthenticationSession.Error.cancelledLogin) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:65:17: note: add 'if #available' version check
} catch(ASWebAuthenticationSession.Error.cancelledLogin) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:55:10: note: add @available attribute to enclosing instance method
func login() async throws -> TokenResponse {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:43:8: note: add @available attribute to enclosing extension
public extension SoundCloud {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:209:53: error: type 'ASWebAuthenticationSession' has no member 'getAuthorizationCode'
return try await ASWebAuthenticationSession.getAuthorizationCode(
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:244:60: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
guard let (data, response) = try? await urlSession.data(for: request) else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:244:60: note: add 'if #available' version check
guard let (data, response) = try? await urlSession.data(for: request) else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:243:10: note: add @available attribute to enclosing instance method
func fetchData<T: Decodable>(using request: URLRequest) async throws -> T {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:198:9: note: add @available attribute to enclosing extension
private extension SoundCloud {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Logger.swift:14:23: error: 'Logger' is only available in macOS 11.0 or newer
static let auth = Logger(subsystem: subsystem, category: "Authentication")
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Logger.swift:14:16: note: add @available attribute to enclosing static property
static let auth = Logger(subsystem: subsystem, category: "Authentication")
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Extension/Logger.swift:10:1: note: add @available attribute to enclosing extension
extension Logger {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:288:9: error: 'Logger' is only available in macOS 11.0 or newer
Logger.auth.info("💾 Current access token: \(token ?? "None", privacy: .private)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:288:9: note: add 'if #available' version check
Logger.auth.info("💾 Current access token: \(token ?? "None", privacy: .private)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:286:10: note: add @available attribute to enclosing instance method
func logCurrentAuthToken() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:198:9: note: add @available attribute to enclosing extension
private extension SoundCloud {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:288:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.auth.info("💾 Current access token: \(token ?? "None", privacy: .private)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:288:26: note: add 'if #available' version check
Logger.auth.info("💾 Current access token: \(token ?? "None", privacy: .private)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:286:10: note: add @available attribute to enclosing instance method
func logCurrentAuthToken() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:198:9: note: add @available attribute to enclosing extension
private extension SoundCloud {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:288:55: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.auth.info("💾 Current access token: \(token ?? "None", privacy: .private)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:288:55: note: add 'if #available' version check
Logger.auth.info("💾 Current access token: \(token ?? "None", privacy: .private)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:286:10: note: add @available attribute to enclosing instance method
func logCurrentAuthToken() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:198:9: note: add @available attribute to enclosing extension
private extension SoundCloud {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:292:9: error: 'Logger' is only available in macOS 11.0 or newer
Logger.auth.info("🌟 Received new access token: \(token, privacy: .private)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:292:9: note: add 'if #available' version check
Logger.auth.info("🌟 Received new access token: \(token, privacy: .private)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:291:10: note: add @available attribute to enclosing instance method
func logNewAuthToken(_ token: String) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:198:9: note: add @available attribute to enclosing extension
private extension SoundCloud {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:292:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.auth.info("🌟 Received new access token: \(token, privacy: .private)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:292:26: note: add 'if #available' version check
Logger.auth.info("🌟 Received new access token: \(token, privacy: .private)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:291:10: note: add @available attribute to enclosing instance method
func logNewAuthToken(_ token: String) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:198:9: note: add @available attribute to enclosing extension
private extension SoundCloud {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:292:60: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.auth.info("🌟 Received new access token: \(token, privacy: .private)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:292:60: note: add 'if #available' version check
Logger.auth.info("🌟 Received new access token: \(token, privacy: .private)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:291:10: note: add @available attribute to enclosing instance method
func logNewAuthToken(_ token: String) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:198:9: note: add @available attribute to enclosing extension
private extension SoundCloud {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:296:9: error: 'Logger' is only available in macOS 11.0 or newer
Logger.auth.warning("⏰ Access token expired at: \(date)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:296:9: note: add 'if #available' version check
Logger.auth.warning("⏰ Access token expired at: \(date)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:295:10: note: add @available attribute to enclosing instance method
func logAuthTokenExpired(_ date: Date) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:198:9: note: add @available attribute to enclosing extension
private extension SoundCloud {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:296:29: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.auth.warning("⏰ Access token expired at: \(date)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:296:29: note: add 'if #available' version check
Logger.auth.warning("⏰ Access token expired at: \(date)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:295:10: note: add @available attribute to enclosing instance method
func logAuthTokenExpired(_ date: Date) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:198:9: note: add @available attribute to enclosing extension
private extension SoundCloud {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:296:60: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.auth.warning("⏰ Access token expired at: \(date)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:296:60: note: add 'if #available' version check
Logger.auth.warning("⏰ Access token expired at: \(date)")
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:295:10: note: add @available attribute to enclosing instance method
func logAuthTokenExpired(_ date: Date) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/SoundCloud.swift:198:9: note: add @available attribute to enclosing extension
private extension SoundCloud {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:13:28: error: cannot find type 'UIImage' in scope
@Binding var waveform: UIImage
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:12:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var progress: CGFloat
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:10:15: note: add @available attribute to enclosing struct
public struct WaveformView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:13:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var waveform: UIImage
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:10:15: note: add @available attribute to enclosing struct
public struct WaveformView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:15:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:15:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:10:15: note: add @available attribute to enclosing struct
public struct WaveformView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:56:6: error: 'State' is only available in macOS 10.15 or newer
@State static var progress: CGFloat = 0.5
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:55:8: note: add @available attribute to enclosing struct
struct SwiftUIView_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:57:33: error: cannot find type 'UIImage' in scope
@State static var waveform: UIImage = UIImage(named: "test_waveform", in: .module, with: nil)!
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:57:6: error: 'State' is only available in macOS 10.15 or newer
@State static var waveform: UIImage = UIImage(named: "test_waveform", in: .module, with: nil)!
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:55:8: note: add @available attribute to enclosing struct
struct SwiftUIView_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:59:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:59:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:55:8: note: add @available attribute to enclosing struct
struct SwiftUIView_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:20:26: error: extraneous argument label 'uiImage:' in call
Image(uiImage: waveform)
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/UI/WaveformView.swift:61:29: error: cannot infer contextual base in reference to member 'sizeThatFits'
.previewLayout(.sizeThatFits)
~^~~~~~~~~~~~
error: fatalError
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Assets.xcassets
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Localizable.xcstrings
BUILD FAILURE 5.10 macosSpm