This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SwiftUIMapView 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/sgade/swiftui-mapview.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sgade/swiftui-mapview
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 13c6312 Refactoring
Cloned https://github.com/sgade/swiftui-mapview.git
Revision (git rev-parse @):
13c6312c31a7b3088bcd747ed75c298c231983c9
SUCCESS checkout https://github.com/sgade/swiftui-mapview.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/sgade/swiftui-mapview.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/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/10] Emitting module SwiftUIMapView
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMapView/MapView.swift:12:8: error: no such module 'UIKit'
 10 | import MapKit
 11 | import Combine
 12 | import UIKit
    |        `- error: no such module 'UIKit'
 13 |
 14 | /**
[4/10] Compiling SwiftUIMapView MapAnnotationClusterView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMapView/MapView.swift:12:8: error: no such module 'UIKit'
 10 | import MapKit
 11 | import Combine
 12 | import UIKit
    |        `- error: no such module 'UIKit'
 13 |
 14 | /**
[5/10] Compiling SwiftUIMapView MapView+Xcode.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMapView/MapView.swift:12:8: error: no such module 'UIKit'
 10 | import MapKit
 11 | import Combine
 12 | import UIKit
    |        `- error: no such module 'UIKit'
 13 |
 14 | /**
[6/10] Compiling SwiftUIMapView MKMapView+MapViewAnnotation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMapView/MapView.swift:12:8: error: no such module 'UIKit'
 10 | import MapKit
 11 | import Combine
 12 | import UIKit
    |        `- error: no such module 'UIKit'
 13 |
 14 | /**
[7/10] Compiling SwiftUIMapView MapAnnotation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMapView/MapView.swift:12:8: error: no such module 'UIKit'
 10 | import MapKit
 11 | import Combine
 12 | import UIKit
    |        `- error: no such module 'UIKit'
 13 |
 14 | /**
[8/10] Compiling SwiftUIMapView MapView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMapView/MapView.swift:12:8: error: no such module 'UIKit'
 10 | import MapKit
 11 | import Combine
 12 | import UIKit
    |        `- error: no such module 'UIKit'
 13 |
 14 | /**
[9/10] Compiling SwiftUIMapView CoreLocation+Equatable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMapView/MapView.swift:12:8: error: no such module 'UIKit'
 10 | import MapKit
 11 | import Combine
 12 | import UIKit
    |        `- error: no such module 'UIKit'
 13 |
 14 | /**
[10/10] Compiling SwiftUIMapView MapAnnotationView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMapView/MapView.swift:12:8: error: no such module 'UIKit'
 10 | import MapKit
 11 | import Combine
 12 | import UIKit
    |        `- error: no such module 'UIKit'
 13 |
 14 | /**
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.