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 AppCenter, reference develop (307caa), with Swift 5.9 for macOS (SPM) on 28 Jan 2025 16:59:16 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/microsoft/appcenter-sdk-apple.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/microsoft/appcenter-sdk-apple
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 307caac Merge pull request #2562 from microsoft/next-version-5.0.7
Submodule path 'Vendor/OCHamcrest': checked out '5f77cf33732dfa02e0b9f15e43d05a9110cc2ff0'
Submodule path 'Vendor/OCMock': checked out 'a8e58d45b47f0a8aca04dcba4980b7ee6ffc06dc'
Submodule path 'Vendor/OHHTTPStubs': checked out 'e92b5a5746ef16add2a1424f1fc19529d9a75cde'
Submodule path 'Vendor/PLCrashReporter': checked out '52d876d704750b0e17758d1a213a94ada5becc80'
Submodule 'Vendor/OCHamcrest' (https://github.com/hamcrest/OCHamcrest.git) registered for path 'Vendor/OCHamcrest'
Submodule 'Vendor/OCMock' (https://github.com/erikdoe/ocmock.git) registered for path 'Vendor/OCMock'
Submodule 'Vendor/OHHTTPStubs' (https://github.com/AliSoftware/OHHTTPStubs.git) registered for path 'Vendor/OHHTTPStubs'
Submodule 'Vendor/PLCrashReporter' (https://github.com/microsoft/plcrashreporter) registered for path 'Vendor/PLCrashReporter'
Cloning into '/Users/admin/builder/spi-builder-workspace/Vendor/OCHamcrest'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Vendor/OCMock'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Vendor/OHHTTPStubs'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Vendor/PLCrashReporter'...
Cloned https://github.com/microsoft/appcenter-sdk-apple.git
Revision (git rev-parse @):
307caacd16cd010ea3c8fca851584ba4815af667
SUCCESS checkout https://github.com/microsoft/appcenter-sdk-apple.git at develop
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/microsoft/appcenter-sdk-apple.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/136] Copying AppCenterDistribute.strings
[13/136] Copying Info.plist
[15/136] Compiling MSACWrapperExceptionModel.m
[16/136] Compiling MSACSessionHistoryInfo.m
[17/136] Compiling MSACWrapperCrashesHelper.m
[18/136] Compiling MSACCSData.m
[19/136] Compiling MSACErrorReport.m
[20/136] Compiling MSACStackFrame.m
[21/136] Compiling AppCenterDistribute resource_bundle_accessor.m
[22/136] Compiling MSACDeviceHistoryInfo.m
/Users/admin/builder/spi-builder-workspace/AppCenterDistribute/AppCenterDistribute/MSACAlertController.m:4:9: fatal error: 'UIKit/UIScreen.h' file not found
#import <UIKit/UIScreen.h>
        ^~~~~~~~~~~~~~~~~~
1 error generated.
[23/136] Compiling AppCenterDistribute MSACAlertController.m
[23/136] Compiling AppCenterDistribute MSACDistribute.m
[23/136] Compiling MSACReleaseDetails.m
[23/136] Compiling AppCenterDistribute MSACBasicMachOParser.m
[23/136] Compiling AppCenterDistribute MSACDistributeUtil.m
[23/136] Compiling MSACUserIdContext.m
[23/136] Compiling MSACExceptionModel.m
[23/136] Compiling MSACDeviceTracker.m
[23/136] Compiling MSACSessionContext.m
[23/136] Compiling MSACOneCollectorChannelDelegate.m
Fetching https://github.com/microsoft/PLCrashReporter.git
[1/16797] Fetching plcrashreporter
Fetched https://github.com/microsoft/PLCrashReporter.git (2.69s)
Computing version for https://github.com/microsoft/PLCrashReporter.git
Computed https://github.com/microsoft/PLCrashReporter.git at 1.11.2 (0.50s)
Creating working copy for https://github.com/microsoft/PLCrashReporter.git
Working copy of https://github.com/microsoft/PLCrashReporter.git resolved at 1.11.2
BUILD FAILURE 5.9 macosSpm