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

Successful build of Ollama, reference 1.8.0 (5c9133), with Swift 6.2 (beta) for macOS (SPM) on 27 Jun 2025 06:55:53 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/loopwork/ollama-swift.git
Reference: 1.8.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/loopwork/ollama-swift
 * tag               1.8.0      -> FETCH_HEAD
HEAD is now at 5c91331 Bump version to 1.8.0
Cloned https://github.com/loopwork/ollama-swift.git
Revision (git rev-parse @):
5c913312ebbccc9ad958ae0ec06e51fede0022ad
SUCCESS checkout https://github.com/loopwork/ollama-swift.git at 1.8.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/loopwork/ollama-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/12] Compiling Ollama KeepAlive.swift
[4/12] Compiling Ollama Value.swift
[5/12] Compiling Ollama Model.swift
[6/12] Compiling Ollama Embeddings.swift
[7/12] Compiling Ollama Tool.swift
[8/12] Compiling Ollama Data+Extensions.swift
[9/12] Compiling Ollama JSONDecoder+Extensions.swift
[10/12] Compiling Ollama Chat.swift
[11/12] Compiling Ollama Client.swift
[12/12] Emitting module Ollama
Build complete! (5.01s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Ollama",
  "name" : "Ollama",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Ollama",
      "targets" : [
        "Ollama"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OllamaTests",
      "module_type" : "SwiftTarget",
      "name" : "OllamaTests",
      "path" : "Tests/OllamaTests",
      "sources" : [
        "ClientTests.swift",
        "DataURLTests.swift",
        "Fixtures/HexColorTool.swift",
        "ISO8601WithFractionalSecondsTests.swift",
        "KeepAliveTests.swift",
        "ModelTests.swift",
        "ToolTests.swift",
        "ValueTests.swift"
      ],
      "target_dependencies" : [
        "Ollama"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Ollama",
      "module_type" : "SwiftTarget",
      "name" : "Ollama",
      "path" : "Sources/Ollama",
      "product_memberships" : [
        "Ollama"
      ],
      "sources" : [
        "Chat.swift",
        "Client.swift",
        "Embeddings.swift",
        "Extensions/Data+Extensions.swift",
        "Extensions/JSONDecoder+Extensions.swift",
        "KeepAlive.swift",
        "Model.swift",
        "Tool.swift",
        "Value.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Done.