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 MagicBell, reference 2.0.0 (7afba6), with Swift 5.9 for iOS using Xcode 15.2 on 9 Oct 2024 19:58:16 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.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/magicbell/magicbell-swift.git
Reference: 2.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/magicbell/magicbell-swift
 * tag               2.0.0      -> FETCH_HEAD
HEAD is now at 7afba6c feat: APNS Token API
Cloned https://github.com/magicbell/magicbell-swift.git
Revision (git rev-parse @):
7afba6cf186b828a181d9dfdcf875f96f17fb089
SUCCESS checkout https://github.com/magicbell/magicbell-swift.git at 2.0.0
========================================
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/Network/GraphQL/NotificationEdgeMotherObject.swift",
        "Common/Network/GraphQL/PageInfoMotherObject.swift",
        "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/GraphQL/CursorPredicate.swift",
        "Common/Network/GraphQL/Edge.swift",
        "Common/Network/GraphQL/GraphQLFragment.swift",
        "Common/Network/GraphQL/GraphQLRepresentable.swift",
        "Common/Network/GraphQL/GraphQLRequest.swift",
        "Common/Network/GraphQL/GraphQLResponse.swift",
        "Common/Network/GraphQL/PageInfo.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/StoreGraphQLRepresentableExtensions.swift",
        "Features/Store/Data/StoreQuery.swift",
        "Features/Store/Data/StoresGraphQLDataSource.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/StorePredicate.swift",
        "Features/Store/StoreProvider.swift",
        "Features/Store/Stores.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:
  AblyDeltaCodec: https://github.com/ably/delta-codec-cocoa @ 1.3.3
  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
  Nimble: https://github.com/Quick/Nimble.git @ 12.3.0
  ably-cocoa: https://github.com/ably/ably-cocoa @ 1.2.33
  Harmony: https://github.com/mobilejazz/harmony-swift @ 2.0.2
  CwlPreconditionTesting: https://github.com/mattgallagher/CwlPreconditionTesting.git @ 2.2.2
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: c7fbfbcabf5c057c01fd7caf6ad0a4a9
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/c7fbfbcabf5c057c01fd7caf6ad0a4a9.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:
  CwlCatchException: https://github.com/mattgallagher/CwlCatchException.git @ 2.2.1
  Harmony: https://github.com/mobilejazz/harmony-swift @ 2.0.2
  AblyDeltaCodec: https://github.com/ably/delta-codec-cocoa @ 1.3.3
  msgpack: https://github.com/rvi/msgpack-objective-C @ 0.4.0
  ably-cocoa: https://github.com/ably/ably-cocoa @ 1.2.33
  Nimble: https://github.com/Quick/Nimble.git @ 12.3.0
  CwlPreconditionTesting: https://github.com/mattgallagher/CwlPreconditionTesting.git @ 2.2.2
  MagicBell: /Users/admin/builder/spi-builder-workspace
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: c7fbfbcabf5c057c01fd7caf6ad0a4a9
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/c7fbfbcabf5c057c01fd7caf6ad0a4a9.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