The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

env DEVELOPER_DIR="/Applications/Xcode-14.2.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/2/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/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Vendor/OCHamcrest'...
Cloning into '/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Vendor/OCMock'...
Cloning into '/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Vendor/OHHTTPStubs'...
Cloning into '/Users/builder/builds/o86TiJKT/2/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.7
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-14.2.0.app" xcrun swift build --arch arm64
Fetching https://github.com/microsoft/PLCrashReporter.git from cache
Fetched https://github.com/microsoft/PLCrashReporter.git (0.46s)
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 MSACHttpUtil.m
[1/136] Copying AppCenterDistribute.strings
[15/136] Copying Info.plist
[16/136] Compiling MSACChannelUnitConfiguration.m
[17/136] Compiling MSACHttpClient.m
[18/136] Compiling MSACHttpCall.m
[19/136] Compiling MSACAppCenterIngestion.m
[20/136] Compiling MSACChannelGroupDefault.m
[21/136] Compiling MSACDelegateForwarder.m
[22/136] Compiling MSACAbstractLog.m
[23/136] Compiling MSACWrapperCrashesHelper.m
/Users/builder/builds/o86TiJKT/2/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.
[24/136] Compiling AppCenterDistribute MSACAlertController.m
[24/136] Compiling AppCenterDistribute MSACBasicMachOParser.m
[24/136] Compiling MSACSemVerPreReleaseId.m
[24/136] Compiling AppCenterDistribute resource_bundle_accessor.m
[24/136] Compiling AppCenterDistribute MSACDistributeUtil.m
[24/136] Compiling AppCenterDistribute MSACDistribute.m
[24/136] Compiling MSACWrapperExceptionModel.m
[24/136] Compiling MSACReleaseDetails.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.46s)
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 MSACHttpUtil.m
[1/136] Copying AppCenterDistribute.strings
[15/136] Copying Info.plist
[16/136] Compiling MSACChannelUnitConfiguration.m
[17/136] Compiling MSACHttpClient.m
[18/136] Compiling MSACHttpCall.m
[19/136] Compiling MSACAppCenterIngestion.m
[20/136] Compiling MSACChannelGroupDefault.m
[21/136] Compiling MSACDelegateForwarder.m
[22/136] Compiling MSACAbstractLog.m
[23/136] Compiling MSACWrapperCrashesHelper.m
/Users/builder/builds/o86TiJKT/2/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.
[24/136] Compiling AppCenterDistribute MSACAlertController.m
[24/136] Compiling AppCenterDistribute MSACBasicMachOParser.m
[24/136] Compiling MSACSemVerPreReleaseId.m
[24/136] Compiling AppCenterDistribute resource_bundle_accessor.m
[24/136] Compiling AppCenterDistribute MSACDistributeUtil.m
[24/136] Compiling AppCenterDistribute MSACDistribute.m
[24/136] Compiling MSACWrapperExceptionModel.m
[24/136] Compiling MSACReleaseDetails.m"
Retrying in 0.0 seconds ...
Building ... (attempt 2)
[0/1] Planning build
Building for debugging...
[0/112] Compiling MSACErrorAttachmentLog+Utility.m
[1/112] Compiling MSACWrapperExceptionModel.m
[2/112] Compiling MSACErrorReport.m
[3/112] Compiling MSACStackFrame.m
[4/112] Compiling AppCenterDistribute resource_bundle_accessor.m
[5/112] Compiling MSACCrashesUtil.m
In file included from /Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/AppCenterCrashes/AppCenterCrashes/MSACCrashes.mm:20:
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/AppCenterCrashes/AppCenterCrashes/Internals/MSACCrashesBufferedLog.hpp:27:30: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions]
  MSACCrashesBufferedLog() = default;
                             ^
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/AppCenterCrashes/AppCenterCrashes/MSACCrashes.mm:585:12: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
      for (auto it = msACCrashesLogBuffer.begin(), end = msACCrashesLogBuffer.end(); it != end; ++it) {
           ^
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/AppCenterCrashes/AppCenterCrashes/MSACCrashes.mm:634:10: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
    for (auto it = msACCrashesLogBuffer.begin(), end = msACCrashesLogBuffer.end(); it != end; ++it) {
         ^
3 warnings generated.
[6/112] Compiling AppCenterCrashes MSACCrashes.mm
/Users/builder/builds/o86TiJKT/2/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/112] Compiling AppCenterDistribute MSACAlertController.m
[7/112] Compiling AppCenterDistribute MSACBasicMachOParser.m
[7/112] Compiling MSACErrorLogFormatter.m
[7/112] Compiling AppCenterDistribute MSACDistribute.m
[7/112] Compiling MSACReleaseDetails.m
[7/112] Compiling AppCenterDistribute MSACDistributeUtil.m
[7/112] Compiling MSACExceptionModel.m
[7/112] Compiling MSACErrorAttachmentLog.m
ShellOut encountered an error
Status code: 1
Message: ""
Output: "[0/1] Planning build
Building for debugging...
[0/112] Compiling MSACErrorAttachmentLog+Utility.m
[1/112] Compiling MSACWrapperExceptionModel.m
[2/112] Compiling MSACErrorReport.m
[3/112] Compiling MSACStackFrame.m
[4/112] Compiling AppCenterDistribute resource_bundle_accessor.m
[5/112] Compiling MSACCrashesUtil.m
In file included from /Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/AppCenterCrashes/AppCenterCrashes/MSACCrashes.mm:20:
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/AppCenterCrashes/AppCenterCrashes/Internals/MSACCrashesBufferedLog.hpp:27:30: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions]
  MSACCrashesBufferedLog() = default;
                             ^
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/AppCenterCrashes/AppCenterCrashes/MSACCrashes.mm:585:12: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
      for (auto it = msACCrashesLogBuffer.begin(), end = msACCrashesLogBuffer.end(); it != end; ++it) {
           ^
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/AppCenterCrashes/AppCenterCrashes/MSACCrashes.mm:634:10: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
    for (auto it = msACCrashesLogBuffer.begin(), end = msACCrashesLogBuffer.end(); it != end; ++it) {
         ^
3 warnings generated.
[6/112] Compiling AppCenterCrashes MSACCrashes.mm
/Users/builder/builds/o86TiJKT/2/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/112] Compiling AppCenterDistribute MSACAlertController.m
[7/112] Compiling AppCenterDistribute MSACBasicMachOParser.m
[7/112] Compiling MSACErrorLogFormatter.m
[7/112] Compiling AppCenterDistribute MSACDistribute.m
[7/112] Compiling MSACReleaseDetails.m
[7/112] Compiling AppCenterDistribute MSACDistributeUtil.m
[7/112] Compiling MSACExceptionModel.m
[7/112] Compiling MSACErrorAttachmentLog.m"
BUILD FAILURE 5.7 macosSpm

Build Machine: Mac 5