Build Information
Failed to build CountryPicker 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
========================================
RunAll
========================================
Builder version: 4.38.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/suryakantsharma/countrypicker.git
Reference: 4.0.0
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/suryakantsharma/countrypicker
* tag 4.0.0 -> FETCH_HEAD
HEAD is now at 416404c bump version to 4.0.0
Cloned https://github.com/suryakantsharma/countrypicker.git
Revision (git rev-parse @):
416404cce633a2039846ae2cb6951fd93cf7d588
SUCCESS checkout https://github.com/suryakantsharma/countrypicker.git at 4.0.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $workDir
https://github.com/suryakantsharma/countrypicker.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/1] Copying CountryPickerController.bundle
[2/12] Compiling CountryPicker CountryPickerWithSectionViewModel.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[3/12] Compiling CountryPicker CountryPickerWheelViewModel.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[4/13] Compiling CountryPicker resource_bundle_accessor.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[5/13] Compiling CountryPicker SectionMapper.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[6/13] Compiling CountryPicker CountryPickerView.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[7/13] Compiling CountryPicker CountryPickerWheelView.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
import UIKit
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/13] Emitting module CountryPicker
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[9/13] Compiling CountryPicker Country.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[10/13] Compiling CountryPicker CountryManager.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[11/13] Compiling CountryPicker Configuration.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[12/13] Compiling CountryPicker Constant.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[13/13] Compiling CountryPicker CountryPickerWithSections.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
BUILD FAILURE 5.9 macosSpm