Build Information
Failed to build PostHog, reference main (218fb6), with Swift 6.0 for macOS (SPM) on 30 Apr 2026 06:23:17 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PostHog/posthog-ios.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/PostHog/posthog-ios
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 218fb6f chore: release v3.57.3 [version bump]
Cloned https://github.com/PostHog/posthog-ios.git
Revision (git rev-parse @):
218fb6fe016a27baa3651613d53dae5c6e36af15
SUCCESS checkout https://github.com/PostHog/posthog-ios.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/PostHog/posthog-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/151] Write swift-version-5BDAB9E9C0126B9D.txt
[1/151] Compiling phlibwebp upsampling_sse2.c
[2/151] Compiling phlibwebp yuv_sse41.c
[3/151] Compiling phlibwebp upsampling_sse41.c
[3/151] Compiling phlibwebp yuv_sse2.c
[5/151] Compiling phlibwebp utils.c
[6/151] Compiling phlibwebp yuv.c
[7/151] Compiling phlibwebp webp_enc.c
[8/151] Compiling phlibwebp bit_reader_utils.c
[9/151] Compiling phlibwebp upsampling.c
[10/151] Compiling phlibwebp tree_enc.c
[11/151] Compiling phlibwebp thread_utils.c
[12/151] Compiling phlibwebp token_enc.c
[13/151] Compiling phlibwebp ssim_sse2.c
[14/151] Compiling phlibwebp syntax_enc.c
[15/151] Compiling phlibwebp ssim.c
[16/151] Compiling phlibwebp sharpyuv_sse2.c
[17/151] Compiling phlibwebp sharpyuv_dsp.c
[18/151] Compiling phlibwebp sharpyuv_cpu.c
[19/151] Compiling phlibwebp sharpyuv_csp.c
[20/151] Compiling phlibwebp vp8l_enc.c
[21/151] Compiling phlibwebp sharpyuv_neon.c
[22/151] Compiling phlibwebp yuv_neon.c
[23/151] Compiling phlibwebp sharpyuv_gamma.c
[24/151] Compiling phlibwebp rescaler_sse2.c
[25/151] Compiling phlibwebp random_utils.c
[26/151] Compiling phlibwebp rescaler.c
[27/151] Compiling phlibwebp quant_levels_utils.c
[28/151] Compiling phlibwebp quant_levels_dec_utils.c
[29/151] Compiling phlibwebp rescaler_utils.c
[30/151] Compiling phlibwebp rescaler_neon.c
[31/151] Compiling phlibwebp sharpyuv.c
[32/151] Compiling phlibwebp upsampling_neon.c
[33/151] Compiling phlibwebp quant_enc.c
[34/151] Compiling phlibwebp picture_tools_enc.c
[35/151] Compiling phlibwebp predictor_enc.c
[36/151] Compiling phlibwebp picture_rescale_enc.c
[37/151] Compiling phlibwebp picture_psnr_enc.c
[38/151] Compiling phlibwebp picture_csp_enc.c
[39/151] Compiling phlibwebp near_lossless_enc.c
[40/151] Compiling phlibwebp picture_enc.c
[41/151] Compiling phlibwebp palette.c
[42/151] Compiling phlibwebp muxread.c
[43/151] Compiling phlibwebp lossless_sse41.c
[44/151] Compiling phlibwebp lossless_sse2.c
[45/151] Compiling phlibwebp muxedit.c
[46/151] Compiling phlibwebp muxinternal.c
[47/151] Compiling phlibwebp lossless_enc_sse41.c
[48/151] Compiling phlibwebp lossless_enc_sse2.c
[49/151] Compiling phlibwebp lossless_enc_neon.c
[50/151] Compiling phlibwebp lossless_neon.c
[51/151] Compiling phlibwebp lossless.c
[52/151] Compiling phlibwebp lossless_enc.c
[53/151] Compiling phlibwebp huffman_utils.c
[54/151] Compiling phlibwebp iterator_enc.c
[55/151] Compiling phlibwebp huffman_encode_utils.c
[56/151] Compiling phlibwebp filters_utils.c
[57/151] Compiling phlibwebp filters_sse2.c
[58/151] Compiling phlibwebp frame_enc.c
[59/151] Compiling phlibwebp histogram_enc.c
[60/151] Compiling phlibwebp filters.c
[61/151] Compiling phlibwebp filters_neon.c
[62/151] Compiling phlibwebp enc_sse41.c
[63/151] Compiling phlibwebp filter_enc.c
[64/151] Compiling phlibwebp enc_sse2.c
[65/151] Compiling phlibwebp dec_sse41.c
[66/151] Compiling phlibwebp dec_sse2.c
[67/151] Compiling phlibwebp enc.c
[68/151] Compiling phlibwebp dec_clip_tables.c
[69/151] Compiling phlibwebp cpu.c
[70/151] Compiling phlibwebp cost_sse2.c
[71/151] Compiling phlibwebp dec.c
[72/151] Compiling phlibwebp cost_neon.c
[73/151] Compiling phlibwebp enc_neon.c
[74/151] Compiling phlibwebp config_enc.c
[75/151] Compiling phlibwebp cost.c
[76/151] Compiling phlibwebp cost_enc.c
[77/151] Compiling phlibwebp color_cache_utils.c
[78/151] Compiling phlibwebp dec_neon.c
[78/151] Copying PrivacyInfo.xcprivacy
[80/151] Write sources
[82/151] Compiling phlibwebp bit_writer_utils.c
[83/151] Compiling phlibwebp alpha_processing_sse41.c
[84/151] Compiling phlibwebp backward_references_cost_enc.c
[85/151] Compiling phlibwebp alpha_processing_sse2.c
[86/151] Compiling phlibwebp backward_references_enc.c
[87/151] Compiling phlibwebp analysis_enc.c
[88/151] Compiling phlibwebp alpha_processing_neon.c
[89/151] Compiling phlibwebp alpha_processing.c
[90/151] Compiling phlibwebp alpha_enc.c
In file included from <built-in>:1:
In file included from /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/PHPLCrashReporter.build/DerivedSources/resource_bundle_accessor.h:1:
In file included from /Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:9:
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:612:1: error: expected unqualified-id
612 | @class NSString, Protocol;
| ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:614:9: error: unknown type name 'NSString'
614 | typedef NSString * NSExceptionName NS_TYPED_EXTENSIBLE_ENUM;
| ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:615:9: error: unknown type name 'NSString'
615 | typedef NSString * NSRunLoopMode NS_TYPED_EXTENSIBLE_ENUM;
| ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:617:19: error: unknown type name 'NSString'
617 | FOUNDATION_EXPORT NSString *NSStringFromSelector(SEL aSelector);
| ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:618:44: error: unknown type name 'NSString'
618 | FOUNDATION_EXPORT SEL NSSelectorFromString(NSString *aSelectorName);
| ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:620:19: error: unknown type name 'NSString'
620 | FOUNDATION_EXPORT NSString *NSStringFromClass(Class aClass);
| ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:621:53: error: unknown type name 'NSString'
621 | FOUNDATION_EXPORT Class _Nullable NSClassFromString(NSString *aClassName);
| ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:623:19: error: unknown type name 'NSString'
623 | FOUNDATION_EXPORT NSString *NSStringFromProtocol(Protocol *proto) API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
| ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:624:61: error: unknown type name 'NSString'
624 | FOUNDATION_EXPORT Protocol * _Nullable NSProtocolFromString(NSString *namestr) API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
| ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:628:30: error: unknown type name 'NSString'
628 | FOUNDATION_EXPORT void NSLog(NSString *format, ...) NS_FORMAT_FUNCTION(1,2) NS_NO_TAIL_CALL;
| ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:628:53: error: format argument not a string type
628 | FOUNDATION_EXPORT void NSLog(NSString *format, ...) NS_FORMAT_FUNCTION(1,2) NS_NO_TAIL_CALL;
| ~~~~~~~~~~~~~~~~ ^ ~
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:94:49: note: expanded from macro 'NS_FORMAT_FUNCTION'
94 | #define NS_FORMAT_FUNCTION(F,A) __attribute__((format(__NSString__, F, A)))
| ^ ~
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:629:31: error: unknown type name 'NSString'
629 | FOUNDATION_EXPORT void NSLogv(NSString *format, va_list args) NS_FORMAT_FUNCTION(1,0) NS_NO_TAIL_CALL;
| ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:629:63: error: format argument not a string type
629 | FOUNDATION_EXPORT void NSLogv(NSString *format, va_list args) NS_FORMAT_FUNCTION(1,0) NS_NO_TAIL_CALL;
| ~~~~~~~~~~~~~~~~ ^ ~
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:94:49: note: expanded from macro 'NS_FORMAT_FUNCTION'
94 | #define NS_FORMAT_FUNCTION(F,A) __attribute__((format(__NSString__, F, A)))
| ^ ~
In file included from <built-in>:1:
In file included from /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/PHPLCrashReporter.build/DerivedSources/resource_bundle_accessor.h:1:
In file included from /Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:11:
In file included from /Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5:
In file included from /Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:7:
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:9:1: error: expected unqualified-id
9 | @class NSString;
| ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:19:63: error: unknown type name 'NSString'
19 | FOUNDATION_EXPORT void NSSetZoneName(NSZone * _Nullable zone, NSString *name)NS_SWIFT_UNAVAILABLE("Zone-based memory management is unavailable");
| ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:20:19: error: unknown type name 'NSString'
20 | FOUNDATION_EXPORT NSString *NSZoneName(NSZone * _Nullable zone) NS_SWIFT_UNAVAILABLE("Zone-based memory management is unavailable");
| ^
In file included from <built-in>:1:
In file included from /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/PHPLCrashReporter.build/DerivedSources/resource_bundle_accessor.h:1:
In file included from /Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:11:
In file included from /Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5:
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:9:1: error: expected unqualified-id
9 | @class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
| ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:10:1: error: expected unqualified-id
10 | @class Protocol;
| ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:16:1: error: expected unqualified-id
16 | @protocol NSCopying
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[91/151] Compiling dwarf_opstream.cpp
[91/151] Compiling PLCrashReportTextFormatter.m
[91/151] Compiling PLCrashReporter.m
[91/151] Compiling PLCrashReporterNSError.m
[91/151] Compiling PLCrashReporterConfig.m
[91/151] Compiling PLCrashUncaughtExceptionHandler.m
[91/151] Compiling PLCrashReportThreadInfo.m
In file included from /Users/admin/builder/spi-builder-workspace/vendor/PHPLCrashReporter/Source/PLCrashSignalHandler.mm:32:
In file included from /Users/admin/builder/spi-builder-workspace/vendor/PHPLCrashReporter/Source/PLCrashFrameWalker.h:45:
In file included from /Users/admin/builder/spi-builder-workspace/vendor/PHPLCrashReporter/Source/PLCrashAsyncImageList.h:46:
/Users/admin/builder/spi-builder-workspace/vendor/PHPLCrashReporter/Source/PLCrashAsyncLinkedList.hpp:37:1: warning: inline namespaces are a C++11 feature [-Wc++11-inline-namespace]
37 | PLCR_CPP_BEGIN_NS
| ^
/Users/admin/builder/spi-builder-workspace/vendor/PHPLCrashReporter/Source/PLCrashMacros.h:54:51: note: expanded from macro 'PLCR_CPP_BEGIN_NS'
54 | # define PLCR_CPP_BEGIN_NS namespace plcrash { inline namespace PLCRASHREPORTER_PREFIX {
| ^
[91/151] Compiling PLCrashSignalHandler.mm
[91/151] Compiling PHPLCrashReporter resource_bundle_accessor.m
[91/151] Compiling PLCrashSysctl.c
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/AliSoftware/OHHTTPStubs.git
[1/7902] Fetching ohhttpstubs
[871/27725] Fetching ohhttpstubs, nimble
[1860/42627] Fetching ohhttpstubs, nimble, quick
Fetched https://github.com/Quick/Quick.git from cache (1.72s)
Fetched https://github.com/AliSoftware/OHHTTPStubs.git from cache (1.72s)
Fetched https://github.com/Quick/Nimble.git from cache (1.72s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs.git
Computed https://github.com/AliSoftware/OHHTTPStubs.git at 9.1.0 (3.09s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 6.1.0 (0.58s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 12.3.0 (0.89s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.82s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.57s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.69s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.55s)
Creating working copy for https://github.com/AliSoftware/OHHTTPStubs.git
Working copy of https://github.com/AliSoftware/OHHTTPStubs.git resolved at 9.1.0
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 6.1.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 12.3.0
BUILD FAILURE 6.0 macosSpm