Build Information
Failed to build FigmaPreview with Swift 5.9 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
.background(Color.white)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:146:18: note: add 'if #available' version check
.background(Color.white)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:146:29: error: 'Color' is only available in macOS 10.15 or newer
.background(Color.white)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:146:29: note: add 'if #available' version check
.background(Color.white)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:146:35: error: 'white' is only available in macOS 10.15 or newer
.background(Color.white)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:146:35: note: add 'if #available' version check
.background(Color.white)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:147:18: error: 'opacity' is only available in macOS 10.15 or newer
.opacity(0.4)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:147:18: note: add 'if #available' version check
.opacity(0.4)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:148:18: error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
.cornerRadius(20)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:148:18: note: add 'if #available' version check
.cornerRadius(20)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:150:10: error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
.fixedSize(horizontal: true, vertical: true)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:150:10: note: add 'if #available' version check
.fixedSize(horizontal: true, vertical: true)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:151:10: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
.offset(x: position + dragOffset)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:151:10: note: add 'if #available' version check
.offset(x: position + dragOffset)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:152:10: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
.gesture(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:152:10: note: add 'if #available' version check
.gesture(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:153:13: error: 'DragGesture' is only available in macOS 10.15 or newer
DragGesture()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:153:13: note: add 'if #available' version check
DragGesture()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:153:13: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
DragGesture()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:153:13: note: add 'if #available' version check
DragGesture()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:154:18: error: 'onChanged' is only available in macOS 10.15 or newer
.onChanged { gesture in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:154:18: note: add 'if #available' version check
.onChanged { gesture in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:155:21: error: setter for 'dragOffset' is only available in macOS 10.15 or newer
dragOffset = gesture.translation.width
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:155:21: note: add 'if #available' version check
dragOffset = gesture.translation.width
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:157:18: error: 'onEnded' is only available in macOS 10.15 or newer
.onEnded { gesture in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:157:18: note: add 'if #available' version check
.onEnded { gesture in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:158:21: error: cannot pass as inout because setter for 'position' is only available in macOS 10.15 or newer
position += gesture.translation.width
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:158:21: note: add 'if #available' version check
position += gesture.translation.width
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:159:21: error: setter for 'dragOffset' is only available in macOS 10.15 or newer
dragOffset = 0
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:159:21: note: add 'if #available' version check
dragOffset = 0
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:168:43: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
let (data, _) = try await session.data(for: request)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:168:43: note: add 'if #available' version check
let (data, _) = try await session.data(for: request)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:164:18: note: add @available attribute to enclosing instance method
private func image(for fileID: String, componentID: String) async throws -> Image {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:174:48: error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
let (imageData, _) = try await session.data(from: imageURL)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:174:48: note: add 'if #available' version check
let (imageData, _) = try await session.data(from: imageURL)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:164:18: note: add @available attribute to enclosing instance method
private func image(for fileID: String, componentID: String) async throws -> Image {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:175:27: error: cannot find 'UIImage' in scope
guard let image = UIImage(data: imageData) else {
^~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:178:16: error: no exact matches in call to initializer
return Image(uiImage: image)
^
SwiftUI.Image:3:12: note: incorrect labels for candidate (have: '(uiImage:)', expected: '(_:)')
public init(_ name: String, bundle: Bundle? = nil)
^
SwiftUI.Image:3:12: note: incorrect labels for candidate (have: '(uiImage:)', expected: '(_:)')
public init(_ resource: ImageResource)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:189:13: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer
Image(systemName: "eye.slash")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:189:13: note: add 'if #available' version check
Image(systemName: "eye.slash")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:189:13: error: 'Image' is only available in macOS 10.15 or newer
Image(systemName: "eye.slash")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:189:13: note: add 'if #available' version check
Image(systemName: "eye.slash")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:189:13: error: 'init(systemName:)' is only available in macOS 11.0 or newer
Image(systemName: "eye.slash")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:189:13: note: add 'if #available' version check
Image(systemName: "eye.slash")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:189:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
Image(systemName: "eye.slash")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:189:13: note: add 'if #available' version check
Image(systemName: "eye.slash")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:189:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
Image(systemName: "eye.slash")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:189:13: note: add 'if #available' version check
Image(systemName: "eye.slash")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:189:13: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer
Image(systemName: "eye.slash")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:189:13: note: add 'if #available' version check
Image(systemName: "eye.slash")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:191:13: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer
Image(systemName: "square.3.layers.3d.down.right")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:191:13: note: add 'if #available' version check
Image(systemName: "square.3.layers.3d.down.right")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:191:13: error: 'Image' is only available in macOS 10.15 or newer
Image(systemName: "square.3.layers.3d.down.right")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:191:13: note: add 'if #available' version check
Image(systemName: "square.3.layers.3d.down.right")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:191:13: error: 'init(systemName:)' is only available in macOS 11.0 or newer
Image(systemName: "square.3.layers.3d.down.right")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:191:13: note: add 'if #available' version check
Image(systemName: "square.3.layers.3d.down.right")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:191:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
Image(systemName: "square.3.layers.3d.down.right")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:191:13: note: add 'if #available' version check
Image(systemName: "square.3.layers.3d.down.right")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:191:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
Image(systemName: "square.3.layers.3d.down.right")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:191:13: note: add 'if #available' version check
Image(systemName: "square.3.layers.3d.down.right")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:191:13: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer
Image(systemName: "square.3.layers.3d.down.right")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:191:13: note: add 'if #available' version check
Image(systemName: "square.3.layers.3d.down.right")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:193:13: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer
Image(systemName: "slider.horizontal.below.square.and.square.filled")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:193:13: note: add 'if #available' version check
Image(systemName: "slider.horizontal.below.square.and.square.filled")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:193:13: error: 'Image' is only available in macOS 10.15 or newer
Image(systemName: "slider.horizontal.below.square.and.square.filled")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:193:13: note: add 'if #available' version check
Image(systemName: "slider.horizontal.below.square.and.square.filled")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:193:13: error: 'init(systemName:)' is only available in macOS 11.0 or newer
Image(systemName: "slider.horizontal.below.square.and.square.filled")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:193:13: note: add 'if #available' version check
Image(systemName: "slider.horizontal.below.square.and.square.filled")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:193:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
Image(systemName: "slider.horizontal.below.square.and.square.filled")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:193:13: note: add 'if #available' version check
Image(systemName: "slider.horizontal.below.square.and.square.filled")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:193:13: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer
Image(systemName: "slider.horizontal.below.square.and.square.filled")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:193:13: note: add 'if #available' version check
Image(systemName: "slider.horizontal.below.square.and.square.filled")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:32: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:32: note: add 'if #available' version check
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:208:22: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if condition {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:208:22: note: add 'if #available' version check
if condition {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:207:10: note: add @available attribute to enclosing instance method
func `if`<T>(_ condition: Bool, transform: (Self) -> T) -> some View where T : View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:204:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:211:14: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
else {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:211:14: note: add 'if #available' version check
else {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:207:10: note: add @available attribute to enclosing instance method
func `if`<T>(_ condition: Bool, transform: (Self) -> T) -> some View where T : View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:204:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:207:89: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
func `if`<T>(_ condition: Bool, transform: (Self) -> T) -> some View where T : View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:207:89: note: add 'if #available' version check
func `if`<T>(_ condition: Bool, transform: (Self) -> T) -> some View where T : View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:207:10: note: add @available attribute to enclosing instance method
func `if`<T>(_ condition: Bool, transform: (Self) -> T) -> some View where T : View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:204:9: note: add @available attribute to enclosing extension
private extension View {
^
[5/5] Compiling FigmaPreview EnvironmentValues+FigmaAccessToken.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/EnvironmentValues+FigmaAccessToken.swift:7:18: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
public extension EnvironmentValues {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/EnvironmentValues+FigmaAccessToken.swift:7:8: note: add @available attribute to enclosing extension
public extension EnvironmentValues {
^
error: fatalError
[0/1] Planning build
Building for debugging...
[1/4] Compiling FigmaPreview View+FigmaModifier.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:9:79: error: 'View' is only available in macOS 10.15 or newer
func compare(with url: URL, previewState: PreviewState = .hidden) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:9:10: note: add @available attribute to enclosing instance method
func compare(with url: URL, previewState: PreviewState = .hidden) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:7:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:14:30: error: 'Image' is only available in macOS 10.15 or newer
func compare(with image: Image, previewState: PreviewState = .hidden) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:14:10: note: add @available attribute to enclosing instance method
func compare(with image: Image, previewState: PreviewState = .hidden) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:7:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:14:83: error: 'View' is only available in macOS 10.15 or newer
func compare(with image: Image, previewState: PreviewState = .hidden) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:14:10: note: add @available attribute to enclosing instance method
func compare(with image: Image, previewState: PreviewState = .hidden) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:7:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:19:106: error: 'View' is only available in macOS 10.15 or newer
func compare(with fileID: String, componentID: String, previewState: PreviewState = .hidden) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:19:10: note: add @available attribute to enclosing instance method
func compare(with fileID: String, componentID: String, previewState: PreviewState = .hidden) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:7:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:7:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:7:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:10:9: error: 'modifier' is only available in macOS 10.15 or newer
modifier(FigmaViewModifier(contentType: .url(url),
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:10:9: note: add 'if #available' version check
modifier(FigmaViewModifier(contentType: .url(url),
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:9:10: note: add @available attribute to enclosing instance method
func compare(with url: URL, previewState: PreviewState = .hidden) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:7:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:15:9: error: 'modifier' is only available in macOS 10.15 or newer
modifier(FigmaViewModifier(contentType: .image(image),
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:15:9: note: add 'if #available' version check
modifier(FigmaViewModifier(contentType: .image(image),
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:14:10: note: add @available attribute to enclosing instance method
func compare(with image: Image, previewState: PreviewState = .hidden) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:7:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:20:9: error: 'modifier' is only available in macOS 10.15 or newer
modifier(FigmaViewModifier(contentType: .figma(fileID: fileID, componentID: componentID),
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:20:9: note: add 'if #available' version check
modifier(FigmaViewModifier(contentType: .figma(fileID: fileID, componentID: componentID),
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:19:10: note: add @available attribute to enclosing instance method
func compare(with fileID: String, componentID: String, previewState: PreviewState = .hidden) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:7:8: note: add @available attribute to enclosing extension
public extension View {
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] Emitting module FigmaPreview
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/EnvironmentValues+FigmaAccessToken.swift:7:18: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
public extension EnvironmentValues {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/EnvironmentValues+FigmaAccessToken.swift:7:8: note: add @available attribute to enclosing extension
public extension EnvironmentValues {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:11:20: error: 'Image' is only available in macOS 10.15 or newer
case image(Image)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:9:10: note: add @available attribute to enclosing enum
enum ContentType {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:21:6: error: 'State' is only available in macOS 10.15 or newer
@State var contentType: ContentType
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:22:6: error: 'State' is only available in macOS 10.15 or newer
@State var previewState: PreviewState
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:24:31: error: 'Image' is only available in macOS 10.15 or newer
@State private var image: Image?
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:24:6: error: 'State' is only available in macOS 10.15 or newer
@State private var image: Image?
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:25:6: error: 'State' is only available in macOS 10.15 or newer
@State private var opacity: Double = 0.5
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:27:6: error: 'State' is only available in macOS 10.15 or newer
@State private var position: CGFloat = 0
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:28:6: error: 'State' is only available in macOS 10.15 or newer
@State private var dragOffset: CGFloat = 0
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:30:6: error: 'State' is only available in macOS 10.15 or newer
@State private var session: URLSession = .shared
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:32:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.figmaAccessToken) private var figmaAccessToken
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:34:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:34:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:78:70: error: 'Image' is only available in macOS 10.15 or newer
private func image(for contentType: ContentType) async throws -> Image {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:78:18: note: add @available attribute to enclosing instance method
private func image(for contentType: ContentType) async throws -> Image {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:102:37: error: 'View' is only available in macOS 10.15 or newer
private var settingsPanel: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:102:17: note: add @available attribute to enclosing property
private var settingsPanel: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:118:39: error: 'GeometryProxy' is only available in macOS 10.15 or newer
private func figmaImage(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:118:18: note: add @available attribute to enclosing instance method
private func figmaImage(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:118:62: error: 'View' is only available in macOS 10.15 or newer
private func figmaImage(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:118:18: note: add @available attribute to enclosing instance method
private func figmaImage(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:38: error: 'GeometryProxy' is only available in macOS 10.15 or newer
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:61: error: 'View' is only available in macOS 10.15 or newer
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:164:81: error: 'Image' is only available in macOS 10.15 or newer
private func image(for fileID: String, componentID: String) async throws -> Image {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:164:18: note: add @available attribute to enclosing instance method
private func image(for fileID: String, componentID: String) async throws -> Image {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:207:84: error: 'View' is only available in macOS 10.15 or newer
func `if`<T>(_ condition: Bool, transform: (Self) -> T) -> some View where T : View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:207:10: note: add @available attribute to enclosing instance method
func `if`<T>(_ condition: Bool, transform: (Self) -> T) -> some View where T : View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:204:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:207:69: error: 'View' is only available in macOS 10.15 or newer
func `if`<T>(_ condition: Bool, transform: (Self) -> T) -> some View where T : View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:207:10: note: add @available attribute to enclosing instance method
func `if`<T>(_ condition: Bool, transform: (Self) -> T) -> some View where T : View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:204:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:206:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:207:10: note: add @available attribute to enclosing instance method
func `if`<T>(_ condition: Bool, transform: (Self) -> T) -> some View where T : View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:204:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:204:19: error: 'View' is only available in macOS 10.15 or newer
private extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:204:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:9:79: error: 'View' is only available in macOS 10.15 or newer
func compare(with url: URL, previewState: PreviewState = .hidden) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:9:10: note: add @available attribute to enclosing instance method
func compare(with url: URL, previewState: PreviewState = .hidden) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:7:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:14:30: error: 'Image' is only available in macOS 10.15 or newer
func compare(with image: Image, previewState: PreviewState = .hidden) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:14:10: note: add @available attribute to enclosing instance method
func compare(with image: Image, previewState: PreviewState = .hidden) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:7:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:14:83: error: 'View' is only available in macOS 10.15 or newer
func compare(with image: Image, previewState: PreviewState = .hidden) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:14:10: note: add @available attribute to enclosing instance method
func compare(with image: Image, previewState: PreviewState = .hidden) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:7:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:19:106: error: 'View' is only available in macOS 10.15 or newer
func compare(with fileID: String, componentID: String, previewState: PreviewState = .hidden) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:19:10: note: add @available attribute to enclosing instance method
func compare(with fileID: String, componentID: String, previewState: PreviewState = .hidden) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:7:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:7:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/View+FigmaModifier.swift:7:8: note: add @available attribute to enclosing extension
public extension View {
^
[3/4] Compiling FigmaPreview FigmaModifier.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:11:20: error: 'Image' is only available in macOS 10.15 or newer
case image(Image)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:9:10: note: add @available attribute to enclosing enum
enum ContentType {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:21:6: error: 'State' is only available in macOS 10.15 or newer
@State var contentType: ContentType
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:22:6: error: 'State' is only available in macOS 10.15 or newer
@State var previewState: PreviewState
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:24:31: error: 'Image' is only available in macOS 10.15 or newer
@State private var image: Image?
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:24:6: error: 'State' is only available in macOS 10.15 or newer
@State private var image: Image?
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:25:6: error: 'State' is only available in macOS 10.15 or newer
@State private var opacity: Double = 0.5
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:27:6: error: 'State' is only available in macOS 10.15 or newer
@State private var position: CGFloat = 0
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:28:6: error: 'State' is only available in macOS 10.15 or newer
@State private var dragOffset: CGFloat = 0
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:30:6: error: 'State' is only available in macOS 10.15 or newer
@State private var session: URLSession = .shared
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:32:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.figmaAccessToken) private var figmaAccessToken
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:34:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:34:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:78:70: error: 'Image' is only available in macOS 10.15 or newer
private func image(for contentType: ContentType) async throws -> Image {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:78:18: note: add @available attribute to enclosing instance method
private func image(for contentType: ContentType) async throws -> Image {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:102:37: error: 'View' is only available in macOS 10.15 or newer
private var settingsPanel: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:102:17: note: add @available attribute to enclosing property
private var settingsPanel: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:118:39: error: 'GeometryProxy' is only available in macOS 10.15 or newer
private func figmaImage(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:118:18: note: add @available attribute to enclosing instance method
private func figmaImage(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:118:62: error: 'View' is only available in macOS 10.15 or newer
private func figmaImage(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:118:18: note: add @available attribute to enclosing instance method
private func figmaImage(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:38: error: 'GeometryProxy' is only available in macOS 10.15 or newer
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:61: error: 'View' is only available in macOS 10.15 or newer
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:164:81: error: 'Image' is only available in macOS 10.15 or newer
private func image(for fileID: String, componentID: String) async throws -> Image {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:164:18: note: add @available attribute to enclosing instance method
private func image(for fileID: String, componentID: String) async throws -> Image {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:207:84: error: 'View' is only available in macOS 10.15 or newer
func `if`<T>(_ condition: Bool, transform: (Self) -> T) -> some View where T : View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:207:10: note: add @available attribute to enclosing instance method
func `if`<T>(_ condition: Bool, transform: (Self) -> T) -> some View where T : View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:204:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:207:69: error: 'View' is only available in macOS 10.15 or newer
func `if`<T>(_ condition: Bool, transform: (Self) -> T) -> some View where T : View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:207:10: note: add @available attribute to enclosing instance method
func `if`<T>(_ condition: Bool, transform: (Self) -> T) -> some View where T : View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:204:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:206:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:207:10: note: add @available attribute to enclosing instance method
func `if`<T>(_ condition: Bool, transform: (Self) -> T) -> some View where T : View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:204:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:204:19: error: 'View' is only available in macOS 10.15 or newer
private extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:204:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:66:23: error: 'MainActor' is only available in macOS 10.15 or newer
await MainActor.run {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:66:23: note: add 'if #available' version check
await MainActor.run {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:34:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:66:33: error: 'run(resultType:body:)' is only available in macOS 10.15 or newer
await MainActor.run {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:66:33: note: add 'if #available' version check
await MainActor.run {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:34:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:67:21: error: setter for 'image' is only available in macOS 10.15 or newer
self.image = image
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:67:21: note: add 'if #available' version check
self.image = image
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:34:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:56:17: error: setter for 'opacity' is only available in macOS 10.15 or newer
opacity = 0.5
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:34:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:58:17: error: setter for 'opacity' is only available in macOS 10.15 or newer
opacity = 1
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:34:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:59:17: error: setter for 'position' is only available in macOS 10.15 or newer
position = 0
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:34:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:60:17: error: setter for 'dragOffset' is only available in macOS 10.15 or newer
dragOffset = 0
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:34:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:35:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
GeometryReader { geometry in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:35:9: note: add 'if #available' version check
GeometryReader { geometry in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:34:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:36:13: error: 'VStack' is only available in macOS 10.15 or newer
VStack {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:34:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:38:17: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:34:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:42:25: error: 'EmptyView' is only available in macOS 10.15 or newer
EmptyView()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:34:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:42:25: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
EmptyView()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:34:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:42:25: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
EmptyView()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:34:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:44:25: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
figmaImage(geometry: geometry)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:34:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:44:25: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
figmaImage(geometry: geometry)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:34:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:46:25: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
figmaImage(geometry: geometry)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:34:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:38:24: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:34:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:51:10: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: previewState) { previewState in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:34:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:56:17: error: setter for 'opacity' is only available in macOS 10.15 or newer
opacity = 0.5
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:34:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:58:17: error: setter for 'opacity' is only available in macOS 10.15 or newer
opacity = 1
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:34:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:59:17: error: setter for 'position' is only available in macOS 10.15 or newer
position = 0
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:34:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:60:17: error: setter for 'dragOffset' is only available in macOS 10.15 or newer
dragOffset = 0
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:34:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:63:10: error: 'task(priority:_:)' is only available in macOS 12.0 or newer
.task {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:63:10: note: add 'if #available' version check
.task {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:34:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:66:23: error: 'MainActor' is only available in macOS 10.15 or newer
await MainActor.run {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:66:23: note: add 'if #available' version check
await MainActor.run {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:34:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:66:33: error: 'run(resultType:body:)' is only available in macOS 10.15 or newer
await MainActor.run {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:66:33: note: add 'if #available' version check
await MainActor.run {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:34:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:67:21: error: setter for 'image' is only available in macOS 10.15 or newer
self.image = image
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:67:21: note: add 'if #available' version check
self.image = image
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:34:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:103:9: error: 'VStack' is only available in macOS 10.15 or newer
VStack {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:103:9: note: add 'if #available' version check
VStack {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:102:17: note: add @available attribute to enclosing property
private var settingsPanel: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:103:16: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
VStack {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:103:16: note: add 'if #available' version check
VStack {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:102:17: note: add @available attribute to enclosing property
private var settingsPanel: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:103:16: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
VStack {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:103:16: note: add 'if #available' version check
VStack {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:102:17: note: add @available attribute to enclosing property
private var settingsPanel: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:104:13: error: 'HStack' is only available in macOS 10.15 or newer
HStack {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:104:13: note: add 'if #available' version check
HStack {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:102:17: note: add @available attribute to enclosing property
private var settingsPanel: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:104:20: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
HStack {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:104:20: note: add 'if #available' version check
HStack {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:102:17: note: add @available attribute to enclosing property
private var settingsPanel: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:104:20: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
HStack {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:104:20: note: add 'if #available' version check
HStack {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:102:17: note: add @available attribute to enclosing property
private var settingsPanel: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:105:17: error: 'Picker' is only available in macOS 10.15 or newer
Picker("", selection: $previewState.animation()) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:105:17: note: add 'if #available' version check
Picker("", selection: $previewState.animation()) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:102:17: note: add @available attribute to enclosing property
private var settingsPanel: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:105:17: error: 'init(_:selection:content:)' is only available in macOS 10.15 or newer
Picker("", selection: $previewState.animation()) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:105:17: note: add 'if #available' version check
Picker("", selection: $previewState.animation()) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:102:17: note: add @available attribute to enclosing property
private var settingsPanel: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:105:24: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
Picker("", selection: $previewState.animation()) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:105:24: note: add 'if #available' version check
Picker("", selection: $previewState.animation()) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:102:17: note: add @available attribute to enclosing property
private var settingsPanel: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:105:53: error: 'animation' is only available in macOS 10.15 or newer
Picker("", selection: $previewState.animation()) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:105:53: note: add 'if #available' version check
Picker("", selection: $previewState.animation()) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:102:17: note: add @available attribute to enclosing property
private var settingsPanel: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:106:21: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ForEach(PreviewState.allCases, content: \.body)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:106:21: note: add 'if #available' version check
ForEach(PreviewState.allCases, content: \.body)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:102:17: note: add @available attribute to enclosing property
private var settingsPanel: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:106:21: error: 'ForEach' is only available in macOS 10.15 or newer
ForEach(PreviewState.allCases, content: \.body)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:106:21: note: add 'if #available' version check
ForEach(PreviewState.allCases, content: \.body)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:102:17: note: add @available attribute to enclosing property
private var settingsPanel: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:106:21: error: 'init(_:content:)' is only available in macOS 10.15 or newer
ForEach(PreviewState.allCases, content: \.body)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:106:21: note: add 'if #available' version check
ForEach(PreviewState.allCases, content: \.body)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:102:17: note: add @available attribute to enclosing property
private var settingsPanel: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:105:66: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
Picker("", selection: $previewState.animation()) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:105:66: note: add 'if #available' version check
Picker("", selection: $previewState.animation()) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:102:17: note: add @available attribute to enclosing property
private var settingsPanel: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:108:18: error: 'pickerStyle' is only available in macOS 10.15 or newer
.pickerStyle(.segmented)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:108:18: note: add 'if #available' version check
.pickerStyle(.segmented)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:102:17: note: add @available attribute to enclosing property
private var settingsPanel: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:108:31: error: 'segmented' is only available in macOS 10.15 or newer
.pickerStyle(.segmented)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:108:31: note: add 'if #available' version check
.pickerStyle(.segmented)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:102:17: note: add @available attribute to enclosing property
private var settingsPanel: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:111:17: error: 'Slider' is only available in macOS 10.15 or newer
Slider(value: $opacity.animation(), in: 0...1)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:111:17: note: add 'if #available' version check
Slider(value: $opacity.animation(), in: 0...1)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:102:17: note: add @available attribute to enclosing property
private var settingsPanel: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:111:17: error: 'init(value:in:onEditingChanged:)' is only available in macOS 10.15 or newer
Slider(value: $opacity.animation(), in: 0...1)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:111:17: note: add 'if #available' version check
Slider(value: $opacity.animation(), in: 0...1)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:102:17: note: add @available attribute to enclosing property
private var settingsPanel: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:111:40: error: 'animation' is only available in macOS 10.15 or newer
Slider(value: $opacity.animation(), in: 0...1)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:111:40: note: add 'if #available' version check
Slider(value: $opacity.animation(), in: 0...1)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:102:17: note: add @available attribute to enclosing property
private var settingsPanel: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:112:22: error: 'tint' is only available in macOS 12.0 or newer
.tint(.black)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:112:22: note: add 'if #available' version check
.tint(.black)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:102:17: note: add @available attribute to enclosing property
private var settingsPanel: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:112:28: error: 'black' is only available in macOS 10.15 or newer
.tint(.black)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:112:28: note: add 'if #available' version check
.tint(.black)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:102:17: note: add @available attribute to enclosing property
private var settingsPanel: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:110:40: error: 'buildIf' is only available in macOS 10.15 or newer
if previewState == .layers {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:110:40: note: add 'if #available' version check
if previewState == .layers {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:102:17: note: add @available attribute to enclosing property
private var settingsPanel: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:113:13: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:113:13: note: add 'if #available' version check
}
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:102:17: note: add @available attribute to enclosing property
private var settingsPanel: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:103:16: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
VStack {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:103:16: note: add 'if #available' version check
VStack {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:102:17: note: add @available attribute to enclosing property
private var settingsPanel: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:115:10: error: 'padding' is only available in macOS 10.15 or newer
.padding()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:115:10: note: add 'if #available' version check
.padding()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:102:17: note: add @available attribute to enclosing property
private var settingsPanel: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:119:9: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:119:9: note: add 'if #available' version check
ZStack {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:118:18: note: add @available attribute to enclosing instance method
private func figmaImage(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:119:9: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:119:9: note: add 'if #available' version check
ZStack {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:118:18: note: add @available attribute to enclosing instance method
private func figmaImage(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:122:22: error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
.resizable()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:122:22: note: add 'if #available' version check
.resizable()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:118:18: note: add @available attribute to enclosing instance method
private func figmaImage(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:123:22: error: 'scaledToFit()' is only available in macOS 10.15 or newer
.scaledToFit()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:123:22: note: add 'if #available' version check
.scaledToFit()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:118:18: note: add @available attribute to enclosing instance method
private func figmaImage(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:124:22: error: 'opacity' is only available in macOS 10.15 or newer
.opacity(opacity)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:124:22: note: add 'if #available' version check
.opacity(opacity)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:118:18: note: add @available attribute to enclosing instance method
private func figmaImage(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:127:30: error: 'mask(alignment:_:)' is only available in macOS 12.0 or newer
.mask(alignment: .leading) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:127:30: note: add 'if #available' version check
.mask(alignment: .leading) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:118:18: note: add @available attribute to enclosing instance method
private func figmaImage(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:127:47: error: 'leading' is only available in macOS 10.15 or newer
.mask(alignment: .leading) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:127:47: note: add 'if #available' version check
.mask(alignment: .leading) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:118:18: note: add @available attribute to enclosing instance method
private func figmaImage(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:128:33: error: 'Rectangle' is only available in macOS 10.15 or newer
Rectangle()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:128:33: note: add 'if #available' version check
Rectangle()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:118:18: note: add @available attribute to enclosing instance method
private func figmaImage(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:129:38: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
.frame(width: geometry.size.width / 2 + position + dragOffset)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:129:38: note: add 'if #available' version check
.frame(width: geometry.size.width / 2 + position + dragOffset)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:118:18: note: add @available attribute to enclosing instance method
private func figmaImage(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:132:45: error: 'buildIf' is only available in macOS 10.15 or newer
if previewState == .compare {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:132:45: note: add 'if #available' version check
if previewState == .compare {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:118:18: note: add @available attribute to enclosing instance method
private func figmaImage(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:134:17: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:134:17: note: add 'if #available' version check
}
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:118:18: note: add @available attribute to enclosing instance method
private func figmaImage(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:120:26: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if let image {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:120:26: note: add 'if #available' version check
if let image {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:118:18: note: add @available attribute to enclosing instance method
private func figmaImage(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:120:26: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
if let image {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:120:26: note: add 'if #available' version check
if let image {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:118:18: note: add @available attribute to enclosing instance method
private func figmaImage(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:136:17: error: 'ProgressView' is only available in macOS 11.0 or newer
ProgressView()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:136:17: note: add 'if #available' version check
ProgressView()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:118:18: note: add @available attribute to enclosing instance method
private func figmaImage(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:136:17: error: 'init()' is only available in macOS 11.0 or newer
ProgressView()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:136:17: note: add 'if #available' version check
ProgressView()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:118:18: note: add @available attribute to enclosing instance method
private func figmaImage(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:137:22: error: 'progressViewStyle' is only available in macOS 11.0 or newer
.progressViewStyle(.circular)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:137:22: note: add 'if #available' version check
.progressViewStyle(.circular)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:118:18: note: add @available attribute to enclosing instance method
private func figmaImage(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:137:41: error: 'circular' is only available in macOS 11.0 or newer
.progressViewStyle(.circular)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:137:41: note: add 'if #available' version check
.progressViewStyle(.circular)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:118:18: note: add @available attribute to enclosing instance method
private func figmaImage(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:135:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:135:20: note: add 'if #available' version check
} else {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:118:18: note: add @available attribute to enclosing instance method
private func figmaImage(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:119:16: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:119:16: note: add 'if #available' version check
ZStack {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:118:18: note: add @available attribute to enclosing instance method
private func figmaImage(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:143:9: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:143:9: note: add 'if #available' version check
ZStack {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:144:13: error: 'Image' is only available in macOS 10.15 or newer
Image(systemName: "arrow.left.and.right")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:144:13: note: add 'if #available' version check
Image(systemName: "arrow.left.and.right")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:144:13: error: 'init(systemName:)' is only available in macOS 11.0 or newer
Image(systemName: "arrow.left.and.right")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:144:13: note: add 'if #available' version check
Image(systemName: "arrow.left.and.right")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:145:18: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
.frame(width: 40, height: 40)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:145:18: note: add 'if #available' version check
.frame(width: 40, height: 40)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:146:18: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
.background(Color.white)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:146:18: note: add 'if #available' version check
.background(Color.white)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:146:29: error: 'Color' is only available in macOS 10.15 or newer
.background(Color.white)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:146:29: note: add 'if #available' version check
.background(Color.white)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:146:35: error: 'white' is only available in macOS 10.15 or newer
.background(Color.white)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:146:35: note: add 'if #available' version check
.background(Color.white)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:147:18: error: 'opacity' is only available in macOS 10.15 or newer
.opacity(0.4)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:147:18: note: add 'if #available' version check
.opacity(0.4)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:148:18: error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
.cornerRadius(20)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:148:18: note: add 'if #available' version check
.cornerRadius(20)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:150:10: error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
.fixedSize(horizontal: true, vertical: true)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:150:10: note: add 'if #available' version check
.fixedSize(horizontal: true, vertical: true)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:151:10: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
.offset(x: position + dragOffset)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:151:10: note: add 'if #available' version check
.offset(x: position + dragOffset)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:152:10: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
.gesture(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:152:10: note: add 'if #available' version check
.gesture(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:153:13: error: 'DragGesture' is only available in macOS 10.15 or newer
DragGesture()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:153:13: note: add 'if #available' version check
DragGesture()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:153:13: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
DragGesture()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:153:13: note: add 'if #available' version check
DragGesture()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:154:18: error: 'onChanged' is only available in macOS 10.15 or newer
.onChanged { gesture in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:154:18: note: add 'if #available' version check
.onChanged { gesture in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:155:21: error: setter for 'dragOffset' is only available in macOS 10.15 or newer
dragOffset = gesture.translation.width
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:155:21: note: add 'if #available' version check
dragOffset = gesture.translation.width
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:157:18: error: 'onEnded' is only available in macOS 10.15 or newer
.onEnded { gesture in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:157:18: note: add 'if #available' version check
.onEnded { gesture in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:158:21: error: cannot pass as inout because setter for 'position' is only available in macOS 10.15 or newer
position += gesture.translation.width
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:158:21: note: add 'if #available' version check
position += gesture.translation.width
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:159:21: error: setter for 'dragOffset' is only available in macOS 10.15 or newer
dragOffset = 0
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:159:21: note: add 'if #available' version check
dragOffset = 0
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:142:18: note: add @available attribute to enclosing instance method
private func slideView(geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:168:43: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
let (data, _) = try await session.data(for: request)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:168:43: note: add 'if #available' version check
let (data, _) = try await session.data(for: request)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:164:18: note: add @available attribute to enclosing instance method
private func image(for fileID: String, componentID: String) async throws -> Image {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:174:48: error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
let (imageData, _) = try await session.data(from: imageURL)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:174:48: note: add 'if #available' version check
let (imageData, _) = try await session.data(from: imageURL)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:164:18: note: add @available attribute to enclosing instance method
private func image(for fileID: String, componentID: String) async throws -> Image {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:7:8: note: add @available attribute to enclosing struct
struct FigmaViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:175:27: error: cannot find 'UIImage' in scope
guard let image = UIImage(data: imageData) else {
^~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:178:16: error: no exact matches in call to initializer
return Image(uiImage: image)
^
SwiftUI.Image:3:12: note: incorrect labels for candidate (have: '(uiImage:)', expected: '(_:)')
public init(_ name: String, bundle: Bundle? = nil)
^
SwiftUI.Image:3:12: note: incorrect labels for candidate (have: '(uiImage:)', expected: '(_:)')
public init(_ resource: ImageResource)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:189:13: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer
Image(systemName: "eye.slash")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:189:13: note: add 'if #available' version check
Image(systemName: "eye.slash")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:189:13: error: 'Image' is only available in macOS 10.15 or newer
Image(systemName: "eye.slash")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:189:13: note: add 'if #available' version check
Image(systemName: "eye.slash")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:189:13: error: 'init(systemName:)' is only available in macOS 11.0 or newer
Image(systemName: "eye.slash")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:189:13: note: add 'if #available' version check
Image(systemName: "eye.slash")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:189:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
Image(systemName: "eye.slash")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:189:13: note: add 'if #available' version check
Image(systemName: "eye.slash")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:189:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
Image(systemName: "eye.slash")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:189:13: note: add 'if #available' version check
Image(systemName: "eye.slash")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:189:13: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer
Image(systemName: "eye.slash")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:189:13: note: add 'if #available' version check
Image(systemName: "eye.slash")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:191:13: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer
Image(systemName: "square.3.layers.3d.down.right")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:191:13: note: add 'if #available' version check
Image(systemName: "square.3.layers.3d.down.right")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:191:13: error: 'Image' is only available in macOS 10.15 or newer
Image(systemName: "square.3.layers.3d.down.right")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:191:13: note: add 'if #available' version check
Image(systemName: "square.3.layers.3d.down.right")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:191:13: error: 'init(systemName:)' is only available in macOS 11.0 or newer
Image(systemName: "square.3.layers.3d.down.right")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:191:13: note: add 'if #available' version check
Image(systemName: "square.3.layers.3d.down.right")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:191:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
Image(systemName: "square.3.layers.3d.down.right")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:191:13: note: add 'if #available' version check
Image(systemName: "square.3.layers.3d.down.right")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:191:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
Image(systemName: "square.3.layers.3d.down.right")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:191:13: note: add 'if #available' version check
Image(systemName: "square.3.layers.3d.down.right")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:191:13: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer
Image(systemName: "square.3.layers.3d.down.right")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:191:13: note: add 'if #available' version check
Image(systemName: "square.3.layers.3d.down.right")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:193:13: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer
Image(systemName: "slider.horizontal.below.square.and.square.filled")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:193:13: note: add 'if #available' version check
Image(systemName: "slider.horizontal.below.square.and.square.filled")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:193:13: error: 'Image' is only available in macOS 10.15 or newer
Image(systemName: "slider.horizontal.below.square.and.square.filled")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:193:13: note: add 'if #available' version check
Image(systemName: "slider.horizontal.below.square.and.square.filled")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:193:13: error: 'init(systemName:)' is only available in macOS 11.0 or newer
Image(systemName: "slider.horizontal.below.square.and.square.filled")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:193:13: note: add 'if #available' version check
Image(systemName: "slider.horizontal.below.square.and.square.filled")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:193:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
Image(systemName: "slider.horizontal.below.square.and.square.filled")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:193:13: note: add 'if #available' version check
Image(systemName: "slider.horizontal.below.square.and.square.filled")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:193:13: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer
Image(systemName: "slider.horizontal.below.square.and.square.filled")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:193:13: note: add 'if #available' version check
Image(systemName: "slider.horizontal.below.square.and.square.filled")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:32: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:32: note: add 'if #available' version check
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:186:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:182:1: note: add @available attribute to enclosing extension
extension PreviewState: View, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:208:22: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if condition {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:208:22: note: add 'if #available' version check
if condition {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:207:10: note: add @available attribute to enclosing instance method
func `if`<T>(_ condition: Bool, transform: (Self) -> T) -> some View where T : View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:204:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:211:14: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
else {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:211:14: note: add 'if #available' version check
else {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:207:10: note: add @available attribute to enclosing instance method
func `if`<T>(_ condition: Bool, transform: (Self) -> T) -> some View where T : View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:204:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:207:89: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
func `if`<T>(_ condition: Bool, transform: (Self) -> T) -> some View where T : View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:207:89: note: add 'if #available' version check
func `if`<T>(_ condition: Bool, transform: (Self) -> T) -> some View where T : View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:207:10: note: add @available attribute to enclosing instance method
func `if`<T>(_ condition: Bool, transform: (Self) -> T) -> some View where T : View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/FigmaModifier.swift:204:9: note: add @available attribute to enclosing extension
private extension View {
^
[4/4] Compiling FigmaPreview EnvironmentValues+FigmaAccessToken.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/EnvironmentValues+FigmaAccessToken.swift:7:18: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
public extension EnvironmentValues {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/FigmaPreview/EnvironmentValues+FigmaAccessToken.swift:7:8: note: add @available attribute to enclosing extension
public extension EnvironmentValues {
^
error: fatalError
BUILD FAILURE 5.9 macosSpm