The Swift Package Index logo.Swift Package Index

Build Information

Failed to build klaviyo-swift-sdk with Swift 5.7 for tvOS using Xcode 14.2 at 3.1.0.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-14.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$workDir/.dependencies -derivedDataPath $workDir/.derivedData build -scheme klaviyo-swift-sdk-Package -destination generic/platform=tvos

Build Log

========================================
RunAll
========================================
Builder version: 4.35.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/klaviyo/klaviyo-swift-sdk.git
Reference: 3.1.0
Initialized empty Git repository in /Users/admin/builds/Z6YBxSjp/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/klaviyo/klaviyo-swift-sdk
 * tag               3.1.0      -> FETCH_HEAD
HEAD is now at 4940d18 Merge pull request #177 from klaviyo/as/release-3.1.0
Cloned https://github.com/klaviyo/klaviyo-swift-sdk.git
Revision (git rev-parse @):
4940d18937116ab7350bdc198e746d7cafd38b5b
SUCCESS checkout https://github.com/klaviyo/klaviyo-swift-sdk.git at 3.1.0
========================================
Build
========================================
Selected platform:         tvOS
Swift version:             5.7
Building package at path:  $workDir
https://github.com/klaviyo/klaviyo-swift-sdk.git
Command line invocation:
    /Applications/Xcode-14.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builds/Z6YBxSjp/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builds/Z6YBxSjp/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Fetching from https://github.com/pointfreeco/swift-custom-dump (cached)
Fetching from https://github.com/pointfreeco/xctest-dynamic-overlay (cached)
Fetching from https://github.com/pointfreeco/swift-case-paths (cached)
Fetching from https://github.com/pointfreeco/combine-schedulers (cached)
Fetching from https://github.com/pointfreeco/swift-snapshot-testing (cached)
Fetching from https://github.com/Flight-School/AnyCodable (cached)
Cloning local copy of package ‘combine-schedulers’
Checking out 0.9.1 of package ‘combine-schedulers’
Cloning local copy of package ‘swift-custom-dump’
Checking out 0.6.1 of package ‘swift-custom-dump’
Cloning local copy of package ‘AnyCodable’
Checking out 0.6.7 of package ‘AnyCodable’
Cloning local copy of package ‘swift-snapshot-testing’
Checking out 1.10.0 of package ‘swift-snapshot-testing’
Cloning local copy of package ‘xctest-dynamic-overlay’
Checking out 0.6.0 of package ‘xctest-dynamic-overlay’
Cloning local copy of package ‘swift-case-paths’
Checking out 0.10.1 of package ‘swift-case-paths’
Resolved source packages:
  swift-custom-dump: https://github.com/pointfreeco/swift-custom-dump @ 0.6.1
  AnyCodable: https://github.com/Flight-School/AnyCodable @ 0.6.7
  swift-snapshot-testing: https://github.com/pointfreeco/swift-snapshot-testing @ 1.10.0
  xctest-dynamic-overlay: https://github.com/pointfreeco/xctest-dynamic-overlay @ 0.6.0
  combine-schedulers: https://github.com/pointfreeco/combine-schedulers @ 0.9.1
  klaviyo-swift-sdk: /Users/admin/builds/Z6YBxSjp/0/finestructure/swiftpackageindex-builder/spi-builder-workspace
  swift-case-paths: https://github.com/pointfreeco/swift-case-paths @ 0.10.1
