Build Information
Failed to build CountryPicker with Swift 6.0 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/suryakantsharma/countrypicker.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/suryakantsharma/countrypicker
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 78c20e6 update read me
Cloned https://github.com/suryakantsharma/countrypicker.git
Revision (git rev-parse @):
78c20e6dd18b58a2878389fe24a18e600a3c0641
SUCCESS checkout https://github.com/suryakantsharma/countrypicker.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/suryakantsharma/countrypicker.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[1/3] Copying CountryPickerController.bundle
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/14] Compiling CountryPicker CountryPickerWithSectionViewModel.swift
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
8 |
9 | import Foundation
10 | import UIKit
| `- error: no such module 'UIKit'
11 |
12 | open class Country: Identifiable {
[5/14] Compiling CountryPicker CountryPickerWheelViewModel.swift
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
8 |
9 | import Foundation
10 | import UIKit
| `- error: no such module 'UIKit'
11 |
12 | open class Country: Identifiable {
[6/14] Compiling CountryPicker CountryPickerWithSections.swift
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
8 |
9 | import Foundation
10 | import UIKit
| `- error: no such module 'UIKit'
11 |
12 | open class Country: Identifiable {
[7/14] Compiling CountryPicker SectionMapper.swift
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
8 |
9 | import Foundation
10 | import UIKit
| `- error: no such module 'UIKit'
11 |
12 | open class Country: Identifiable {
[8/14] Compiling CountryPicker CountryPickerWheelView.swift
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
8 |
9 | import Foundation
10 | import UIKit
| `- error: no such module 'UIKit'
11 |
12 | open class Country: Identifiable {
[9/14] Compiling CountryPicker Country.swift
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
8 |
9 | import Foundation
10 | import UIKit
| `- error: no such module 'UIKit'
11 |
12 | open class Country: Identifiable {
[10/14] Compiling CountryPicker CountryPickerView.swift
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
8 |
9 | import Foundation
10 | import UIKit
| `- error: no such module 'UIKit'
11 |
12 | open class Country: Identifiable {
[11/15] Compiling CountryPicker resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
8 |
9 | import Foundation
10 | import UIKit
| `- error: no such module 'UIKit'
11 |
12 | open class Country: Identifiable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/15] Emitting module CountryPicker
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
8 |
9 | import Foundation
10 | import UIKit
| `- error: no such module 'UIKit'
11 |
12 | open class Country: Identifiable {
[13/15] Compiling CountryPicker CountryManager.swift
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
8 |
9 | import Foundation
10 | import UIKit
| `- error: no such module 'UIKit'
11 |
12 | open class Country: Identifiable {
[14/15] Compiling CountryPicker Configuration.swift
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
8 |
9 | import Foundation
10 | import UIKit
| `- error: no such module 'UIKit'
11 |
12 | open class Country: Identifiable {
[15/15] Compiling CountryPicker Constant.swift
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
8 |
9 | import Foundation
10 | import UIKit
| `- error: no such module 'UIKit'
11 |
12 | open class Country: Identifiable {
BUILD FAILURE 6.0 macosSpm