The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build CountryPickerAKS, reference main (509d46), with Swift 5.9 for macOS (SPM) on 18 Feb 2025 22:46:47 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aksamitsah/CountryPickerAKS.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/aksamitsah/CountryPickerAKS
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 509d466 Update README.md
Cloned https://github.com/aksamitsah/CountryPickerAKS.git
Revision (git rev-parse @):
509d466232261f76d9d3d6424e449d7f3b560f98
SUCCESS checkout https://github.com/aksamitsah/CountryPickerAKS.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/aksamitsah/CountryPickerAKS.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Copying Storyboard.storyboard
[1/2] Copying Assets.xcassets
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/11] Emitting module CountryPickerAKS
/Users/admin/builder/spi-builder-workspace/Sources/CountryPickerAKS/CountryListVC.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[4/11] Compiling CountryPickerAKS Bundle.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPickerAKS/CountryListVC.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[5/11] Compiling CountryPickerAKS CountryListVC.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPickerAKS/CountryListVC.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[6/11] Compiling CountryPickerAKS CountryData.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPickerAKS/CountryListVC.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[7/11] Compiling CountryPickerAKS resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPickerAKS/CountryListVC.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[8/11] Compiling CountryPickerAKS CountryPickerCell.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPickerAKS/CountryListVC.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[9/11] Compiling CountryPickerAKS Models.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPickerAKS/CountryListVC.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[10/11] Compiling CountryPickerAKS Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPickerAKS/CountryListVC.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[11/11] Compiling CountryPickerAKS CountryManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPickerAKS/CountryListVC.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.9 macosSpm