resolved source packages: swift-custom-dump, AnyCodable, swift-snapshot-testing, xctest-dynamic-overlay, combine-schedulers, klaviyo-swift-sdk, swift-case-paths
{
  "dependencies" : [
    {
      "identity" : "swift-snapshot-testing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.10.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-snapshot-testing"
    },
    {
      "identity" : "anycodable",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Flight-School/AnyCodable"
    },
    {
      "identity" : "swift-custom-dump",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-custom-dump"
    },
    {
      "identity" : "swift-case-paths",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.10.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-case-paths"
    },
    {
      "identity" : "combine-schedulers",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/combine-schedulers"
    }
  ],
  "manifest_display_name" : "klaviyo-swift-sdk",
  "name" : "klaviyo-swift-sdk",
  "path" : "/Users/admin/builds/Z6YBxSjp/0/finestructure/swiftpackageindex-builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "KlaviyoSwift",
      "targets" : [
        "KlaviyoSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "KlaviyoSwiftExtension",
      "targets" : [
        "KlaviyoSwiftExtension"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "KlaviyoSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "KlaviyoSwiftTests",
      "path" : "Tests/KlaviyoSwiftTests",
      "product_dependencies" : [
        "SnapshotTesting",
        "CustomDump",
        "CasePaths",
        "CombineSchedulers"
      ],
      "sources" : [
        "APIRequestErrorHandlingTests.swift",
        "AppLifeCycleEventsTests.swift",
        "ArchivalUtilsTests.swift",
        "EncodableTests.swift",
        "FileUtilsTests.swift",
        "KlaviyoAPITests.swift",
        "KlaviyoSDKTests.swift",
        "KlaviyoStateTests.swift",
        "KlaviyoTestUtils.swift",
        "NetworkSessionTests.swift",
        "SimpleMockURLProtocol.swift",
        "StateChangePublisherTests.swift",
        "StateManagementEdgeCaseTests.swift",
        "StateManagementTests.swift",
        "TestData.swift",
        "Vendor/ComposableArchitecture/TestStore.swift"
      ],
      "target_dependencies" : [
        "KlaviyoSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KlaviyoSwiftExtension",
      "module_type" : "SwiftTarget",
      "name" : "KlaviyoSwiftExtension",
      "path" : "Sources/KlaviyoSwiftExtension",
      "product_memberships" : [
        "KlaviyoSwiftExtension"
      ],
      "sources" : [
        "KlaviyoExtension.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "KlaviyoSwift",
      "module_type" : "SwiftTarget",
      "name" : "KlaviyoSwift",
      "path" : "Sources/KlaviyoSwift",
      "product_dependencies" : [
        "AnyCodable"
      ],
      "product_memberships" : [
        "KlaviyoSwift"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builds/Z6YBxSjp/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/KlaviyoSwift/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "APIRequestErrorHandling.swift",
        "AppContextInfo.swift",
        "AppLifeCycleEvents.swift",
        "ArchivalUtils.swift",
        "FileUtils.swift",
        "InternalAPIModels.swift",
        "Klaviyo.swift",
        "KlaviyoAPI.swift",
        "KlaviyoEnvironment.swift",
        "KlaviyoModels.swift",
        "KlaviyoState.swift",
        "LoggerClient.swift",
        "NetworkSession.swift",
        "SDKRequestIterator.swift",
        "StateChangePublisher.swift",
        "StateManagement.swift",
        "Vendor/ComposableArchitecture/Cancellation.swift",
        "Vendor/ComposableArchitecture/ConcurrencySupport.swift",
        "Vendor/ComposableArchitecture/Create.swift",
        "Vendor/ComposableArchitecture/Effect.swift",
        "Vendor/ComposableArchitecture/Misc.swift",
        "Vendor/ComposableArchitecture/Publisher.swift",
        "Vendor/ComposableArchitecture/ReducerProtocol.swift",
        "Vendor/ComposableArchitecture/Store.swift",
        "Vendor/ReachabilitySwift.swift",
        "Version.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "klaviyo-swift-sdk-Package",
      "KlaviyoSwift",
      "KlaviyoSwiftExtension"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$workDir/.dependencies -derivedDataPath $workDir/.derivedData build -scheme klaviyo-swift-sdk-Package -destination generic/platform=tvos
Command line invocation:
    /Applications/Xcode-14.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builds/Z6YBxSjp/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies -derivedDataPath /Users/admin/builds/Z6YBxSjp/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData build -scheme klaviyo-swift-sdk-Package -destination generic/platform=tvos
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builds/Z6YBxSjp/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builds/Z6YBxSjp/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolved source packages:
  swift-case-paths: https://github.com/pointfreeco/swift-case-paths @ 0.10.1
  combine-schedulers: https://github.com/pointfreeco/combine-schedulers @ 0.9.1
  xctest-dynamic-overlay: https://github.com/pointfreeco/xctest-dynamic-overlay @ 0.6.0
  AnyCodable: https://github.com/Flight-School/AnyCodable @ 0.6.7
  swift-custom-dump: https://github.com/pointfreeco/swift-custom-dump @ 0.6.1
  klaviyo-swift-sdk: /Users/admin/builds/Z6YBxSjp/0/finestructure/swiftpackageindex-builder/spi-builder-workspace
  swift-snapshot-testing: https://github.com/pointfreeco/swift-snapshot-testing @ 1.10.0
Resolve Package Graph
Prepare packages
Computing target dependency graph and provisioning inputs
Create build description
Build description signature: b4f39f84017cf7d4d531422e8c62bc51
Build description path: /Users/admin/builds/Z6YBxSjp/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/b4f39f84017cf7d4d531422e8c62bc51-desc.xcbuild
note: Building targets in dependency order
error: The package product 'SnapshotTesting' requires minimum platform version 13.0 for the tvOS platform, but this target supports 11.0 (in target 'KlaviyoSwiftTests' from project 'klaviyo-swift-sdk')
error: The package product 'CustomDump' requires minimum platform version 13.0 for the tvOS platform, but this target supports 11.0 (in target 'KlaviyoSwiftTests' from project 'klaviyo-swift-sdk')
error: The package product 'CombineSchedulers' requires minimum platform version 13.0 for the tvOS platform, but this target supports 11.0 (in target 'KlaviyoSwiftTests' from project 'klaviyo-swift-sdk')
Resolve Package Graph
2024-04-18 19:34:07.633 xcodebuild[63316:2564917] [MT] IDEFileReferenceDebug: [Load] <IDESwiftPackageCore.IDESwiftPackageSpecialFolderFileReference, 0x600001978e00: name:Documentation.docc path:group:Documentation.docc> Failed to load container at path: /Users/admin/builds/Z6YBxSjp/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies/checkouts/xctest-dynamic-overlay/Sources/XCTestDynamicOverlay/Documentation.docc, Error: Error Domain=com.apple.dt.IDEContainerErrorDomain Code=6 "Cannot open "Documentation.docc" as a "Swift Package Folder" because it is already open as a "Folder"." UserInfo={NSLocalizedDescription=Cannot open "Documentation.docc" as a "Swift Package Folder" because it is already open as a "Folder".}
** BUILD FAILED **
Command line invocation:
    /Applications/Xcode-14.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builds/Z6YBxSjp/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies -derivedDataPath /Users/admin/builds/Z6YBxSjp/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData build -scheme klaviyo-swift-sdk-Package -destination generic/platform=tvos
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builds/Z6YBxSjp/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builds/Z6YBxSjp/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolved source packages:
  xctest-dynamic-overlay: https://github.com/pointfreeco/xctest-dynamic-overlay @ 0.6.0
  klaviyo-swift-sdk: /Users/admin/builds/Z6YBxSjp/0/finestructure/swiftpackageindex-builder/spi-builder-workspace
  swift-custom-dump: https://github.com/pointfreeco/swift-custom-dump @ 0.6.1
  swift-snapshot-testing: https://github.com/pointfreeco/swift-snapshot-testing @ 1.10.0
  combine-schedulers: https://github.com/pointfreeco/combine-schedulers @ 0.9.1
  swift-case-paths: https://github.com/pointfreeco/swift-case-paths @ 0.10.1
  AnyCodable: https://github.com/Flight-School/AnyCodable @ 0.6.7
Prepare packages
Computing target dependency graph and provisioning inputs
Create build description
Build description signature: b4f39f84017cf7d4d531422e8c62bc51
Build description path: /Users/admin/builds/Z6YBxSjp/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/b4f39f84017cf7d4d531422e8c62bc51-desc.xcbuild
note: Building targets in dependency order
error: The package product 'SnapshotTesting' requires minimum platform version 13.0 for the tvOS platform, but this target supports 11.0 (in target 'KlaviyoSwiftTests' from project 'klaviyo-swift-sdk')
error: The package product 'CustomDump' requires minimum platform version 13.0 for the tvOS platform, but this target supports 11.0 (in target 'KlaviyoSwiftTests' from project 'klaviyo-swift-sdk')
error: The package product 'CombineSchedulers' requires minimum platform version 13.0 for the tvOS platform, but this target supports 11.0 (in target 'KlaviyoSwiftTests' from project 'klaviyo-swift-sdk')
2024-04-18 19:34:13.750 xcodebuild[63414:2565572] [MT] IDEFileReferenceDebug: [Load] <IDESwiftPackageCore.IDESwiftPackageSpecialFolderFileReference, 0x60000044fa00: name:Documentation.docc path:group:Documentation.docc> Failed to load container at path: /Users/admin/builds/Z6YBxSjp/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies/checkouts/xctest-dynamic-overlay/Sources/XCTestDynamicOverlay/Documentation.docc, Error: Error Domain=com.apple.dt.IDEContainerErrorDomain Code=6 "Cannot open "Documentation.docc" as a "Swift Package Folder" because it is already open as a "Folder"." UserInfo={NSLocalizedDescription=Cannot open "Documentation.docc" as a "Swift Package Folder" because it is already open as a "Folder".}
** BUILD FAILED **
BUILD FAILURE 5.7 tvOS