Build Information
Failed to build CountryPicker with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.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/3/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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "countrypicker",
"name": "CountryPicker",
"url": "https://github.com/suryakantsharma/countrypicker.git",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/countrypicker",
"dependencies": [
]
}
]
}
Fetching https://github.com/suryakantsharma/countrypicker.git
[1/5266] Fetching countrypicker
Fetched https://github.com/suryakantsharma/countrypicker.git from cache (16.18s)
Creating working copy for https://github.com/suryakantsharma/countrypicker.git
Working copy of https://github.com/suryakantsharma/countrypicker.git resolved at 4.0.0 (416404c)
warning: '.resolve-product-dependencies': dependency 'countrypicker' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/suryakantsharma/countrypicker.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Copying CountryPickerController.bundle
[2/3] Write swift-version-6044DDE57671499D.txt
[4/14] Compiling CountryPicker CountryPickerWithSectionViewModel.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[5/15] Compiling CountryPicker resource_bundle_accessor.swift
/Users/builder/builds/TDmZkXJm/3/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)
[6/15] Emitting module CountryPicker
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[7/15] Compiling CountryPicker SectionMapper.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[8/15] Compiling CountryPicker CountryPickerWithSections.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[9/15] Compiling CountryPicker CountryPickerWheelViewModel.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[10/15] Compiling CountryPicker Configuration.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[11/15] Compiling CountryPicker Constant.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[12/15] Compiling CountryPicker CountryPickerView.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[13/15] Compiling CountryPicker CountryPickerWheelView.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[14/15] Compiling CountryPicker Country.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[15/15] Compiling CountryPicker CountryManager.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
BUILD FAILURE 5.10 macosSpm