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 macOS (Xcode) using Xcode 15.4.

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.54.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mapbox/mapbox-events-ios.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mapbox/mapbox-events-ios
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         macosXcodebuild
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-19 09:45:01.848 xcodebuild[528:3020] Writing error result bundle to /var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/ResultBundle_2024-19-09_09-45-0001.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 macosXcodebuild