The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build MagicBell, reference main (8bd2e4), with Swift 5.9 for iOS using Xcode 15.2 on 17 Dec 2024 13:36:05 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme MagicBell -destination generic/platform=iOS

Build Log

========================================
RunAll
========================================
Builder version: 4.59.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/magicbell/magicbell-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/magicbell/magicbell-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8bd2e47 fix: readme carthage version
Cloned https://github.com/magicbell/magicbell-swift.git
Revision (git rev-parse @):
8bd2e4734259681c2733aec2e1d29abd2dba17e0
SUCCESS checkout https://github.com/magicbell/magicbell-swift.git at main
========================================
Build
========================================
Selected platform:         iOS
Swift version:             5.9
Building package at path:  $PWD
https://github.com/magicbell/magicbell-swift.git
Command line invocation:
    /Applications/Xcode-15.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEPackageSupportUseBuiltinSCM = YES
resolved source packages:
{
  "dependencies" : [
    {
      "identity" : "harmony-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mobilejazz/harmony-swift"
    },
    {
      "identity" : "ably-cocoa",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.27",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ably/ably-cocoa"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "12.0.0",
            "upper_bound" : "13.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble.git"
    }
  ],
  "manifest_display_name" : "MagicBell",
  "name" : "MagicBell",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "MagicBell",
      "targets" : [
        "MagicBell"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MagicBellTests",
      "module_type" : "SwiftTarget",
      "name" : "MagicBellTests",
      "path" : "Tests",
      "product_dependencies" : [
        "Nimble"
      ],
      "sources" : [
        "Common/Utils/BoolObjectMother.swift",
        "Common/Utils/IntMotherObject.swift",
        "Common/Utils/ResultUtils.swift",
        "Common/Utils/StringMotherObject.swift",
        "Features/Config/DeleteConfigMockInteractor.swift",
        "Features/Config/GetConfigMockInteractor.swift",
        "Features/Notification/NotificationMotherObject.swift",
        "Features/Notification/Utils/ContentObserverMock.swift",
        "Features/Notification/Utils/CountObserverMock.swift",
        "Features/NotificationPreferences/Data/NotificationPreferencesEntityTests.swift",
        "Features/Store/Mock/ActionNotificationMockInteractor.swift",
        "Features/Store/Mock/DeleteNotificationMockInteractor.swift",
        "Features/Store/Mock/FetchStorePageMockInteractor.swift",
        "Features/Store/Mother Object/StorePageMotherObject.swift",
        "Features/Store/NotificationStoreCombineTests.swift",
        "Features/Store/NotificationStoreRealTimeTests.swift",
        "Features/Store/NotificationStoreTests.swift",
        "Features/Store/NotificationValidatorTests.swift",
        "Features/Store/Utils/InitialNotificationStoreCounts.swift",
        "Features/StoreRealTime/Mock/StoreRealTimeMock.swift",
        "MagicBellTests.swift"
      ],
      "target_dependencies" : [
        "MagicBell"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MagicBell",
      "module_type" : "SwiftTarget",
      "name" : "MagicBell",
      "path" : "Source",
      "product_dependencies" : [
        "Harmony",
        "Ably"
      ],
      "product_memberships" : [
        "MagicBell"
      ],
      "sources" : [
        "Common/Environment/Environment.swift",
        "Common/Error/ErrorEntity.swift",
        "Common/Error/MagicBellError.swift",
        "Common/Error/MappingError.swift",
        "Common/Error/NetworkError.swift",
        "Common/Extension/CodingKey+JSON.swift",
        "Common/Extension/String+Data.swift",
        "Common/Logger/LogLevel.swift",
        "Common/Network/DataToDecodableMapper.swift",
        "Common/Network/EncodableToDataMapper.swift",
        "Common/Network/HttpClient.swift",
        "Common/Query/UserQuery.swift",
        "Features/APNSToken/APNSEnvironment.swift",
        "Features/APNSToken/APNSToken.swift",
        "Features/APNSToken/APNSTokenDirector.swift",
        "Features/APNSToken/APNSTokenProvider.swift",
        "Features/APNSToken/Data/APNSTokenNetworkDataSource.swift",
        "Features/APNSToken/Data/DeleteAPNSTokenQuery.swift",
        "Features/APNSToken/Data/RegisterAPNSTokenQuery.swift",
        "Features/APNSToken/Interactor/DeleteAPNSTokenInteractor.swift",
        "Features/APNSToken/Interactor/RegisterAPNSTokensInteractor.swift",
        "Features/Config/Config.swift",
        "Features/Config/ConfigProvider.swift",
        "Features/Config/Data/ConfigNetworkDataSource.swift",
        "Features/Config/Interactor/DeleteConfigInteractor.swift",
        "Features/Config/Interactor/GetConfigInteractor.swift",
        "Features/Notification/Data/ActionNotificationNetworkDataSource.swift",
        "Features/Notification/Data/NotificationNetworkDataSource.swift",
        "Features/Notification/Data/NotificationQuery.swift",
        "Features/Notification/Interactor/ActionNotificationInteractor.swift",
        "Features/Notification/Interactor/DeleteNotificationInteractor.swift",
        "Features/Notification/Interactor/GetNotificationInteractor.swift",
        "Features/Notification/Notification.swift",
        "Features/Notification/NotificationProvider.swift",
        "Features/NotificationPreferences/Data/NotificationPreferencesEntity.swift",
        "Features/NotificationPreferences/Data/NotificationPreferencesNetworkDataSource.swift",
        "Features/NotificationPreferences/Interactor/GetNotificationPreferencesInteractor.swift",
        "Features/NotificationPreferences/Interactor/UpdateNotificationPreferencesInteractor.swift",
        "Features/NotificationPreferences/NotificationPreferences.swift",
        "Features/NotificationPreferences/NotificationPreferencesDirector.swift",
        "Features/NotificationPreferences/NotificationPreferencesMapper.swift",
        "Features/NotificationPreferences/NotificationPreferencesProvider.swift",
        "Features/Store/Data/StoreContext+QueryItems.swift",
        "Features/Store/Data/StoreDataSource.swift",
        "Features/Store/Data/StoreQuery.swift",
        "Features/Store/Interactor/FetchStorePageInteractor.swift",
        "Features/Store/Interactor/GetStorePagesInteractor.swift",
        "Features/Store/NotificationStore.swift",
        "Features/Store/NotificationStoreCombine.swift",
        "Features/Store/NotificationStoreObserver.swift",
        "Features/Store/NotificationStorePublisher.swift",
        "Features/Store/NotificationValidator.swift",
        "Features/Store/StoreContext.swift",
        "Features/Store/StoreDirector.swift",
        "Features/Store/StorePage.swift",
        "Features/Store/StorePagePredicate.swift",
        "Features/Store/StorePredicate.swift",
        "Features/Store/StoreProvider.swift",
        "Features/StoreRealTime/AblyConnector.swift",
        "Features/StoreRealTime/AblyMessageProcessor.swift",
        "Features/StoreRealTime/StoreRealTime.swift",
        "Features/StoreRealTime/StoreRealTimeProvider.swift",
        "MagicBellClient.swift",
        "SDKProvider.swift",
        "User.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
{
  "project" : {
    "configurations" : [
      "Debug",
      "Release"
    ],
    "name" : "MagicBell",
    "schemes" : [
      "MagicBell-iOS",
      "MagicBell-macOS",
      "MagicBellTests"
    ],
    "targets" : [
      "MagicBell-iOS",
      "MagicBellTests",
      "MagicBell-macOS"
    ]
  }
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "MagicBell"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme MagicBell -destination generic/platform=iOS
Command line invocation:
    /Applications/Xcode-15.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme MagicBell -destination generic/platform=iOS
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  Harmony: https://github.com/mobilejazz/harmony-swift @ 2.0.2
  AblyDeltaCodec: https://github.com/ably/delta-codec-cocoa @ 1.3.3
  ably-cocoa: https://github.com/ably/ably-cocoa @ 1.2.35
  MagicBell: /Users/admin/builder/spi-builder-workspace
  CwlCatchException: https://github.com/mattgallagher/CwlCatchException.git @ 2.2.1
  msgpack: https://github.com/rvi/msgpack-objective-C @ 0.4.0
  CwlPreconditionTesting: https://github.com/mattgallagher/CwlPreconditionTesting.git @ 2.2.2
  Nimble: https://github.com/Quick/Nimble.git @ 12.3.0
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (21 targets)
    Target 'MagicBellTests' in project 'MagicBell'
        ➜ Explicit dependency on target 'MagicBell' in project 'MagicBell'
        ➜ Explicit dependency on target 'Harmony' in project 'Harmony'
        ➜ Explicit dependency on target 'Ably' in project 'ably-cocoa'
        ➜ Explicit dependency on target 'Nimble' in project 'Nimble'
    Target 'Nimble' in project 'Nimble'
        ➜ Explicit dependency on target 'Nimble' in project 'Nimble'
        ➜ Explicit dependency on target 'NimbleObjectiveC' in project 'Nimble'
        ➜ Explicit dependency on target 'CwlPreconditionTesting' in project 'CwlPreconditionTesting'
    Target 'NimbleObjectiveC' in project 'Nimble'
        ➜ Explicit dependency on target 'Nimble' in project 'Nimble'
        ➜ Explicit dependency on target 'CwlPreconditionTesting' in project 'CwlPreconditionTesting'
    Target 'Nimble' in project 'Nimble'
        ➜ Explicit dependency on target 'CwlPreconditionTesting' in project 'CwlPreconditionTesting'
    Target 'CwlPreconditionTesting' in project 'CwlPreconditionTesting'
        ➜ Explicit dependency on target 'CwlPreconditionTesting' in project 'CwlPreconditionTesting'
        ➜ Explicit dependency on target 'CwlMachBadInstructionHandler' in project 'CwlPreconditionTesting'
        ➜ Explicit dependency on target 'CwlCatchException' in project 'CwlCatchException'
    Target 'CwlPreconditionTesting' in project 'CwlPreconditionTesting'
        ➜ Explicit dependency on target 'CwlMachBadInstructionHandler' in project 'CwlPreconditionTesting'
        ➜ Explicit dependency on target 'CwlCatchException' in project 'CwlCatchException'
    Target 'CwlCatchException' in project 'CwlCatchException'
        ➜ Explicit dependency on target 'CwlCatchException' in project 'CwlCatchException'
        ➜ Explicit dependency on target 'CwlCatchExceptionSupport' in project 'CwlCatchException'
    Target 'CwlCatchException' in project 'CwlCatchException'
        ➜ Explicit dependency on target 'CwlCatchExceptionSupport' in project 'CwlCatchException'
    Target 'CwlCatchExceptionSupport' in project 'CwlCatchException' (no dependencies)
    Target 'CwlMachBadInstructionHandler' in project 'CwlPreconditionTesting' (no dependencies)
    Target 'MagicBell' in project 'MagicBell'
        ➜ Explicit dependency on target 'MagicBell' in project 'MagicBell'
        ➜ Explicit dependency on target 'Harmony' in project 'Harmony'
        ➜ Explicit dependency on target 'Ably' in project 'ably-cocoa'
    Target 'MagicBell' in project 'MagicBell'
        ➜ Explicit dependency on target 'Harmony' in project 'Harmony'
        ➜ Explicit dependency on target 'Ably' in project 'ably-cocoa'
    Target 'Ably' in project 'ably-cocoa'
        ➜ Explicit dependency on target 'Ably' in project 'ably-cocoa'
        ➜ Explicit dependency on target 'ably-cocoa_Ably' in project 'ably-cocoa'
        ➜ Explicit dependency on target 'msgpack' in project 'msgpack'
        ➜ Explicit dependency on target 'AblyDeltaCodec' in project 'AblyDeltaCodec'
    Target 'Ably' in project 'ably-cocoa'
        ➜ Explicit dependency on target 'ably-cocoa_Ably' in project 'ably-cocoa'
        ➜ Explicit dependency on target 'msgpack' in project 'msgpack'
        ➜ Explicit dependency on target 'AblyDeltaCodec' in project 'AblyDeltaCodec'
    Target 'AblyDeltaCodec' in project 'AblyDeltaCodec'
        ➜ Explicit dependency on target 'AblyDeltaCodec' in project 'AblyDeltaCodec'
    Target 'AblyDeltaCodec' in project 'AblyDeltaCodec' (no dependencies)
    Target 'msgpack' in project 'msgpack'
        ➜ Explicit dependency on target 'msgpack' in project 'msgpack'
    Target 'msgpack' in project 'msgpack' (no dependencies)
    Target 'ably-cocoa_Ably' in project 'ably-cocoa' (no dependencies)
    Target 'Harmony' in project 'Harmony'
        ➜ Explicit dependency on target 'Harmony' in project 'Harmony'
    Target 'Harmony' in project 'Harmony' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
Build description signature: 5f9e48e1a04f5043377c1d6e727d9fad
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/5f9e48e1a04f5043377c1d6e727d9fad.xcbuilddata
error: The package product 'Nimble' requires minimum platform version 13.0 for the iOS platform, but this target supports 12.0 (in target 'MagicBellTests' from project 'MagicBell')
Resolve Package Graph
** BUILD FAILED **
Command line invocation:
    /Applications/Xcode-15.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme MagicBell -destination generic/platform=iOS
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolved source packages:
  MagicBell: /Users/admin/builder/spi-builder-workspace
  CwlCatchException: https://github.com/mattgallagher/CwlCatchException.git @ 2.2.1
  Nimble: https://github.com/Quick/Nimble.git @ 12.3.0
  CwlPreconditionTesting: https://github.com/mattgallagher/CwlPreconditionTesting.git @ 2.2.2
  ably-cocoa: https://github.com/ably/ably-cocoa @ 1.2.35
  AblyDeltaCodec: https://github.com/ably/delta-codec-cocoa @ 1.3.3
  Harmony: https://github.com/mobilejazz/harmony-swift @ 2.0.2
  msgpack: https://github.com/rvi/msgpack-objective-C @ 0.4.0
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (21 targets)
    Target 'MagicBellTests' in project 'MagicBell'
        ➜ Explicit dependency on target 'MagicBell' in project 'MagicBell'
        ➜ Explicit dependency on target 'Harmony' in project 'Harmony'
        ➜ Explicit dependency on target 'Ably' in project 'ably-cocoa'
        ➜ Explicit dependency on target 'Nimble' in project 'Nimble'
    Target 'Nimble' in project 'Nimble'
        ➜ Explicit dependency on target 'Nimble' in project 'Nimble'
        ➜ Explicit dependency on target 'NimbleObjectiveC' in project 'Nimble'
        ➜ Explicit dependency on target 'CwlPreconditionTesting' in project 'CwlPreconditionTesting'
    Target 'NimbleObjectiveC' in project 'Nimble'
        ➜ Explicit dependency on target 'Nimble' in project 'Nimble'
        ➜ Explicit dependency on target 'CwlPreconditionTesting' in project 'CwlPreconditionTesting'
    Target 'Nimble' in project 'Nimble'
        ➜ Explicit dependency on target 'CwlPreconditionTesting' in project 'CwlPreconditionTesting'
    Target 'CwlPreconditionTesting' in project 'CwlPreconditionTesting'
        ➜ Explicit dependency on target 'CwlPreconditionTesting' in project 'CwlPreconditionTesting'
        ➜ Explicit dependency on target 'CwlMachBadInstructionHandler' in project 'CwlPreconditionTesting'
        ➜ Explicit dependency on target 'CwlCatchException' in project 'CwlCatchException'
    Target 'CwlPreconditionTesting' in project 'CwlPreconditionTesting'
        ➜ Explicit dependency on target 'CwlMachBadInstructionHandler' in project 'CwlPreconditionTesting'
        ➜ Explicit dependency on target 'CwlCatchException' in project 'CwlCatchException'
    Target 'CwlCatchException' in project 'CwlCatchException'
        ➜ Explicit dependency on target 'CwlCatchException' in project 'CwlCatchException'
        ➜ Explicit dependency on target 'CwlCatchExceptionSupport' in project 'CwlCatchException'
    Target 'CwlCatchException' in project 'CwlCatchException'
        ➜ Explicit dependency on target 'CwlCatchExceptionSupport' in project 'CwlCatchException'
    Target 'CwlCatchExceptionSupport' in project 'CwlCatchException' (no dependencies)
    Target 'CwlMachBadInstructionHandler' in project 'CwlPreconditionTesting' (no dependencies)
    Target 'MagicBell' in project 'MagicBell'
        ➜ Explicit dependency on target 'MagicBell' in project 'MagicBell'
        ➜ Explicit dependency on target 'Harmony' in project 'Harmony'
        ➜ Explicit dependency on target 'Ably' in project 'ably-cocoa'
    Target 'MagicBell' in project 'MagicBell'
        ➜ Explicit dependency on target 'Harmony' in project 'Harmony'
        ➜ Explicit dependency on target 'Ably' in project 'ably-cocoa'
    Target 'Ably' in project 'ably-cocoa'
        ➜ Explicit dependency on target 'Ably' in project 'ably-cocoa'
        ➜ Explicit dependency on target 'ably-cocoa_Ably' in project 'ably-cocoa'
        ➜ Explicit dependency on target 'msgpack' in project 'msgpack'
        ➜ Explicit dependency on target 'AblyDeltaCodec' in project 'AblyDeltaCodec'
    Target 'Ably' in project 'ably-cocoa'
        ➜ Explicit dependency on target 'ably-cocoa_Ably' in project 'ably-cocoa'
        ➜ Explicit dependency on target 'msgpack' in project 'msgpack'
        ➜ Explicit dependency on target 'AblyDeltaCodec' in project 'AblyDeltaCodec'
    Target 'AblyDeltaCodec' in project 'AblyDeltaCodec'
        ➜ Explicit dependency on target 'AblyDeltaCodec' in project 'AblyDeltaCodec'
    Target 'AblyDeltaCodec' in project 'AblyDeltaCodec' (no dependencies)
    Target 'msgpack' in project 'msgpack'
        ➜ Explicit dependency on target 'msgpack' in project 'msgpack'
    Target 'msgpack' in project 'msgpack' (no dependencies)
    Target 'ably-cocoa_Ably' in project 'ably-cocoa' (no dependencies)
    Target 'Harmony' in project 'Harmony'
        ➜ Explicit dependency on target 'Harmony' in project 'Harmony'
    Target 'Harmony' in project 'Harmony' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
Build description signature: 5f9e48e1a04f5043377c1d6e727d9fad
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/5f9e48e1a04f5043377c1d6e727d9fad.xcbuilddata
error: The package product 'Nimble' requires minimum platform version 13.0 for the iOS platform, but this target supports 12.0 (in target 'MagicBellTests' from project 'MagicBell')
** BUILD FAILED **
BUILD FAILURE 5.9 iOS