The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build PostHog, reference main (d640df), with Swift 6.1 for watchOS using Xcode 16.3 on 30 Apr 2025 14:34:38 UTC.

Build Command

No build command. This typically means the build failed at an early stage where we determine the build command.

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
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 d640df8 Update version
Cloned https://github.com/PostHog/posthog-ios.git
Revision (git rev-parse @):
d640df892fcb3bbeadf02b9ec28eeb682df53d24
SUCCESS checkout https://github.com/PostHog/posthog-ios.git at main
========================================
Build
========================================
Selected platform:         watchOS
Swift version:             6.1
Building package at path:  $PWD
https://github.com/PostHog/posthog-ios.git
https://github.com/PostHog/posthog-ios.git
{
  "dependencies" : [
    {
      "identity" : "quick",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.0",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Quick.git"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "12.0.0",
            "upper_bound" : "13.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble.git"
    },
    {
      "identity" : "ohhttpstubs",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "9.0.0",
            "upper_bound" : "10.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/AliSoftware/OHHTTPStubs.git"
    }
  ],
  "manifest_display_name" : "PostHog",
  "name" : "PostHog",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "PostHog",
      "targets" : [
        "PostHog"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "phlibwebp",
      "module_type" : "ClangTarget",
      "name" : "phlibwebp",
      "path" : "vendor/libwebp",
      "product_memberships" : [
        "PostHog"
      ],
      "sources" : [
        "alpha_enc.c",
        "alpha_processing.c",
        "alpha_processing_neon.c",
        "alpha_processing_sse2.c",
        "alpha_processing_sse41.c",
        "analysis_enc.c",
        "backward_references_cost_enc.c",
        "backward_references_enc.c",
        "bit_reader_utils.c",
        "bit_writer_utils.c",
        "color_cache_utils.c",
        "config_enc.c",
        "cost.c",
        "cost_enc.c",
        "cost_neon.c",
        "cost_sse2.c",
        "cpu.c",
        "dec.c",
        "dec_clip_tables.c",
        "dec_neon.c",
        "dec_sse2.c",
        "dec_sse41.c",
        "enc.c",
        "enc_neon.c",
        "enc_sse2.c",
        "enc_sse41.c",
        "filter_enc.c",
        "filters.c",
        "filters_neon.c",
        "filters_sse2.c",
        "filters_utils.c",
        "frame_enc.c",
        "histogram_enc.c",
        "huffman_encode_utils.c",
        "huffman_utils.c",
        "iterator_enc.c",
        "lossless.c",
        "lossless_enc.c",
        "lossless_enc_neon.c",
        "lossless_enc_sse2.c",
        "lossless_enc_sse41.c",
        "lossless_neon.c",
        "lossless_sse2.c",
        "lossless_sse41.c",
        "muxedit.c",
        "muxinternal.c",
        "muxread.c",
        "near_lossless_enc.c",
        "palette.c",
        "picture_csp_enc.c",
        "picture_enc.c",
        "picture_psnr_enc.c",
        "picture_rescale_enc.c",
        "picture_tools_enc.c",
        "predictor_enc.c",
        "quant_enc.c",
        "quant_levels_dec_utils.c",
        "quant_levels_utils.c",
        "random_utils.c",
        "rescaler.c",
        "rescaler_neon.c",
        "rescaler_sse2.c",
        "rescaler_utils.c",
        "sharpyuv.c",
        "sharpyuv_cpu.c",
        "sharpyuv_csp.c",
        "sharpyuv_dsp.c",
        "sharpyuv_gamma.c",
        "sharpyuv_neon.c",
        "sharpyuv_sse2.c",
        "ssim.c",
        "ssim_sse2.c",
        "syntax_enc.c",
        "thread_utils.c",
        "token_enc.c",
        "tree_enc.c",
        "upsampling.c",
        "upsampling_neon.c",
        "upsampling_sse2.c",
        "upsampling_sse41.c",
        "utils.c",
        "vp8l_enc.c",
        "webp_enc.c",
        "yuv.c",
        "yuv_neon.c",
        "yuv_sse2.c",
        "yuv_sse41.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PostHogTests",
      "module_type" : "SwiftTarget",
      "name" : "PostHogTests",
      "path" : "PostHogTests",
      "product_dependencies" : [
        "Quick",
        "Nimble",
        "OHHTTPStubs",
        "OHHTTPStubsSwift"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_remote_config.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_basic.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_branching_end.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_branching_next.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_branching_response_based.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_branching_response_based_empty.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_branching_response_based_linkert.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_branching_specific.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_conditions_device_type.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_conditions_event.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_conditions_event_repeated.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_conditions_url.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_question_basic.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_question_link.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_question_multiple_choice.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_question_rating.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_question_single_choice.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_url_match_type_exact.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_url_match_type_icontains.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_url_match_type_is_not.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_url_match_type_not_icontains.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_url_match_type_not_regex.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_url_match_type_regex.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/input_1.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/input_2.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/input_3.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/output_1.webp",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/output_2.webp",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/output_3.webp",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "ApplicationViewLayoutPublisherTest.swift",
        "ExampleSanitizer.swift",
        "PostHogApiTest.swift",
        "PostHogAppLifeCycleIntegrationTest.swift",
        "PostHogAutocaptureEventTrackerSpec.swift",
        "PostHogAutocaptureIntegrationSpec.swift",
        "PostHogConfigTest.swift",
        "PostHogContextTest.swift",
        "PostHogFeatureFlagsTest.swift",
        "PostHogFeatureFlagsV3Test.swift",
        "PostHogFileBackedQueueTest.swift",
        "PostHogIdentityTests.swift",
        "PostHogIntegrationInstallationTest.swift",
        "PostHogLegacyQueueTest.swift",
        "PostHogQueueTest.swift",
        "PostHogRemoteConfigTest.swift",
        "PostHogSDKPersonProfilesTest.swift",
        "PostHogSDKTest.swift",
        "PostHogScreenViewIntegrationTest.swift",
        "PostHogSessionManagerTest.swift",
        "PostHogSessionReplayTest.swift",
        "PostHogStorageManagerTest.swift",
        "PostHogStorageMigrationTest.swift",
        "PostHogStorageTest.swift",
        "PostHogSurveysTest.swift",
        "PostHogWebPTest.swift",
        "TestUtils/MockApplicationLifecyclePublisher.swift",
        "TestUtils/MockPostHogServer.swift",
        "TestUtils/MockScreenViewPublisher.swift",
        "TestUtils/TestError.swift",
        "TestUtils/TestPostHog.swift",
        "TestUtils/URLSession+body.swift",
        "UUIDTest.swift",
        "UtilsTest.swift"
      ],
      "target_dependencies" : [
        "PostHog"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PostHog",
      "module_type" : "SwiftTarget",
      "name" : "PostHog",
      "path" : "PostHog",
      "product_memberships" : [
        "PostHog"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHog/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "App Life Cycle/ApplicationLifecyclePublisher.swift",
        "App Life Cycle/PostHogAppLifeCycleIntegration.swift",
        "ApplicationViewLayoutPublisher.swift",
        "Autocapture/AutocaptureEventProcessing.swift",
        "Autocapture/ForwardingPickerViewDelegate.swift",
        "Autocapture/PostHogAutocaptureEventTracker.swift",
        "Autocapture/PostHogAutocaptureIntegration.swift",
        "Autocapture/SwiftUI/View+PostHogLabel.swift",
        "Autocapture/UIView+PostHogLabel.swift",
        "DI.swift",
        "Models/PostHogEvent.swift",
        "Models/Surveys/PostHogSurvey.swift",
        "Models/Surveys/PostHogSurveyAppearance.swift",
        "Models/Surveys/PostHogSurveyConditions.swift",
        "Models/Surveys/PostHogSurveyEnums.swift",
        "Models/Surveys/PostHogSurveyQuestion.swift",
        "PostHogApi.swift",
        "PostHogBatchUploadInfo.swift",
        "PostHogConfig.swift",
        "PostHogConsumerPayload.swift",
        "PostHogContext.swift",
        "PostHogExtensions.swift",
        "PostHogFileBackedQueue.swift",
        "PostHogIntegration.swift",
        "PostHogLegacyQueue.swift",
        "PostHogPersonProfiles.swift",
        "PostHogPropertiesSanitizer.swift",
        "PostHogQueue.swift",
        "PostHogRemoteConfig.swift",
        "PostHogSDK.swift",
        "PostHogSessionManager.swift",
        "PostHogStorage.swift",
        "PostHogStorageManager.swift",
        "PostHogSwizzler.swift",
        "PostHogVersion.swift",
        "Replay/ApplicationEventPublisher.swift",
        "Replay/CGColor+Util.swift",
        "Replay/CGSize+Util.swift",
        "Replay/Date+Util.swift",
        "Replay/Float+Util.swift",
        "Replay/MethodSwizzler.swift",
        "Replay/NetworkSample.swift",
        "Replay/Optional+Util.swift",
        "Replay/PostHogReplayIntegration.swift",
        "Replay/PostHogSessionReplayConfig.swift",
        "Replay/RRStyle.swift",
        "Replay/RRWireframe.swift",
        "Replay/String+Util.swift",
        "Replay/UIColor+Util.swift",
        "Replay/UIImage+Util.swift",
        "Replay/UITextInputTraits+Util.swift",
        "Replay/UIView+Util.swift",
        "Replay/URLSessionExtension.swift",
        "Replay/URLSessionInterceptor.swift",
        "Replay/URLSessionSwizzler.swift",
        "Replay/ViewTreeSnapshotStatus.swift",
        "Screen Views/ApplicationScreenViewPublisher.swift",
        "Screen Views/PostHogScreenViewIntegration.swift",
        "Surveys/BottomSection.swift",
        "Surveys/ConfirmationMessage.swift",
        "Surveys/PostHogSurveyIntegration.swift",
        "Surveys/QuestionHeader.swift",
        "Surveys/QuestionTypes.swift",
        "Surveys/SurveyDisplayController.swift",
        "Surveys/SurveySheet.swift",
        "Surveys/SurveysRootView.swift",
        "Surveys/SurveysWindow.swift",
        "Surveys/Utils/EdgeBorder.swift",
        "Surveys/Utils/EmojiRating.swift",
        "Surveys/Utils/MultipleChoiceOptions.swift",
        "Surveys/Utils/NumberRating.swift",
        "Surveys/Utils/Resources.swift",
        "Surveys/Utils/SegmentedControl.swift",
        "Surveys/Utils/Survey+Util.swift",
        "Surveys/Utils/SurveyButton.swift",
        "Surveys/Utils/SurveyPresentationDetentsRepresentable.swift",
        "Surveys/Utils/SwiftUI+Util.swift",
        "SwiftUI/PostHogMaskViewModifier.swift",
        "SwiftUI/PostHogNoMaskViewModifier.swift",
        "SwiftUI/PostHogSwiftUIViewModifiers.swift",
        "SwiftUI/PostHogTagViewModifier.swift",
        "UIViewController.swift",
        "Utils/AssociatedKeys.swift",
        "Utils/Data+Gzip.swift",
        "Utils/DateUtils.swift",
        "Utils/DictUtils.swift",
        "Utils/Errors.swift",
        "Utils/FileUtils.swift",
        "Utils/Hedgelog.swift",
        "Utils/Reachability.swift",
        "Utils/ReadWriteLock.swift",
        "Utils/TimeBasedEpochGenerator.swift",
        "Utils/UIApplication+.swift",
        "Utils/UIImage+WebP.swift",
        "Utils/UIWindow+.swift",
        "Utils/UUIDUtils.swift"
      ],
      "target_dependencies" : [
        "phlibwebp"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Command line invocation:
    /Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
the package at '/Users/admin/builder/posthog-ios' cannot be accessed (Error Domain=NSCocoaErrorDomain Code=260 "The folder “posthog-ios” doesn’t exist." UserInfo={NSUserStringVariant=(
    Folder
), NSFilePath=/Users/admin/builder/posthog-ios, NSURL=file:///Users/admin/builder/posthog-ios, NSUnderlyingError=0x6000033702a0 {Error Domain=NSOSStatusErrorDomain Code=-43 "fnfErr: File not found"}})
Resolved source packages:
  RealityKitContent: (null)
2025-04-30 07:34:37.078 xcodebuild[521:2931] Writing error result bundle to /var/folders/5k/5yc19ymj0jqd5v0zvgfqz0xw0000gn/T/ResultBundle_2025-30-04_07-34-0037.xcresult
xcodebuild: error: Could not resolve package dependencies:
  the package at '/Users/admin/builder/posthog-ios' cannot be accessed (Error Domain=NSCocoaErrorDomain Code=260 "The folder “posthog-ios” doesn’t exist." UserInfo={NSUserStringVariant=(
Command line invocation:
    /Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
the package at '/Users/admin/builder/posthog-ios' cannot be accessed (Error Domain=NSCocoaErrorDomain Code=260 "The folder “posthog-ios” doesn’t exist." UserInfo={NSUserStringVariant=(
    Folder
), NSFilePath=/Users/admin/builder/posthog-ios, NSURL=file:///Users/admin/builder/posthog-ios, NSUnderlyingError=0x600002066250 {Error Domain=NSOSStatusErrorDomain Code=-43 "fnfErr: File not found"}})
Resolved source packages:
  RealityKitContent: (null)
2025-04-30 07:34:37.957 xcodebuild[571:3258] Writing error result bundle to /var/folders/5k/5yc19ymj0jqd5v0zvgfqz0xw0000gn/T/ResultBundle_2025-30-04_07-34-0037.xcresult
xcodebuild: error: Could not resolve package dependencies:
  the package at '/Users/admin/builder/posthog-ios' cannot be accessed (Error Domain=NSCocoaErrorDomain Code=260 "The folder “posthog-ios” doesn’t exist." UserInfo={NSUserStringVariant=(
BUILD FAILURE 6.1 watchOS