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 main (be75f6), with Swift 5.9 for macOS (SPM) on 14 Jun 2025 17:45:53 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/loopwork-ai/ollama-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/loopwork-ai/ollama-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at be75f65 Bump version to 1.7.0
Cloned https://github.com/loopwork-ai/ollama-swift.git
Revision (git rev-parse @):
be75f6552d6e2e352f9897fc20dfdaaf32a6213d
SUCCESS checkout https://github.com/loopwork-ai/ollama-swift.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/loopwork-ai/ollama-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/10] Compiling Ollama Data+Extensions.swift
[2/10] Compiling Ollama Tool.swift
[3/10] Compiling Ollama KeepAlive.swift
[4/10] Compiling Ollama Model.swift
[5/10] Compiling Ollama Embeddings.swift
[6/10] Compiling Ollama JSONDecoder+Extensions.swift
[7/10] Compiling Ollama Value.swift
[8/10] Emitting module Ollama
[9/10] Compiling Ollama Chat.swift
[10/10] Compiling Ollama Client.swift
Build complete! (7.83s)
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"
    }
  ],
  "products" : [
    {
      "name" : "Ollama",
      "targets" : [
        "Ollama"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "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" : "5.7"
}
Done.