Build Information
Failed to build AppCenter, reference 5.0.6 (930892
), with Swift 5.9 for macOS (SPM) on 27 Jan 2025 13:59:59 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: 5.0.6
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/microsoft/appcenter-sdk-apple
* tag 5.0.6 -> FETCH_HEAD
HEAD is now at 9308921 [CI] Use macos-13 and Xcode 14 (#2561)
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 @):
9308921a2f6ef828cf9fae898ea4f080a81cdf11
SUCCESS checkout https://github.com/microsoft/appcenter-sdk-apple.git at 5.0.6
========================================
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
[14/136] Copying Info.plist
[15/136] Compiling MSACSessionHistoryInfo.m
[16/136] Compiling MSACDependencyConfiguration.m
[17/136] Compiling MSACWrapperCrashesHelper.m
[18/136] Compiling MSACWrapperExceptionModel.m
[19/136] Compiling AppCenterDistribute resource_bundle_accessor.m
[20/136] Compiling MSACTicketCache.m
[21/136] Compiling MSACUserIdHistoryInfo.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 MSACSemVerPreReleaseId.m
[23/136] Compiling AppCenterDistribute MSACBasicMachOParser.m
[23/136] Compiling MSACOneCollectorIngestion.m
[23/136] Compiling AppCenterDistribute MSACDistribute.m
[23/136] Compiling MSACAppExtension.m
[23/136] Compiling AppCenterDistribute MSACDistributeUtil.m
[23/136] Compiling MSACAppDelegateForwarder.m
[23/136] Compiling MSACOneCollectorChannelDelegate.m
[23/136] Compiling MSACReleaseDetails.m
Fetching https://github.com/microsoft/PLCrashReporter.git
[1/16797] Fetching plcrashreporter
Fetched https://github.com/microsoft/PLCrashReporter.git (2.66s)
Computing version for https://github.com/microsoft/PLCrashReporter.git
Computed https://github.com/microsoft/PLCrashReporter.git at 1.11.2 (0.53s)
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