Build Information
Failed to build SoundCloud, reference 1.1.0 (7e729d
), with Swift 5.9 for macOS (SPM) on 25 Sep 2024 11:18:56 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD
https://github.com/superturboryan/SoundCloud-Swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/4] Compiling KeychainSwift TegKeychainConstants.swift
[2/4] Emitting module KeychainSwift
[3/4] Compiling KeychainSwift KeychainSwiftAccessOptions.swift
[4/4] Compiling KeychainSwift KeychainSwift.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/29] 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 {
^
[6/31] 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 {
^
[7/31] 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 {
^
[8/31] 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/31] 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/31] 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 {
^
[11/31] 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 {
^
[12/31] 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 {
^
[13/31] 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 {
^
[14/31] 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 {
^
[15/31] 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 {
^
[16/31] Compiling SoundCloud Config.swift
[17/31] Compiling SoundCloud DAO.swift
[18/31] Compiling SoundCloud KeychainDAO.swift
[19/31] 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")
~^~~~~~
[20/31] 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")
~^~~~~~
[21/31] 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")
~^~~~~~
[22/31] Compiling SoundCloud TokenResponse.swift
[23/31] Compiling SoundCloud Track.swift
[24/31] 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: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/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: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: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: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: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: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: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: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: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: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 {
^
[25/31] 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: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/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: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: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: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: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: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: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: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: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: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 {
^
[26/31] 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: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/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: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: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: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: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: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: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: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: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: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 {
^
[27/31] 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/31] 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/31] 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/31] 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: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: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: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: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: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/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/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)
~^~~~~~~~~~~~
[31/31] 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: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: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: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: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: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/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/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
Fetching https://github.com/evgenyneu/keychain-swift
[1/2196] Fetching keychain-swift
Fetched https://github.com/evgenyneu/keychain-swift (1.49s)
Computing version for https://github.com/evgenyneu/keychain-swift
Computed https://github.com/evgenyneu/keychain-swift at 20.0.0 (2.62s)
Creating working copy for https://github.com/evgenyneu/keychain-swift
Working copy of https://github.com/evgenyneu/keychain-swift resolved at 20.0.0
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/Localizable.xcstrings
/Users/admin/builder/spi-builder-workspace/Sources/SoundCloud/Assets.xcassets
BUILD FAILURE 5.9 macosSpm