The Swift Package Index logo.Swift Package Index

Build Information

Failed to build EAnalytics, reference 1.5.0 (877c7a), with Swift 6.2 for macOS (SPM) on 21 Jun 2025 13:46:31 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/EulerianTechnologies/eanalytics-ios.git
Reference: 1.5.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/EulerianTechnologies/eanalytics-ios
 * tag               1.5.0      -> FETCH_HEAD
HEAD is now at 877c7a4 Bump to version 1.5.0
Cloned https://github.com/EulerianTechnologies/eanalytics-ios.git
Revision (git rev-parse @):
877c7a4dfb566c15b27c50de374481c50ffdfc88
SUCCESS checkout https://github.com/EulerianTechnologies/eanalytics-ios.git at 1.5.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/EulerianTechnologies/eanalytics-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/20] Copying PrivacyInfo.xcprivacy
[1/20] Compiling EAnalytics NSData+GZIP.m
[2/20] Compiling EAnalytics Utils.m
[3/20] Compiling EAnalytics EAOSiteCentricProperties.m
[4/20] Compiling EAnalytics EAOSiteCentricCFlag.m
/Users/admin/builder/spi-builder-workspace/Pod/Classes/EAnalytics.m:151:45: warning: 'sendSynchronousRequest:returningResponse:error:' is deprecated: first deprecated in macOS 10.11 - Use [NSURLSession dataTaskWithRequest:completionHandler:] (see NSURLSession.h [-Wdeprecated-declarations]
  151 |     NSData *responseData = [NSURLConnection sendSynchronousRequest: request returningResponse: nil error: &requestError];
      |                                             ^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLConnection.h:405:1: note: 'sendSynchronousRequest:returningResponse:error:' has been explicitly marked deprecated here
  405 | + (nullable NSData *)sendSynchronousRequest:(NSURLRequest *)request returningResponse:(NSURLResponse * _Nullable * _Nullable)response error:(NSError **)error API_DEPRECATED("Use [NSURLSession dataTaskWithRequest:completionHandler:] (see NSURLSession.h", macos(10.3,10.11), ios(2.0,9.0), tvos(9.0,9.0)) API_UNAVAILABLE(watchos);
      | ^
1 warning generated.
[5/20] Compiling EAnalytics EAnalytics.m
In file included from /Users/admin/builder/spi-builder-workspace/Pod/Classes/EAProperties.m:10:
/Users/admin/builder/spi-builder-workspace/Pod/Classes/UIDevice+Utils.h:10:9: fatal error: 'UIKit/UIDevice.h' file not found
   10 | #import <UIKit/UIDevice.h>
      |         ^~~~~~~~~~~~~~~~~~
1 error generated.
[6/20] Compiling EAnalytics EAProperties.m
[6/20] Compiling EAnalytics EAOAction.m
[6/20] Compiling EAnalytics resource_bundle_accessor.m
[6/20] Compiling EAnalytics EAOrder.m
[6/20] Compiling EAnalytics EAOParams.m
[6/20] Compiling EAnalytics EAProducts.m
In file included from /Users/admin/builder/spi-builder-workspace/Pod/Classes/UIDevice+Utils.m:9:
/Users/admin/builder/spi-builder-workspace/Pod/Classes/UIDevice+Utils.h:10:9: fatal error: 'UIKit/UIDevice.h' file not found
   10 | #import <UIKit/UIDevice.h>
      |         ^~~~~~~~~~~~~~~~~~
[6/20] Compiling EAnalytics UIDevice+Utils.m
[6/20] Compiling EAnalytics EASearch.m
[6/20] Compiling EAnalytics EAOProduct.m
[6/20] Compiling EAnalytics NSMutableDictionary+Utils.m
BUILD FAILURE 6.2 macosSpm