Build Information
Failed to build NetworkConnection, reference 1.0.5 (ed299c
), with Swift 5.10 for macOS (SPM) on 3 Sep 2024 10:16:33 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.52.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Melsaeed276/NetworkConnectionManager.git
Reference: 1.0.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Melsaeed276/NetworkConnectionManager
* tag 1.0.5 -> FETCH_HEAD
HEAD is now at ed299ca bugfix
Cloned https://github.com/Melsaeed276/NetworkConnectionManager.git
Revision (git rev-parse @):
ed299cac162f9e934502b9d9fa7ca463b2041020
SUCCESS checkout https://github.com/Melsaeed276/NetworkConnectionManager.git at 1.0.5
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "networkconnectionmanager",
"name": "NetworkConnection",
"url": "https://github.com/Melsaeed276/NetworkConnectionManager.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/NetworkConnectionManager",
"dependencies": [
]
}
]
}
Fetching https://github.com/Melsaeed276/NetworkConnectionManager.git
[1/91] Fetching networkconnectionmanager
Fetched https://github.com/Melsaeed276/NetworkConnectionManager.git from cache (1.12s)
Creating working copy for https://github.com/Melsaeed276/NetworkConnectionManager.git
Working copy of https://github.com/Melsaeed276/NetworkConnectionManager.git resolved at 1.0.5 (ed299ca)
warning: '.resolve-product-dependencies': dependency 'networkconnectionmanager' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/Melsaeed276/NetworkConnectionManager.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
[3/10] Compiling NetworkConnection InternetAlert.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkConnection/NetworkConnection.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[4/10] Compiling NetworkConnection NetworkConnection.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkConnection/NetworkConnection.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[5/10] Compiling NetworkConnection SwiftUIExt.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkConnection/NetworkConnection.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[6/10] Compiling NetworkConnection NetworkStatusController.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkConnection/NetworkConnection.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[7/10] Compiling NetworkConnection StringExt.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkConnection/NetworkConnection.swift:9:8: error: no such module 'UIKit'
import UIKit
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/10] Emitting module NetworkConnection
/Users/admin/builder/spi-builder-workspace/Sources/NetworkConnection/NetworkConnection.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[9/10] Compiling NetworkConnection FontExt.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkConnection/NetworkConnection.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[10/10] Compiling NetworkConnection UIKitExt.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkConnection/NetworkConnection.swift:9:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/NetworkConnection/Resources/Localizable.xcstrings
BUILD FAILURE 5.10 macosSpm