The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.29.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/UKfvDsi8u/1/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 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'
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/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Vendor/OCHamcrest'...
Cloning into '/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Vendor/OCMock'...
Cloning into '/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Vendor/OHHTTPStubs'...
Cloning into '/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Vendor/PLCrashReporter'...
Cloned https://github.com/microsoft/appcenter-sdk-apple.git
Revision (git rev-parse @):
1120c26835925f8314d035127c580bc71689c620
SUCCESS checkout https://github.com/microsoft/appcenter-sdk-apple.git at 5.0.4
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/microsoft/appcenter-sdk-apple.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/136] Copying AppCenterDistribute.strings
[0/136] Copying Info.plist
[0/136] Copying AppCenterDistribute.strings
In file included from /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/AppCenterCrashes/AppCenterCrashes/MSACCrashes.mm:20:
/Users/builder/builds/UKfvDsi8u/1/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/UKfvDsi8u/1/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/UKfvDsi8u/1/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.
[15/136] Compiling AppCenterCrashes MSACCrashes.mm
[16/136] Compiling MSACStackFrame.m
[17/136] Compiling MSACWrapperCrashesHelper.m
[18/136] Compiling MSACErrorReport.m
[19/136] Compiling AppCenterDistribute resource_bundle_accessor.m
[20/136] Compiling MSACWrapperExceptionModel.m
[21/136] Compiling MSACErrorAttachmentLog+Utility.m
/Users/builder/builds/UKfvDsi8u/1/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.
[22/136] Compiling AppCenterDistribute MSACAlertController.m
[22/136] Compiling MSACSemVerPreReleaseId.m
[22/136] Compiling AppCenterDistribute MSACBasicMachOParser.m
[22/136] Compiling MSACErrorAttachmentLog.m
[22/136] Compiling MSACExceptionModel.m
[22/136] Compiling AppCenterDistribute MSACDistribute.m
[22/136] Compiling AppCenterDistribute MSACDistributeUtil.m
[22/136] Compiling MSACReleaseDetails.m
Fetching https://github.com/microsoft/PLCrashReporter.git from cache
Fetched https://github.com/microsoft/PLCrashReporter.git from cache (0.19s)
Computing version for https://github.com/microsoft/PLCrashReporter.git
Computed https://github.com/microsoft/PLCrashReporter.git at 1.11.1 (0.37s)
warning: /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/PLCrashReporter-69305071 is not valid git repository for 'https://github.com/microsoft/PLCrashReporter.git', will fetch again.
Fetching https://github.com/microsoft/PLCrashReporter.git from cache
Fetched https://github.com/microsoft/PLCrashReporter.git from cache (0.01s)
warning: /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/PLCrashReporter-69305071 is not valid git repository for 'https://github.com/microsoft/PLCrashReporter.git', will fetch again.
Fetching https://github.com/microsoft/PLCrashReporter.git from cache
Fetched https://github.com/microsoft/PLCrashReporter.git from cache (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
[0/1] Planning build
Building for debugging...
[0/115] Compiling MSACCrashesUtil.m
[1/114] Compiling MSACWrapperException.m
[2/114] Compiling MSACThread.m
[3/114] Compiling MSACCrashesArchiverUtil.m
[4/114] Compiling MSACHandledErrorLog.m
[5/114] Compiling MSACExceptionModel.m
/Users/builder/builds/UKfvDsi8u/1/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.
[6/114] Compiling AppCenterDistribute MSACAlertController.m
[6/114] Compiling AppCenterDistribute MSACBasicMachOParser.m
[6/114] Compiling AppCenterDistribute MSACDistributeUtil.m
[6/114] Compiling AppCenterDistribute MSACDistribute.m
[6/114] Compiling MSACErrorLogFormatter.m
[6/114] Compiling MSACErrorAttachmentLog.m
[6/114] Compiling MSACApplicationForwarder.m
[6/114] Compiling MSACReleaseDetails.m
BUILD FAILURE 5.10 macosSpm

Build Machine: Mac 7