Build Information
Failed to build ToastSwiftUI 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.25.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/huynguyencong/ToastSwiftUI.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/huynguyencong/ToastSwiftUI
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 7fb1cb8 Update Podspec
Cloned https://github.com/huynguyencong/ToastSwiftUI.git
Revision (git rev-parse @):
7fb1cb8f79cdea539b9d4037bc6b39f1144b114d
SUCCESS checkout https://github.com/huynguyencong/ToastSwiftUI.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.8
Building package at path: $PWD/checkout
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/4] Emitting module ToastSwiftUI
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/ToastSwiftUI/Classes/ActivityIndicator.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[2/4] Compiling ToastSwiftUI ActivityIndicator.swift
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/ToastSwiftUI/Classes/ActivityIndicator.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[3/4] Compiling ToastSwiftUI ToastContainerView.swift
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/ToastSwiftUI/Classes/ActivityIndicator.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[4/4] Compiling ToastSwiftUI ToastView.swift
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/ToastSwiftUI/Classes/ActivityIndicator.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[5/5] Compiling ToastSwiftUI View+Utils.swift
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/ToastSwiftUI/Classes/ActivityIndicator.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/4] Emitting module ToastSwiftUI
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/ToastSwiftUI/Classes/ActivityIndicator.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[2/4] Compiling ToastSwiftUI ActivityIndicator.swift
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/ToastSwiftUI/Classes/ActivityIndicator.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[3/4] Compiling ToastSwiftUI ToastView.swift
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/ToastSwiftUI/Classes/ActivityIndicator.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[4/4] Compiling ToastSwiftUI ToastContainerView.swift
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/ToastSwiftUI/Classes/ActivityIndicator.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[5/5] Compiling ToastSwiftUI View+Utils.swift
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/ToastSwiftUI/Classes/ActivityIndicator.swift:10:8: error: no such module 'UIKit'
import UIKit
^
BUILD FAILURE 5.8 macosSpm