The Swift Package Index logo.Swift Package Index

Build Information

Failed to build mlx-swift, reference 0.10.0 (7838f8), with Swift 6.4 for macOS (Xcode) using Xcode 27.0 on 25 Sep 2026 16:30:34 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme mlx-swift-Package -destination platform=macOS,arch=arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DePasqualeOrg/mlx-swift.git
Reference: 0.10.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/DePasqualeOrg/mlx-swift
 * tag               0.10.0     -> FETCH_HEAD
HEAD is now at 7838f8c adopt latest mlx-c and mlx v0.3.0 (#6)
Submodule path 'Source/Cmlx/mlx': checked out 'bf7cd29970b603ed3e177cb2f4f6dc246a653555'
Submodule path 'Source/Cmlx/mlx-c': checked out '096e4196354f0e72331140f6049c1c1d15719cbe'
Submodule 'submodules/mlx' (https://github.com/ml-explore/mlx) registered for path 'Source/Cmlx/mlx'
Submodule 'submodules/mlx-c' (https://github.com/ml-explore/mlx-c) registered for path 'Source/Cmlx/mlx-c'
Cloning into '/Users/admin/builder/spi-builder-workspace/Source/Cmlx/mlx'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Source/Cmlx/mlx-c'...
From https://github.com/ml-explore/mlx-c
 * branch            096e4196354f0e72331140f6049c1c1d15719cbe -> FETCH_HEAD
Cloned https://github.com/DePasqualeOrg/mlx-swift.git
Revision (git rev-parse @):
7838f8cd93499f3d9e9a35b87cb74fe2664b325f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/DePasqualeOrg/mlx-swift.git at 0.10.0
========================================
Build
========================================
Selected platform:         macosXcodebuild
Swift version:             6.4
Building package at path:  $PWD
https://github.com/DePasqualeOrg/mlx-swift.git
Command line invocation:
    /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Fetching from https://github.com/apple/swift-numerics
Creating working copy of package ‘swift-numerics’
Checking out 1.1.1 of package ‘swift-numerics’
Resolve Package Graph
Resolved source packages:
  swift-numerics: https://github.com/apple/swift-numerics @ 1.1.1
  mlx-swift: /Users/admin/builder/spi-builder-workspace
resolved source packages: swift-numerics, mlx-swift
2026-09-25 12:29:55.442 xcodebuild[565:3160] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "cxx_language_standard" : "gnu++17",
  "dependencies" : [
    {
      "identity" : "swift-numerics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-numerics"
    }
  ],
  "manifest_display_name" : "mlx-swift",
  "name" : "mlx-swift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.3"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "MLX",
      "targets" : [
        "MLX"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MLXRandom",
      "targets" : [
        "MLXRandom"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MLXNN",
      "targets" : [
        "MLXNN"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MLXOptimizers",
      "targets" : [
        "MLXOptimizers"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MLXFFT",
      "targets" : [
        "MLXFFT"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MLXLinalg",
      "targets" : [
        "MLXLinalg"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PrepareMetalShaders",
      "targets" : [
        "PrepareMetalShaders"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "Tutorial",
      "targets" : [
        "Tutorial"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "GenerateGrad",
      "targets" : [
        "GenerateGrad"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "Example1",
      "targets" : [
        "Example1"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Tutorial",
      "module_type" : "SwiftTarget",
      "name" : "Tutorial",
      "path" : "Source/Examples",
      "product_memberships" : [
        "Tutorial"
      ],
      "sources" : [
        "Tutorial.swift"
      ],
      "target_dependencies" : [
        "MLX"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "PrepareMetalShaders",
      "module_type" : "PluginTarget",
      "name" : "PrepareMetalShaders",
      "path" : "Plugins/PrepareMetalShaders",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "MLX",
        "MLXRandom",
        "MLXNN",
        "MLXOptimizers",
        "MLXFFT",
        "MLXLinalg",
        "PrepareMetalShaders",
        "Tutorial",
        "Example1"
      ],
      "sources" : [
        "main.swift"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "MLXTests",
      "module_type" : "SwiftTarget",
      "name" : "MLXTests",
      "path" : "Tests/MLXTests",
      "sources" : [
        "IntegrationTests.swift",
        "LinalgTests.swift",
        "MLXArray+IndexingTests.swift",
        "MLXArray+InitTests.swift",
        "MLXArray+OpsTests.swift",
        "MLXArrayTests.swift",
        "MLXRandomTests.swift",
        "ModuleTests.swift",
        "NestedTests.swift",
        "OpsTests.swift",
        "OptimizerTests.swift",
        "PoolingTests.swift",
        "SubclassTests.swift",
        "TransformTests.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "MLX",
        "MLXRandom",
        "MLXNN",
        "MLXOptimizers",
        "MLXFFT",
        "MLXLinalg"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MLXRandom",
      "module_type" : "SwiftTarget",
      "name" : "MLXRandom",
      "path" : "Source/MLXRandom",
      "product_memberships" : [
        "MLXRandom",
        "MLXNN",
        "MLXOptimizers"
      ],
      "sources" : [
        "Foundation+Util.swift",
        "Random.swift",
        "State.swift"
      ],
      "target_dependencies" : [
        "MLX"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MLXOptimizers",
      "module_type" : "SwiftTarget",
      "name" : "MLXOptimizers",
      "path" : "Source/MLXOptimizers",
      "product_memberships" : [
        "MLXOptimizers"
      ],
      "sources" : [
        "Optimizers.swift"
      ],
      "target_dependencies" : [
        "MLX",
        "MLXNN"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MLXNN",
      "module_type" : "SwiftTarget",
      "name" : "MLXNN",
      "path" : "Source/MLXNN",
      "product_memberships" : [
        "MLXNN",
        "MLXOptimizers"
      ],
      "sources" : [
        "Activations.swift",
        "Cache.swift",
        "Containers.swift",
        "Convolution.swift",
        "Dropout.swift",
        "Embedding.swift",
        "Linear.swift",
        "Losses.swift",
        "Module.swift",
        "Normalization.swift",
        "Pooling.swift",
        "PositionalEncoding.swift",
        "Quantized.swift",
        "Transformer.swift",
        "ValueAndGrad.swift"
      ],
      "target_dependencies" : [
        "MLX",
        "MLXRandom"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MLXLinalg",
      "module_type" : "SwiftTarget",
      "name" : "MLXLinalg",
      "path" : "Source/MLXLinalg",
      "product_memberships" : [
        "MLXLinalg"
      ],
      "sources" : [
        "Cmlx+Util.swift",
        "Foundation+Util.swift",
        "Linalg.swift"
      ],
      "target_dependencies" : [
        "MLX"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MLXFFT",
      "module_type" : "SwiftTarget",
      "name" : "MLXFFT",
      "path" : "Source/MLXFFT",
      "product_memberships" : [
        "MLXFFT"
      ],
      "sources" : [
        "FFT.swift",
        "Foundation+Util.swift"
      ],
      "target_dependencies" : [
        "MLX"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MLX",
      "module_type" : "SwiftTarget",
      "name" : "MLX",
      "path" : "Source/MLX",
      "product_dependencies" : [
        "Numerics"
      ],
      "product_memberships" : [
        "MLX",
        "MLXRandom",
        "MLXNN",
        "MLXOptimizers",
        "MLXFFT",
        "MLXLinalg",
        "Tutorial",
        "Example1"
      ],
      "sources" : [
        "Cmlx+Util.swift",
        "DType.swift",
        "Device.swift",
        "Factory.swift",
        "Foundation+Util.swift",
        "MLXArray+Indexing.swift",
        "MLXArray+Init.swift",
        "MLXArray+Ops.swift",
        "MLXArray.swift",
        "Nested.swift",
        "Ops+Array.swift",
        "Ops.swift",
        "Protocols.swift",
        "Stream.swift",
        "Transforms+Compile.swift",
        "Transforms+Eval.swift",
        "Transforms+Grad.swift",
        "Transforms+Internal.swift",
        "Transforms.swift"
      ],
      "target_dependencies" : [
        "Cmlx"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GenerateGrad",
      "module_type" : "SwiftTarget",
      "name" : "GenerateGrad",
      "path" : "Source/Tools",
      "product_memberships" : [
        "GenerateGrad"
      ],
      "sources" : [
        "GenerateGrad.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Example1",
      "module_type" : "SwiftTarget",
      "name" : "Example1",
      "path" : "Source/Examples",
      "product_memberships" : [
        "Example1"
      ],
      "sources" : [
        "Example1.swift"
      ],
      "target_dependencies" : [
        "MLX"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "CmlxTests",
      "module_type" : "SwiftTarget",
      "name" : "CmlxTests",
      "path" : "Tests/CmlxTests",
      "sources" : [
        "CmlxTests.swift"
      ],
      "target_dependencies" : [
        "Cmlx"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Cmlx",
      "module_type" : "ClangTarget",
      "name" : "Cmlx",
      "path" : "Source/Cmlx",
      "product_memberships" : [
        "MLX",
        "MLXRandom",
        "MLXNN",
        "MLXOptimizers",
        "MLXFFT",
        "MLXLinalg",
        "Tutorial",
        "Example1"
      ],
      "sources" : [
        "gguf-tools/fp16.c",
        "gguf-tools/gguflib.c",
        "gguf-tools/sds.c",
        "include/mlx/c/array.cpp",
        "include/mlx/c/closure.cpp",
        "include/mlx/c/compile.cpp",
        "include/mlx/c/device.cpp",
        "include/mlx/c/fast.cpp",
        "include/mlx/c/fft.cpp",
        "include/mlx/c/io.cpp",
        "include/mlx/c/ioutils.cpp",
        "include/mlx/c/linalg.cpp",
        "include/mlx/c/map.cpp",
        "include/mlx/c/object.cpp",
        "include/mlx/c/ops.cpp",
        "include/mlx/c/random.cpp",
        "include/mlx/c/stream.cpp",
        "include/mlx/c/string.cpp",
        "include/mlx/c/transforms.cpp",
        "include/mlx/c/transforms_impl.cpp",
        "mlx-generated/compiled_preamble.cpp",
        "mlx/mlx/allocator.cpp",
        "mlx/mlx/array.cpp",
        "mlx/mlx/backend/common/arg_reduce.cpp",
        "mlx/mlx/backend/common/binary.cpp",
        "mlx/mlx/backend/common/compiled.cpp",
        "mlx/mlx/backend/common/conv.cpp",
        "mlx/mlx/backend/common/copy.cpp",
        "mlx/mlx/backend/common/default_primitives.cpp",
        "mlx/mlx/backend/common/erf.cpp",
        "mlx/mlx/backend/common/fft.cpp",
        "mlx/mlx/backend/common/indexing.cpp",
        "mlx/mlx/backend/common/load.cpp",
        "mlx/mlx/backend/common/primitives.cpp",
        "mlx/mlx/backend/common/qrf.cpp",
        "mlx/mlx/backend/common/quantized.cpp",
        "mlx/mlx/backend/common/reduce.cpp",
        "mlx/mlx/backend/common/rope.cpp",
        "mlx/mlx/backend/common/scan.cpp",
        "mlx/mlx/backend/common/softmax.cpp",
        "mlx/mlx/backend/common/sort.cpp",
        "mlx/mlx/backend/common/threefry.cpp",
        "mlx/mlx/backend/metal/allocator.cpp",
        "mlx/mlx/backend/metal/compiled.cpp",
        "mlx/mlx/backend/metal/conv.cpp",
        "mlx/mlx/backend/metal/copy.cpp",
        "mlx/mlx/backend/metal/device.cpp",
        "mlx/mlx/backend/metal/fft.cpp",
        "mlx/mlx/backend/metal/indexing.cpp",
        "mlx/mlx/backend/metal/matmul.cpp",
        "mlx/mlx/backend/metal/metal.cpp",
        "mlx/mlx/backend/metal/primitives.cpp",
        "mlx/mlx/backend/metal/quantized.cpp",
        "mlx/mlx/backend/metal/reduce.cpp",
        "mlx/mlx/backend/metal/rope.cpp",
        "mlx/mlx/backend/metal/scan.cpp",
        "mlx/mlx/backend/metal/softmax.cpp",
        "mlx/mlx/backend/metal/sort.cpp",
        "mlx/mlx/compile.cpp",
        "mlx/mlx/device.cpp",
        "mlx/mlx/dtype.cpp",
        "mlx/mlx/fast.cpp",
        "mlx/mlx/fft.cpp",
        "mlx/mlx/graph_utils.cpp",
        "mlx/mlx/io/gguf.cpp",
        "mlx/mlx/io/gguf_quants.cpp",
        "mlx/mlx/io/load.cpp",
        "mlx/mlx/io/safetensor.cpp",
        "mlx/mlx/linalg.cpp",
        "mlx/mlx/ops.cpp",
        "mlx/mlx/primitives.cpp",
        "mlx/mlx/random.cpp",
        "mlx/mlx/scheduler.cpp",
        "mlx/mlx/transforms.cpp",
        "mlx/mlx/utils.cpp"
      ],
      "target_dependencies" : [
        "PrepareMetalShaders"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
{
  "workspace" : {
    "name" : "mlx-swift",
    "schemes" : [
      "Example1",
      "GenerateGrad",
      "MLX",
      "mlx-swift-Package",
      "MLXFFT",
      "MLXLinalg",
      "MLXNN",
      "MLXOptimizers",
      "MLXRandom",
      "Tutorial"
    ]
  }
}
2026-09-25 12:30:23.639 xcodebuild[743:4473] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme mlx-swift-Package -destination platform=macOS,arch=arm64
Command line invocation:
    /Applications/Xcode-27.0.0-Release.Candidate.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 mlx-swift-Package -destination platform=macOS,arch=arm64
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  swift-numerics: https://github.com/apple/swift-numerics @ 1.1.1
  mlx-swift: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
Compile plug-in “PrepareMetalShaders” in package “spi-builder-workspace”
[debug]: Compiling plugin to executable at /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/PluginExecutables/PrepareMetalShaders
[debug]: Using compiler /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc
[debug]: Plugin compilation output directory '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/PluginExecutables'
[debug]: Computed hash of plugin compilation inputs: e57b7f859293142438957ccbe23340a1218967c85fc528f64f8dfc8bb0113a91
/Users/admin/builder/spi-builder-workspace/Plugins/PrepareMetalShaders/main.swift:211:14: error: type 'Command' has no member '_prebuildCommand'
209 |         // a prebuild command to inject the output directory so swiftpm knows to pick it up
210 |         commands.append(
211 |             ._prebuildCommand(
    |              `- error: type 'Command' has no member '_prebuildCommand'
212 |                 displayName: "Install Headers",
213 |                 executable: .init("/bin/echo"),
2026-09-25 12:30:25.873 xcodebuild[745:4525] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:bee670c37262b210741aa9997fcd4d6cf84d4dd4, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:bee670c37262b210741aa9997fcd4d6cf84d4dd4, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:bee670c37262b210741aa9997fcd4d6cf84d4dd4, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:bee670c37262b210741aa9997fcd4d6cf84d4dd4, name:My Mac }
** BUILD FAILED **
The following build commands failed:
	Compile plug-in “PrepareMetalShaders” in package “spi-builder-workspace”
	eyJibHVlcHJpbnRQcm92aWRlcl9wcm92aWRlckZpbGVQYXRoU3RyaW5nIjoiXC9Vc2Vyc1wvYWRtaW5cL2J1aWxkZXJcL3NwaS1idWlsZGVyLXdvcmtzcGFjZSIsInR5cGUiOnsiYmx1ZXByaW50UHJvdmlkZXIiOnt9fX0=
	Building workspace mlx-swift with scheme mlx-swift-Package
(3 failures)
Command line invocation:
    /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
  swift-numerics: https://github.com/apple/swift-numerics @ 1.1.1
  mlx-swift: /Users/admin/builder/spi-builder-workspace
resolved source packages: swift-numerics, mlx-swift
2026-09-25 12:30:30.327 xcodebuild[770:4733] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "cxx_language_standard" : "gnu++17",
  "dependencies" : [
    {
      "identity" : "swift-numerics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-numerics"
    }
  ],
  "manifest_display_name" : "mlx-swift",
  "name" : "mlx-swift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.3"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "MLX",
      "targets" : [
        "MLX"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MLXRandom",
      "targets" : [
        "MLXRandom"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MLXNN",
      "targets" : [
        "MLXNN"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MLXOptimizers",
      "targets" : [
        "MLXOptimizers"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MLXFFT",
      "targets" : [
        "MLXFFT"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MLXLinalg",
      "targets" : [
        "MLXLinalg"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PrepareMetalShaders",
      "targets" : [
        "PrepareMetalShaders"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "Tutorial",
      "targets" : [
        "Tutorial"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "GenerateGrad",
      "targets" : [
        "GenerateGrad"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "Example1",
      "targets" : [
        "Example1"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Tutorial",
      "module_type" : "SwiftTarget",
      "name" : "Tutorial",
      "path" : "Source/Examples",
      "product_memberships" : [
        "Tutorial"
      ],
      "sources" : [
        "Tutorial.swift"
      ],
      "target_dependencies" : [
        "MLX"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "PrepareMetalShaders",
      "module_type" : "PluginTarget",
      "name" : "PrepareMetalShaders",
      "path" : "Plugins/PrepareMetalShaders",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "MLX",
        "MLXRandom",
        "MLXNN",
        "MLXOptimizers",
        "MLXFFT",
        "MLXLinalg",
        "PrepareMetalShaders",
        "Tutorial",
        "Example1"
      ],
      "sources" : [
        "main.swift"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "MLXTests",
      "module_type" : "SwiftTarget",
      "name" : "MLXTests",
      "path" : "Tests/MLXTests",
      "sources" : [
        "IntegrationTests.swift",
        "LinalgTests.swift",
        "MLXArray+IndexingTests.swift",
        "MLXArray+InitTests.swift",
        "MLXArray+OpsTests.swift",
        "MLXArrayTests.swift",
        "MLXRandomTests.swift",
        "ModuleTests.swift",
        "NestedTests.swift",
        "OpsTests.swift",
        "OptimizerTests.swift",
        "PoolingTests.swift",
        "SubclassTests.swift",
        "TransformTests.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "MLX",
        "MLXRandom",
        "MLXNN",
        "MLXOptimizers",
        "MLXFFT",
        "MLXLinalg"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MLXRandom",
      "module_type" : "SwiftTarget",
      "name" : "MLXRandom",
      "path" : "Source/MLXRandom",
      "product_memberships" : [
        "MLXRandom",
        "MLXNN",
        "MLXOptimizers"
      ],
      "sources" : [
        "Foundation+Util.swift",
        "Random.swift",
        "State.swift"
      ],
      "target_dependencies" : [
        "MLX"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MLXOptimizers",
      "module_type" : "SwiftTarget",
      "name" : "MLXOptimizers",
      "path" : "Source/MLXOptimizers",
      "product_memberships" : [
        "MLXOptimizers"
      ],
      "sources" : [
        "Optimizers.swift"
      ],
      "target_dependencies" : [
        "MLX",
        "MLXNN"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MLXNN",
      "module_type" : "SwiftTarget",
      "name" : "MLXNN",
      "path" : "Source/MLXNN",
      "product_memberships" : [
        "MLXNN",
        "MLXOptimizers"
      ],
      "sources" : [
        "Activations.swift",
        "Cache.swift",
        "Containers.swift",
        "Convolution.swift",
        "Dropout.swift",
        "Embedding.swift",
        "Linear.swift",
        "Losses.swift",
        "Module.swift",
        "Normalization.swift",
        "Pooling.swift",
        "PositionalEncoding.swift",
        "Quantized.swift",
        "Transformer.swift",
        "ValueAndGrad.swift"
      ],
      "target_dependencies" : [
        "MLX",
        "MLXRandom"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MLXLinalg",
      "module_type" : "SwiftTarget",
      "name" : "MLXLinalg",
      "path" : "Source/MLXLinalg",
      "product_memberships" : [
        "MLXLinalg"
      ],
      "sources" : [
        "Cmlx+Util.swift",
        "Foundation+Util.swift",
        "Linalg.swift"
      ],
      "target_dependencies" : [
        "MLX"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MLXFFT",
      "module_type" : "SwiftTarget",
      "name" : "MLXFFT",
      "path" : "Source/MLXFFT",
      "product_memberships" : [
        "MLXFFT"
      ],
      "sources" : [
        "FFT.swift",
        "Foundation+Util.swift"
      ],
      "target_dependencies" : [
        "MLX"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MLX",
      "module_type" : "SwiftTarget",
      "name" : "MLX",
      "path" : "Source/MLX",
      "product_dependencies" : [
        "Numerics"
      ],
      "product_memberships" : [
        "MLX",
        "MLXRandom",
        "MLXNN",
        "MLXOptimizers",
        "MLXFFT",
        "MLXLinalg",
        "Tutorial",
        "Example1"
      ],
      "sources" : [
        "Cmlx+Util.swift",
        "DType.swift",
        "Device.swift",
        "Factory.swift",
        "Foundation+Util.swift",
        "MLXArray+Indexing.swift",
        "MLXArray+Init.swift",
        "MLXArray+Ops.swift",
        "MLXArray.swift",
        "Nested.swift",
        "Ops+Array.swift",
        "Ops.swift",
        "Protocols.swift",
        "Stream.swift",
        "Transforms+Compile.swift",
        "Transforms+Eval.swift",
        "Transforms+Grad.swift",
        "Transforms+Internal.swift",
        "Transforms.swift"
      ],
      "target_dependencies" : [
        "Cmlx"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GenerateGrad",
      "module_type" : "SwiftTarget",
      "name" : "GenerateGrad",
      "path" : "Source/Tools",
      "product_memberships" : [
        "GenerateGrad"
      ],
      "sources" : [
        "GenerateGrad.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Example1",
      "module_type" : "SwiftTarget",
      "name" : "Example1",
      "path" : "Source/Examples",
      "product_memberships" : [
        "Example1"
      ],
      "sources" : [
        "Example1.swift"
      ],
      "target_dependencies" : [
        "MLX"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "CmlxTests",
      "module_type" : "SwiftTarget",
      "name" : "CmlxTests",
      "path" : "Tests/CmlxTests",
      "sources" : [
        "CmlxTests.swift"
      ],
      "target_dependencies" : [
        "Cmlx"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Cmlx",
      "module_type" : "ClangTarget",
      "name" : "Cmlx",
      "path" : "Source/Cmlx",
      "product_memberships" : [
        "MLX",
        "MLXRandom",
        "MLXNN",
        "MLXOptimizers",
        "MLXFFT",
        "MLXLinalg",
        "Tutorial",
        "Example1"
      ],
      "sources" : [
        "gguf-tools/fp16.c",
        "gguf-tools/gguflib.c",
        "gguf-tools/sds.c",
        "include/mlx/c/array.cpp",
        "include/mlx/c/closure.cpp",
        "include/mlx/c/compile.cpp",
        "include/mlx/c/device.cpp",
        "include/mlx/c/fast.cpp",
        "include/mlx/c/fft.cpp",
        "include/mlx/c/io.cpp",
        "include/mlx/c/ioutils.cpp",
        "include/mlx/c/linalg.cpp",
        "include/mlx/c/map.cpp",
        "include/mlx/c/object.cpp",
        "include/mlx/c/ops.cpp",
        "include/mlx/c/random.cpp",
        "include/mlx/c/stream.cpp",
        "include/mlx/c/string.cpp",
        "include/mlx/c/transforms.cpp",
        "include/mlx/c/transforms_impl.cpp",
        "mlx-generated/compiled_preamble.cpp",
        "mlx/mlx/allocator.cpp",
        "mlx/mlx/array.cpp",
        "mlx/mlx/backend/common/arg_reduce.cpp",
        "mlx/mlx/backend/common/binary.cpp",
        "mlx/mlx/backend/common/compiled.cpp",
        "mlx/mlx/backend/common/conv.cpp",
        "mlx/mlx/backend/common/copy.cpp",
        "mlx/mlx/backend/common/default_primitives.cpp",
        "mlx/mlx/backend/common/erf.cpp",
        "mlx/mlx/backend/common/fft.cpp",
        "mlx/mlx/backend/common/indexing.cpp",
        "mlx/mlx/backend/common/load.cpp",
        "mlx/mlx/backend/common/primitives.cpp",
        "mlx/mlx/backend/common/qrf.cpp",
        "mlx/mlx/backend/common/quantized.cpp",
        "mlx/mlx/backend/common/reduce.cpp",
        "mlx/mlx/backend/common/rope.cpp",
        "mlx/mlx/backend/common/scan.cpp",
        "mlx/mlx/backend/common/softmax.cpp",
        "mlx/mlx/backend/common/sort.cpp",
        "mlx/mlx/backend/common/threefry.cpp",
        "mlx/mlx/backend/metal/allocator.cpp",
        "mlx/mlx/backend/metal/compiled.cpp",
        "mlx/mlx/backend/metal/conv.cpp",
        "mlx/mlx/backend/metal/copy.cpp",
        "mlx/mlx/backend/metal/device.cpp",
        "mlx/mlx/backend/metal/fft.cpp",
        "mlx/mlx/backend/metal/indexing.cpp",
        "mlx/mlx/backend/metal/matmul.cpp",
        "mlx/mlx/backend/metal/metal.cpp",
        "mlx/mlx/backend/metal/primitives.cpp",
        "mlx/mlx/backend/metal/quantized.cpp",
        "mlx/mlx/backend/metal/reduce.cpp",
        "mlx/mlx/backend/metal/rope.cpp",
        "mlx/mlx/backend/metal/scan.cpp",
        "mlx/mlx/backend/metal/softmax.cpp",
        "mlx/mlx/backend/metal/sort.cpp",
        "mlx/mlx/compile.cpp",
        "mlx/mlx/device.cpp",
        "mlx/mlx/dtype.cpp",
        "mlx/mlx/fast.cpp",
        "mlx/mlx/fft.cpp",
        "mlx/mlx/graph_utils.cpp",
        "mlx/mlx/io/gguf.cpp",
        "mlx/mlx/io/gguf_quants.cpp",
        "mlx/mlx/io/load.cpp",
        "mlx/mlx/io/safetensor.cpp",
        "mlx/mlx/linalg.cpp",
        "mlx/mlx/ops.cpp",
        "mlx/mlx/primitives.cpp",
        "mlx/mlx/random.cpp",
        "mlx/mlx/scheduler.cpp",
        "mlx/mlx/transforms.cpp",
        "mlx/mlx/utils.cpp"
      ],
      "target_dependencies" : [
        "PrepareMetalShaders"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
{
  "workspace" : {
    "name" : "mlx-swift",
    "schemes" : [
      "Example1",
      "GenerateGrad",
      "MLX",
      "mlx-swift-Package",
      "MLXFFT",
      "MLXLinalg",
      "MLXNN",
      "MLXOptimizers",
      "MLXRandom",
      "Tutorial"
    ]
  }
}
2026-09-25 12:30:31.848 xcodebuild[779:4806] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme mlx-swift-Package -destination platform=macOS,arch=arm64
Command line invocation:
    /Applications/Xcode-27.0.0-Release.Candidate.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 mlx-swift-Package -destination platform=macOS,arch=arm64
Resolve Package Graph
Resolved source packages:
  swift-numerics: https://github.com/apple/swift-numerics @ 1.1.1
  mlx-swift: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
Compile plug-in “PrepareMetalShaders” in package “spi-builder-workspace”
[debug]: Compiling plugin to executable at /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/PluginExecutables/PrepareMetalShaders
[debug]: Using compiler /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc
[debug]: Plugin compilation output directory '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/PluginExecutables'
[debug]: Computed hash of plugin compilation inputs: e57b7f859293142438957ccbe23340a1218967c85fc528f64f8dfc8bb0113a91
/Users/admin/builder/spi-builder-workspace/Plugins/PrepareMetalShaders/main.swift:211:14: error: type 'Command' has no member '_prebuildCommand'
209 |         // a prebuild command to inject the output directory so swiftpm knows to pick it up
210 |         commands.append(
211 |             ._prebuildCommand(
    |              `- error: type 'Command' has no member '_prebuildCommand'
212 |                 displayName: "Install Headers",
213 |                 executable: .init("/bin/echo"),
2026-09-25 12:30:33.048 xcodebuild[781:4838] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:bee670c37262b210741aa9997fcd4d6cf84d4dd4, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:bee670c37262b210741aa9997fcd4d6cf84d4dd4, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:bee670c37262b210741aa9997fcd4d6cf84d4dd4, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:bee670c37262b210741aa9997fcd4d6cf84d4dd4, name:My Mac }
** BUILD FAILED **
The following build commands failed:
	Compile plug-in “PrepareMetalShaders” in package “spi-builder-workspace”
	eyJibHVlcHJpbnRQcm92aWRlcl9wcm92aWRlckZpbGVQYXRoU3RyaW5nIjoiXC9Vc2Vyc1wvYWRtaW5cL2J1aWxkZXJcL3NwaS1idWlsZGVyLXdvcmtzcGFjZSIsInR5cGUiOnsiYmx1ZXByaW50UHJvdmlkZXIiOnt9fX0=
	Building workspace mlx-swift with scheme mlx-swift-Package
(3 failures)
BUILD FAILURE 6.4 macosXcodebuild