Build Information
Failed to build MapboxMobileEvents with Swift 6.0 (beta) for visionOS using Xcode 16.0.
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
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 ec58500 Rename variable to use secret shared with other projects. (#356)
Cloned https://github.com/mapbox/mapbox-events-ios.git
Revision (git rev-parse @):
ec58500f50b3386fe53f8882a23eb0e08b1636c1
SUCCESS checkout https://github.com/mapbox/mapbox-events-ios.git at main
========================================
Build
========================================
Selected platform: visionOS
Swift version: 6.0
Building package at path: $workDir
https://github.com/mapbox/mapbox-events-ios.git
Command line invocation:
/Applications/Xcode-15.3.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
IDEPackageSupportToolchainOverrideForManifestLoading = org.swift.600202405261a
IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
TOOLCHAINS = org.swift.600202405261a
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-06-01 02:45:39.627 xcodebuild[721:3998] Writing error result bundle to /var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/ResultBundle_2024-01-06_02-45-0039.xcresult
xcodebuild: error: Could not resolve package dependencies:
failed downloading 'https://api.mapbox.com/downloads/v2/mapbox-events-ios/releases/ios/packages/1.0.10/MapboxMobileEvents.zip' which is required by binary target 'MapboxMobileEvents': badResponseStatusCode(401)
fatalError
GENERIC FAILURE 6.0 visionOS