Build Information
Failed to build ContextualRotation, reference main (ae1034), with Swift 6.2 for macOS (SPM) on 28 Jun 2026 07:20:14 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CostinDragos/ContextualRotation.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CostinDragos/ContextualRotation
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ae10344 Enfored inline commas to fix trailing comma issues on Swift 6.0
Cloned https://github.com/CostinDragos/ContextualRotation.git
Revision (git rev-parse @):
ae1034498235c5ef36e16d27d9eda0b3651943d5
SUCCESS checkout https://github.com/CostinDragos/ContextualRotation.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/CostinDragos/ContextualRotation.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--3CB7CFEC50E0D141.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module ContextualRotation
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:2:8: error: no such module 'UIKit'
1 | import CoreMotion
2 | import UIKit
| `- error: no such module 'UIKit'
3 |
4 | /// A native manager that tracks physical hardware rotation and provides an Android-Style
[4/4] Compiling ContextualRotation ContextualRotation.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:2:8: error: no such module 'UIKit'
1 | import CoreMotion
2 | import UIKit
| `- error: no such module 'UIKit'
3 |
4 | /// A native manager that tracks physical hardware rotation and provides an Android-Style
BUILD FAILURE 6.2 macosSpm