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 MapboxMobileEvents with Swift 5.10 for iOS using Xcode 15.4.

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mapbox/mapbox-events-ios.git
Reference: v2.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mapbox/mapbox-events-ios
 * tag               v2.0.0     -> FETCH_HEAD
HEAD is now at 990bab7 Update Package.swift (#362)
Cloned https://github.com/mapbox/mapbox-events-ios.git
Revision (git rev-parse @):
990bab73cf50242a05f29b6a9cfeb30592150c13
SUCCESS checkout https://github.com/mapbox/mapbox-events-ios.git at v2.0.0
========================================
Build
========================================
Selected platform:         iOS
Swift version:             5.10
Building package at path:  $PWD
https://github.com/mapbox/mapbox-events-ios.git
Command line invocation:
    /Applications/Xcode-15.4.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:
{
  "cxx_language_standard" : "c++14",
  "dependencies" : [
  ],
  "manifest_display_name" : "MapboxMobileEvents",
  "name" : "MapboxMobileEvents",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "MapboxMobileEvents",
      "targets" : [
        "MapboxMobileEvents"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MapboxMobileEventsTests",
      "module_type" : "ClangTarget",
      "name" : "MapboxMobileEventsTests",
      "path" : "Tests/MapboxMobileEventsTests",
      "sources" : [
        "Fakes/MMEAPIClientFake.m",
        "Fakes/MMEBundleInfoFake.m",
        "Fakes/MMEDateFakes.m",
        "Fakes/MMEDispatchManagerFake.m",
        "Fakes/MMEEventFake.m",
        "Fakes/MMELocationManagerFake.m",
        "Fakes/MMENSURLSessionWrapperFake.m",
        "Fakes/MMETimerManagerFake.m",
        "Fakes/MMEUIApplicationWrapperFake.m",
        "Fakes/MMEUniqueIdentifierFake.m",
        "MMEAPIClientTests.m",
        "MMEAPIConfigTests.m",
        "MMECertPinTests.m",
        "MMEDateTests.m",
        "MMEEventTests.m",
        "MMEEventsManagerTests.m",
        "MMELocationManagerTests.m",
        "MMEMetricsManagerTests.m",
        "MMERunningLockTests.m",
        "MMETimerManagerTests.m",
        "MMEUniqueIdentifierTests.m",
        "NSProcessInfoTests+SystemInfo.m",
        "NSString+MMEVersions_Tests.m",
        "NSUserDefaults+MMEConfigurationTests.m",
        "Utilities/MMEExceptionalDictionary.m",
        "Utilities/MMERunningLock.m",
        "Utilities/MMEServiceFixture.m",
        "Utilities/MMETestStub.m"
      ],
      "target_dependencies" : [
        "MapboxMobileEvents"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MapboxMobileEventsSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "MapboxMobileEventsSwiftTests",
      "path" : "Tests/MapboxMobileEventsSwiftTests",
      "sources" : [
        "MMESwiftTests.swift"
      ],
      "target_dependencies" : [
        "MapboxMobileEvents"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MapboxMobileEvents",
      "module_type" : "BinaryTarget",
      "name" : "MapboxMobileEvents",
      "path" : "remote/archive/MapboxMobileEvents.zip",
      "product_memberships" : [
        "MapboxMobileEvents"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "5.3"
}
warning: 'spi-builder-workspace': "Mapbox token wasn\'t founded in ~/.netrc. Fix this issue to integrate Mapbox SDK. Otherwise, you will see \'invalid status code 401\' or \'no XCFramework found. To clean issue in Xcode, remove ~/Library/Developer/Xcode/DerivedData folder"
{
  "project" : {
    "configurations" : [
      "Debug",
      "Release"
    ],
    "name" : "MapboxMobileEvents",
    "schemes" : [
      "MapboxMobileEvents",
      "MapboxMobileEventsTests",
      "MMETestHost"
    ],
    "targets" : [
      "MapboxMobileEvents",
      "MapboxMobileEventsTests",
      "MapboxMobileEventsCedarTests",
      "MMETestHost"
    ]
  }
}
2024-09-18 15:00:51.026 xcodebuild[527:3053] Writing error result bundle to /var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/ResultBundle_2024-18-09_15-00-0051.xcresult
xcodebuild: error: Could not resolve package dependencies:
  failed downloading 'https://api.mapbox.com/downloads/v2/mapbox-events-ios/releases/ios/packages/2.0.0/MapboxMobileEvents.zip' which is required by binary target 'MapboxMobileEvents': badResponseStatusCode(401)
  fatalError
GENERIC FAILURE 5.10 iOS