The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AppCenter with Swift 5.8 for macOS (SPM).

Build Command

env DEVELOPER_DIR="/Applications/Xcode-14.3.0.app" xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/microsoft/appcenter-sdk-apple.git
Reference: 5.0.4
Initialized empty Git repository in /Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/microsoft/appcenter-sdk-apple
 * tag               5.0.4      -> FETCH_HEAD
HEAD is now at 1120c26 Merge pull request #2505 from microsoft/develop
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/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Vendor/OCHamcrest'...
Cloning into '/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Vendor/OCMock'...
Cloning into '/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Vendor/OHHTTPStubs'...
Cloning into '/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Vendor/PLCrashReporter'...
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 'cfa78077d4ee2b363b60ce03948026b6c4ca1033'
Cloned https://github.com/microsoft/appcenter-sdk-apple.git into spi-builder-workspace
1120c26835925f8314d035127c580bc71689c620
SUCCESS checkout https://github.com/microsoft/appcenter-sdk-apple.git at 5.0.4
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.8
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-14.3.0.app" xcrun swift build --arch arm64
Fetching https://github.com/microsoft/PLCrashReporter.git from cache
Fetched https://github.com/microsoft/PLCrashReporter.git (0.30s)
Computing version for https://github.com/microsoft/PLCrashReporter.git
Computed https://github.com/microsoft/PLCrashReporter.git at 1.11.1 (0.01s)
Creating working copy for https://github.com/microsoft/PLCrashReporter.git
Working copy of https://github.com/microsoft/PLCrashReporter.git resolved at 1.11.1
Building for debugging...
[0/136] Compiling MSACAnalyticsAuthenticationProvider.m
[1/136] Copying AppCenterDistribute.strings
[11/136] Copying Info.plist
[11/136] Compiling MSACChannelUnitConfiguration.m
[17/136] Compiling AppCenter MSACWrapperLogger.m
[18/136] Compiling MSACWrapperCrashesHelper.m
[19/136] Compiling MSACWrapperExceptionModel.m
[20/136] Compiling AppCenter MSACLogger.m
[21/136] Compiling MSACStackFrame.m
[22/136] Compiling AppCenterDistribute resource_bundle_accessor.m
[23/136] Compiling MSACSessionContext.m
[24/136] Compiling AppCenter MSACServiceAbstract.m
[25/136] Compiling MSACReleaseDetails.m
[26/136] Compiling MSACDevice.m
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-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.
[27/136] Compiling AppCenterDistribute MSACAlertController.m
[27/136] Compiling MSACSemVer.m
[27/136] Compiling MSACErrorDetails.m
[27/136] Compiling AppCenterDistribute MSACBasicMachOParser.m
[27/136] Compiling MSACSemVerPreReleaseId.m
[27/136] Compiling MSACDeviceTracker.m
[27/136] Compiling AppCenterDistribute MSACDistribute.m
[27/136] Compiling AppCenterDistribute MSACDistributeUtil.m
ShellOut encountered an error
Status code: 1
Message: "Fetching https://github.com/microsoft/PLCrashReporter.git from cache
Fetched https://github.com/microsoft/PLCrashReporter.git (0.30s)
Computing version for https://github.com/microsoft/PLCrashReporter.git
Computed https://github.com/microsoft/PLCrashReporter.git at 1.11.1 (0.01s)
Creating working copy for https://github.com/microsoft/PLCrashReporter.git
Working copy of https://github.com/microsoft/PLCrashReporter.git resolved at 1.11.1"
Output: "Building for debugging...
[0/136] Compiling MSACAnalyticsAuthenticationProvider.m
[1/136] Copying AppCenterDistribute.strings
[11/136] Copying Info.plist
[11/136] Compiling MSACChannelUnitConfiguration.m
[17/136] Compiling AppCenter MSACWrapperLogger.m
[18/136] Compiling MSACWrapperCrashesHelper.m
[19/136] Compiling MSACWrapperExceptionModel.m
[20/136] Compiling AppCenter MSACLogger.m
[21/136] Compiling MSACStackFrame.m
[22/136] Compiling AppCenterDistribute resource_bundle_accessor.m
[23/136] Compiling MSACSessionContext.m
[24/136] Compiling AppCenter MSACServiceAbstract.m
[25/136] Compiling MSACReleaseDetails.m
[26/136] Compiling MSACDevice.m
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-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.
[27/136] Compiling AppCenterDistribute MSACAlertController.m
[27/136] Compiling MSACSemVer.m
[27/136] Compiling MSACErrorDetails.m
[27/136] Compiling AppCenterDistribute MSACBasicMachOParser.m
[27/136] Compiling MSACSemVerPreReleaseId.m
[27/136] Compiling MSACDeviceTracker.m
[27/136] Compiling AppCenterDistribute MSACDistribute.m
[27/136] Compiling AppCenterDistribute MSACDistributeUtil.m"
Retrying in 0.0 seconds ...
Building ... (attempt 2)
[0/1] Planning build
Building for debugging...
[0/111] Compiling MSACErrorAttachmentLog+Utility.m
[1/111] Compiling MSACCrashesUtil.m
[2/109] Compiling MSACErrorReport.m
[3/109] Compiling MSACCrashesArchiverUtil.m
[4/109] Compiling MSACExceptionModel.m
[5/109] Compiling MSACErrorAttachmentLog.m
[6/109] Compiling MSACWrapperException.m
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-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.
[7/109] Compiling AppCenterDistribute MSACAlertController.m
[7/109] Compiling MSACSemVerPreReleaseId.m
[7/109] Compiling AppCenterCrashes MSACCrashes.mm
[7/109] Compiling MSACErrorLogFormatter.m
[7/109] Compiling AppCenterDistribute MSACBasicMachOParser.m
[7/109] Compiling AppCenterDistribute MSACDistribute.m
[7/109] Compiling MSACApplicationForwarder.m
[7/109] Compiling AppCenterDistribute MSACDistributeUtil.m
ShellOut encountered an error
Status code: 1
Message: ""
Output: "[0/1] Planning build
Building for debugging...
[0/111] Compiling MSACErrorAttachmentLog+Utility.m
[1/111] Compiling MSACCrashesUtil.m
[2/109] Compiling MSACErrorReport.m
[3/109] Compiling MSACCrashesArchiverUtil.m
[4/109] Compiling MSACExceptionModel.m
[5/109] Compiling MSACErrorAttachmentLog.m
[6/109] Compiling MSACWrapperException.m
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-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.
[7/109] Compiling AppCenterDistribute MSACAlertController.m
[7/109] Compiling MSACSemVerPreReleaseId.m
[7/109] Compiling AppCenterCrashes MSACCrashes.mm
[7/109] Compiling MSACErrorLogFormatter.m
[7/109] Compiling AppCenterDistribute MSACBasicMachOParser.m
[7/109] Compiling AppCenterDistribute MSACDistribute.m
[7/109] Compiling MSACApplicationForwarder.m
[7/109] Compiling AppCenterDistribute MSACDistributeUtil.m"
BUILD FAILURE 5.8 macosSpm

Build Machine: Mac 5