Build Information
Failed to build swift-ai, reference v0.1.0-alpha.7 (f046e8), with Swift 6.1 for iOS using Xcode 16.3 on 12 Oct 2025 21:07:40 UTC.
Build Command
No build command. This typically means the build failed at an early stage where we determine the build command.Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mi12labs/SwiftAI.git
Reference: v0.1.0-alpha.7
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mi12labs/SwiftAI
* tag v0.1.0-alpha.7 -> FETCH_HEAD
HEAD is now at f046e88 Merge pull request #18 from mi12labs/enums
Cloned https://github.com/mi12labs/SwiftAI.git
Revision (git rev-parse @):
f046e88406a3199e2cc10d5f0959c828ba1e993c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mi12labs/SwiftAI.git at v0.1.0-alpha.7
========================================
Build
========================================
Selected platform: iOS
Swift version: 6.1
Building package at path: $PWD
https://github.com/mi12labs/SwiftAI.git
https://github.com/mi12labs/SwiftAI.git
{
"dependencies" : [
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "510.0.0",
"upper_bound" : "511.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-syntax.git"
},
{
"identity" : "swift-format",
"requirement" : {
"range" : [
{
"lower_bound" : "510.0.0",
"upper_bound" : "511.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-format.git"
},
{
"identity" : "openai",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.6",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/MacPaw/OpenAI.git"
},
{
"identity" : "swift-macro-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "0.6.3",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-macro-testing.git"
},
{
"identity" : "mlx-swift-examples",
"requirement" : {
"range" : [
{
"lower_bound" : "2.25.6",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ml-explore/mlx-swift-examples.git"
}
],
"manifest_display_name" : "swift-ai",
"name" : "swift-ai",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "tvos",
"version" : "17.0"
},
{
"name" : "watchos",
"version" : "10.0"
},
{
"name" : "maccatalyst",
"version" : "17.0"
}
],
"products" : [
{
"name" : "SwiftAI",
"targets" : [
"SwiftAI"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftAIMLX",
"targets" : [
"SwiftAIMLX"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftAIMacros",
"targets" : [
"SwiftAIMacros"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftAITests",
"module_type" : "SwiftTarget",
"name" : "SwiftAITests",
"path" : "Tests/SwiftAITests",
"sources" : [
"Backends/Apple/AppleOnDeviceTests.swift",
"Backends/Apple/FoundationModelsToolAdapterTests.swift",
"Backends/Apple/SchemaConverterTests.swift",
"Backends/Apple/TranscriptConverterTests.swift",
"Backends/Openai/OpenaiLLMTests.swift",
"ChatTests.swift",
"CrashingLLM.swift",
"FakeLLM.swift",
"GenerableTests.swift",
"GuideTests.swift",
"JsonUtils/JsonRepairTests.swift",
"LLMTests.swift",
"PromptTests.swift",
"SchemaTests.swift",
"StructuredContentTests.swift",
"ToolTests.swift"
],
"target_dependencies" : [
"SwiftAI",
"SwiftAILLMTesting"
],
"type" : "test"
},
{
"c99name" : "SwiftAIMacrosTests",
"module_type" : "SwiftTarget",
"name" : "SwiftAIMacrosTests",
"path" : "Tests/SwiftAIMacrosTests",
"product_dependencies" : [
"SwiftSyntaxMacrosTestSupport",
"MacroTesting"
],
"sources" : [
"GenerableMacroTests.swift"
],
"target_dependencies" : [
"SwiftAIMacros"
],
"type" : "test"
},
{
"c99name" : "SwiftAIMacros",
"module_type" : "SwiftTarget",
"name" : "SwiftAIMacros",
"path" : "Sources/SwiftAIMacros",
"product_dependencies" : [
"SwiftSyntaxMacros",
"SwiftCompilerPlugin",
"SwiftFormat"
],
"product_memberships" : [
"SwiftAI",
"SwiftAIMLX",
"SwiftAIMacros"
],
"sources" : [
"GenerableMacro.swift",
"GuideMacro.swift",
"SwiftAIMacros.swift"
],
"type" : "macro"
},
{
"c99name" : "SwiftAIMLXTests",
"module_type" : "SwiftTarget",
"name" : "SwiftAIMLXTests",
"path" : "Tests/SwiftAIMLXTests",
"sources" : [
"MlxLLMTests.swift",
"SchemaToJsonConvertTests.swift"
],
"target_dependencies" : [
"SwiftAIMLX",
"SwiftAILLMTesting",
"SwiftAI"
],
"type" : "test"
},
{
"c99name" : "SwiftAIMLX",
"module_type" : "SwiftTarget",
"name" : "SwiftAIMLX",
"path" : "Sources/SwiftAIMLX",
"product_dependencies" : [
"MLXLMCommon",
"MLXLLM"
],
"product_memberships" : [
"SwiftAIMLX"
],
"sources" : [
"MlxConverters.swift",
"MlxLLM.swift",
"MlxModelManager.swift",
"MlxSession.swift",
"SwiftAIMLX.swift"
],
"target_dependencies" : [
"SwiftAI"
],
"type" : "library"
},
{
"c99name" : "SwiftAILLMTesting",
"module_type" : "SwiftTarget",
"name" : "SwiftAILLMTesting",
"path" : "Tests/SwiftAILLMTesting",
"sources" : [
"LLMBaseTestCases.swift"
],
"target_dependencies" : [
"SwiftAI",
"SwiftAIMacros"
],
"type" : "test"
},
{
"c99name" : "SwiftAI",
"module_type" : "SwiftTarget",
"name" : "SwiftAI",
"path" : "Sources/SwiftAI",
"product_dependencies" : [
"OpenAI"
],
"product_memberships" : [
"SwiftAI",
"SwiftAIMLX"
],
"sources" : [
"Backends/Apple/Schema+Converters.swift",
"Backends/Apple/SystemLLM.swift",
"Backends/Apple/SystemLLMSession.swift",
"Backends/Apple/ToolAdapter.swift",
"Backends/Apple/TranscriptConverters.swift",
"Backends/Openai/OpenaiConverters.swift",
"Backends/Openai/OpenaiLLM.swift",
"Backends/Openai/OpenaiSession.swift",
"Core/Chat.swift",
"Core/Constraint.swift",
"Core/Generable.swift",
"Core/LLM.swift",
"Core/LLMError.swift",
"Core/Message.swift",
"Core/Model.swift",
"Core/Prompt.swift",
"Core/Schema.swift",
"Core/StructuredContent.swift",
"Core/Tool.swift",
"JsonUtils/JsonRepair.swift",
"SwiftAI.swift"
],
"target_dependencies" : [
"SwiftAIMacros"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Fetching from https://github.com/MacPaw/OpenAI.git
Fetching from https://github.com/pointfreeco/swift-macro-testing.git
Fetching from https://github.com/swiftlang/swift-format.git
Fetching from https://github.com/ml-explore/mlx-swift-examples.git
Fetching from https://github.com/swiftlang/swift-syntax.git (cached)
Fetching from https://github.com/apple/swift-openapi-runtime
Fetching from https://github.com/pointfreeco/swift-snapshot-testing (cached)
Fetching from https://github.com/apple/swift-http-types (cached)
Fetching from https://github.com/1024jp/GzipSwift
Fetching from https://github.com/huggingface/swift-transformers
Fetching from https://github.com/ml-explore/mlx-swift
Fetching from https://github.com/huggingface/swift-jinja.git
Fetching from https://github.com/apple/swift-numerics (cached)
Fetching from https://github.com/apple/swift-markdown.git
Fetching from https://github.com/apple/swift-argument-parser.git (cached)
Fetching from https://github.com/apple/swift-collections.git (cached)
Fetching from https://github.com/swiftlang/swift-cmark.git
Fetching from https://github.com/pointfreeco/swift-custom-dump (cached)
Fetching from https://github.com/pointfreeco/xctest-dynamic-overlay (cached)
Creating working copy of package ‘swift-syntax’
Checking out 510.0.3 of package ‘swift-syntax’
Creating working copy of package ‘mlx-swift-examples’
Checking out 2.25.8 of package ‘mlx-swift-examples’
Creating working copy of package ‘swift-collections’
Checking out 1.3.0 of package ‘swift-collections’
Creating working copy of package ‘swift-macro-testing’
Checking out 0.6.4 of package ‘swift-macro-testing’
Creating working copy of package ‘GzipSwift’
Checking out 6.0.1 of package ‘GzipSwift’
Creating working copy of package ‘swift-openapi-runtime’
Checking out 1.8.3 of package ‘swift-openapi-runtime’
Creating working copy of package ‘swift-transformers’
Checking out 1.0.0 of package ‘swift-transformers’
Creating working copy of package ‘swift-numerics’
Checking out 1.1.1 of package ‘swift-numerics’
Creating working copy of package ‘mlx-swift’
Checking out 0.25.6 of package ‘mlx-swift’
Creating working copy of package ‘OpenAI’
Checking out 0.4.6 of package ‘OpenAI’
Creating working copy of package ‘xctest-dynamic-overlay’
Checking out 1.7.0 of package ‘xctest-dynamic-overlay’
Creating working copy of package ‘swift-snapshot-testing’
Checking out 1.18.7 of package ‘swift-snapshot-testing’
Creating working copy of package ‘swift-markdown’
Checking out 0.7.3 of package ‘swift-markdown’
Creating working copy of package ‘swift-argument-parser’
Checking out 1.6.2 of package ‘swift-argument-parser’
Creating working copy of package ‘swift-cmark’
Checking out 0.7.0 of package ‘swift-cmark’
Creating working copy of package ‘swift-format’
Checking out 510.1.0 of package ‘swift-format’
Creating working copy of package ‘swift-http-types’
Checking out 1.4.0 of package ‘swift-http-types’
Creating working copy of package ‘swift-custom-dump’
Checking out 1.3.3 of package ‘swift-custom-dump’
Creating working copy of package ‘swift-jinja’
Checking out 2.1.0 of package ‘swift-jinja’
'swift-format' dependency on 'https://github.com/apple/swift-syntax.git' conflicts with dependency on 'https://github.com/swiftlang/swift-syntax.git' which has the same identity 'swift-syntax'. this will be escalated to an error in future versions of SwiftPM.Target “SwiftAITests” depends on a test target (“SwiftAILLMTesting”)Target “SwiftAIMLXTests” depends on a test target (“SwiftAILLMTesting”)Resolve Package Graph
'swift-format' dependency on 'https://github.com/apple/swift-syntax.git' conflicts with dependency on 'https://github.com/swiftlang/swift-syntax.git' which has the same identity 'swift-syntax'. this will be escalated to an error in future versions of SwiftPM.Target “SwiftAITests” depends on a test target (“SwiftAILLMTesting”)Target “SwiftAIMLXTests” depends on a test target (“SwiftAILLMTesting”)
Resolved source packages:
spi-builder-workspace: (null)
2025-10-12 14:07:38.104 xcodebuild[544:3107] Writing error result bundle to /var/folders/5k/5yc19ymj0jqd5v0zvgfqz0xw0000gn/T/ResultBundle_2025-12-10_14-07-0038.xcresult
xcodebuild: error: Could not resolve package dependencies:
Target “SwiftAITests” depends on a test target (“SwiftAILLMTesting”)
Target “SwiftAIMLXTests” depends on a test target (“SwiftAILLMTesting”)
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
'swift-format' dependency on 'https://github.com/apple/swift-syntax.git' conflicts with dependency on 'https://github.com/swiftlang/swift-syntax.git' which has the same identity 'swift-syntax'. this will be escalated to an error in future versions of SwiftPM.Target “SwiftAITests” depends on a test target (“SwiftAILLMTesting”)Target “SwiftAIMLXTests” depends on a test target (“SwiftAILLMTesting”)
Resolved source packages:
spi-builder-workspace: (null)
2025-10-12 14:07:40.552 xcodebuild[1477:7088] Writing error result bundle to /var/folders/5k/5yc19ymj0jqd5v0zvgfqz0xw0000gn/T/ResultBundle_2025-12-10_14-07-0040.xcresult
xcodebuild: error: Could not resolve package dependencies:
Target “SwiftAITests” depends on a test target (“SwiftAILLMTesting”)
Target “SwiftAIMLXTests” depends on a test target (“SwiftAILLMTesting”)
BUILD FAILURE 6.1 iOS