Build Information
Failed to build FlagAndCountryCode, reference main (35afce
), with Swift 5.8 for macOS (SPM) on 11 Jul 2024 05:55:23 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.46.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/exyte/FlagAndCountryCode.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/exyte/FlagAndCountryCode
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 35afce6 Update README.md
Cloned https://github.com/exyte/FlagAndCountryCode.git
Revision (git rev-parse @):
35afce66152d528dab3c3d49bfbff51355a5366f
SUCCESS checkout https://github.com/exyte/FlagAndCountryCode.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.8
Building package at path: $workDir
https://github.com/exyte/FlagAndCountryCode.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Copying country-codes.json
[1/2] Copying CountryFlags.xcassets
[3/9] Compiling FlagAndCountryCode CountryFlagsParser.swift
[4/9] Compiling FlagAndCountryCode resource_bundle_accessor.swift
[5/9] Compiling FlagAndCountryCode ImageRenderer.swift
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:50: error: 'View' is only available in macOS 10.15 or newer
func applyFlagType(_ type: FlagType) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
func applyFlagType(_ type: FlagType) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:55:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
func applyFlagType(_ type: FlagType) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:20: error: 'Image' is only available in macOS 10.15 or newer
internal extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:60:18: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
.frame(width: type.size.width, height: type.size.height)
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:60:18: note: add 'if #available' version check
.frame(width: type.size.width, height: type.size.height)
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
func applyFlagType(_ type: FlagType) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:61:18: error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
.clipShape(Circle())
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:61:18: note: add 'if #available' version check
.clipShape(Circle())
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
func applyFlagType(_ type: FlagType) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:61:28: error: 'Circle' is only available in macOS 10.15 or newer
.clipShape(Circle())
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:61:28: note: add 'if #available' version check
.clipShape(Circle())
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
func applyFlagType(_ type: FlagType) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:59:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
self
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:59:13: note: add 'if #available' version check
self
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
func applyFlagType(_ type: FlagType) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:59:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
self
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:59:13: note: add 'if #available' version check
self
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
func applyFlagType(_ type: FlagType) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:64:18: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
.frame(width: type.size.width, height: type.size.height)
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:64:18: note: add 'if #available' version check
.frame(width: type.size.width, height: type.size.height)
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
func applyFlagType(_ type: FlagType) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:65:18: error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
.clipShape(Rectangle())
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:65:18: note: add 'if #available' version check
.clipShape(Rectangle())
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
func applyFlagType(_ type: FlagType) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:65:28: error: 'Rectangle' is only available in macOS 10.15 or newer
.clipShape(Rectangle())
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:65:28: note: add 'if #available' version check
.clipShape(Rectangle())
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
func applyFlagType(_ type: FlagType) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:63:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
self
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:63:13: note: add 'if #available' version check
self
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
func applyFlagType(_ type: FlagType) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:63:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
self
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:63:13: note: add 'if #available' version check
self
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
func applyFlagType(_ type: FlagType) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:68:18: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
.frame(width: type.size.width, height: type.size.height)
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:68:18: note: add 'if #available' version check
.frame(width: type.size.width, height: type.size.height)
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
func applyFlagType(_ type: FlagType) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:69:18: error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
.clipShape(RoundedRectangle(cornerRadius: 2))
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:69:18: note: add 'if #available' version check
.clipShape(RoundedRectangle(cornerRadius: 2))
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
func applyFlagType(_ type: FlagType) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:69:28: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
.clipShape(RoundedRectangle(cornerRadius: 2))
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:69:28: note: add 'if #available' version check
.clipShape(RoundedRectangle(cornerRadius: 2))
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
func applyFlagType(_ type: FlagType) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:67:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
self
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:67:13: note: add 'if #available' version check
self
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
func applyFlagType(_ type: FlagType) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:55: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
func applyFlagType(_ type: FlagType) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:55: note: add 'if #available' version check
func applyFlagType(_ type: FlagType) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
func applyFlagType(_ type: FlagType) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/9] Compiling FlagAndCountryCode BundleToken.swift
[7/9] Compiling FlagAndCountryCode FlagType.swift
[8/9] Emitting module FlagAndCountryCode
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/CountryFlagInfo.swift:17:77: error: 'View' is only available in macOS 10.15 or newer
public func getCountryImage(with type: FlagType = .roundedRect) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/CountryFlagInfo.swift:17:17: note: add @available attribute to enclosing instance method
public func getCountryImage(with type: FlagType = .roundedRect) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/CountryFlagInfo.swift:13:1: note: add @available attribute to enclosing extension
extension CountryFlagInfo {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:50: error: 'View' is only available in macOS 10.15 or newer
func applyFlagType(_ type: FlagType) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
func applyFlagType(_ type: FlagType) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:55:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:56:10: note: add @available attribute to enclosing instance method
func applyFlagType(_ type: FlagType) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:20: error: 'Image' is only available in macOS 10.15 or newer
internal extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/Helpers/ImageRenderer.swift:54:10: note: add @available attribute to enclosing extension
internal extension Image {
^
[9/9] Compiling FlagAndCountryCode CountryFlagInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/CountryFlagInfo.swift:17:77: error: 'View' is only available in macOS 10.15 or newer
public func getCountryImage(with type: FlagType = .roundedRect) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/CountryFlagInfo.swift:17:17: note: add @available attribute to enclosing instance method
public func getCountryImage(with type: FlagType = .roundedRect) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/CountryFlagInfo.swift:13:1: note: add @available attribute to enclosing extension
extension CountryFlagInfo {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/CountryFlagInfo.swift:18:21: error: 'Image' is only available in macOS 10.15 or newer
let image = Image(code, bundle: Bundle.current)
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/CountryFlagInfo.swift:18:21: note: add 'if #available' version check
let image = Image(code, bundle: Bundle.current)
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/CountryFlagInfo.swift:17:17: note: add @available attribute to enclosing instance method
public func getCountryImage(with type: FlagType = .roundedRect) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/CountryFlagInfo.swift:13:1: note: add @available attribute to enclosing extension
extension CountryFlagInfo {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/CountryFlagInfo.swift:18:21: error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
let image = Image(code, bundle: Bundle.current)
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/CountryFlagInfo.swift:18:21: note: add 'if #available' version check
let image = Image(code, bundle: Bundle.current)
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/CountryFlagInfo.swift:17:17: note: add @available attribute to enclosing instance method
public func getCountryImage(with type: FlagType = .roundedRect) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/FlagAndCountryCode/CountryFlagInfo.swift:13:1: note: add @available attribute to enclosing extension
extension CountryFlagInfo {
^
BUILD FAILURE 5.8 macosSpm