Build Information
Failed to build SFSymbolsPicker with Swift 5.8 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.42.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alessiorubicini/SFSymbolsPickerForSwiftUI.git
Reference: 1.0.6
Initialized empty Git repository in /Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/alessiorubicini/SFSymbolsPickerForSwiftUI
* tag 1.0.6 -> FETCH_HEAD
HEAD is now at 73c909b Version 1.0.6
Cloned https://github.com/alessiorubicini/SFSymbolsPickerForSwiftUI.git
Revision (git rev-parse @):
73c909b8a7fc77a30dd04208e33f759f8b52c4c8
SUCCESS checkout https://github.com/alessiorubicini/SFSymbolsPickerForSwiftUI.git at 1.0.6
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.8
Building package at path: $workDir
https://github.com/alessiorubicini/SFSymbolsPickerForSwiftUI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/7] Emitting module SFSymbolsPicker
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SFSymbolsPicker/SearchBar.swift:62:1: error: use of unknown directive '#Preview'
#Preview {
^
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SFSymbolsPicker/SymbolIcon.swift:30:1: error: use of unknown directive '#Preview'
#Preview {
^
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SFSymbolsPicker/SymbolsPicker.swift:95:1: error: use of unknown directive '#Preview'
#Preview {
^
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SFSymbolsPicker/UsageExample.swift:9:8: warning: file 'UsageExample.swift' is part of module 'SFSymbolsPicker'; ignoring import
import SFSymbolsPicker
^
[2/7] Compiling SFSymbolsPicker SymbolsPicker.swift
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SFSymbolsPicker/SearchBar.swift:62:1: error: use of unknown directive '#Preview'
#Preview {
^
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SFSymbolsPicker/SymbolIcon.swift:30:1: error: use of unknown directive '#Preview'
#Preview {
^
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SFSymbolsPicker/SymbolsPicker.swift:95:1: error: use of unknown directive '#Preview'
#Preview {
^
[3/7] Compiling SFSymbolsPicker SymbolIcon.swift
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SFSymbolsPicker/SearchBar.swift:62:1: error: use of unknown directive '#Preview'
#Preview {
^
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SFSymbolsPicker/SymbolIcon.swift:30:1: error: use of unknown directive '#Preview'
#Preview {
^
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SFSymbolsPicker/SymbolsPicker.swift:95:1: error: use of unknown directive '#Preview'
#Preview {
^
[4/7] Compiling SFSymbolsPicker SearchBar.swift
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SFSymbolsPicker/SearchBar.swift:62:1: error: use of unknown directive '#Preview'
#Preview {
^
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SFSymbolsPicker/SymbolIcon.swift:30:1: error: use of unknown directive '#Preview'
#Preview {
^
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SFSymbolsPicker/SymbolsPicker.swift:95:1: error: use of unknown directive '#Preview'
#Preview {
^
[5/7] Compiling SFSymbolsPicker UsageExample.swift
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SFSymbolsPicker/SearchBar.swift:62:1: error: use of unknown directive '#Preview'
#Preview {
^
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SFSymbolsPicker/SymbolIcon.swift:30:1: error: use of unknown directive '#Preview'
#Preview {
^
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SFSymbolsPicker/SymbolsPicker.swift:95:1: error: use of unknown directive '#Preview'
#Preview {
^
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SFSymbolsPicker/UsageExample.swift:9:8: warning: file 'UsageExample.swift' is part of module 'SFSymbolsPicker'; ignoring import
import SFSymbolsPicker
^
[6/7] Compiling SFSymbolsPicker SymbolsPickerVM.swift
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SFSymbolsPicker/SearchBar.swift:62:1: error: use of unknown directive '#Preview'
#Preview {
^
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SFSymbolsPicker/SymbolIcon.swift:30:1: error: use of unknown directive '#Preview'
#Preview {
^
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SFSymbolsPicker/SymbolsPicker.swift:95:1: error: use of unknown directive '#Preview'
#Preview {
^
[7/7] Compiling SFSymbolsPicker SymbolLoader.swift
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SFSymbolsPicker/SearchBar.swift:62:1: error: use of unknown directive '#Preview'
#Preview {
^
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SFSymbolsPicker/SymbolIcon.swift:30:1: error: use of unknown directive '#Preview'
#Preview {
^
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SFSymbolsPicker/SymbolsPicker.swift:95:1: error: use of unknown directive '#Preview'
#Preview {
^
BUILD FAILURE 5.8 macosSpm