Build Information
Failed to build proofofhuman, reference main (094208), with Swift 6.2 for macOS (SPM) on 13 Oct 2026 10:35:45 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/iamaihub/sdk-ios.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/iamaihub/sdk-ios
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 094208d docs: package URL follows the iamaihub org rename
Cloned https://github.com/iamaihub/sdk-ios.git
Revision (git rev-parse @):
094208d535ae2e277b4b5618e55a9283ce96df4f
SUCCESS checkout https://github.com/iamaihub/sdk-ios.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/iamaihub/sdk-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--3CB7CFEC50E0D141.txt
[3/9] Compiling POHKit Internal.swift
[4/9] Compiling POHKit Models.swift
/Users/admin/builder/spi-builder-workspace/Sources/POHKit/Models.swift:440:13: error: operator can throw but expression is not marked with 'try'
438 | type = try c.decodeIfPresent(String.self, forKey: .type)
439 | message = (try c.decodeIfPresent(String.self, forKey: .message))
440 | ?? (try c.decodeIfPresent(String.self, forKey: .reply))
| | `- note: call is to 'rethrows' function, but argument function can throw
| `- error: operator can throw but expression is not marked with 'try'
441 | ?? ""
442 | skill = try c.decodeIfPresent(String.self, forKey: .skill)
[5/9] Emitting module POHKit
[6/9] Compiling POHKit DAISigning.swift
[7/9] Compiling POHKit DAIError.swift
[8/9] Compiling POHKit DAIChatCrypto.swift
[9/9] Compiling POHKit DAIClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/POHKit/DAIClient.swift:401:12: error: initializer for conditional binding must have Optional type, not 'String'
399 | let route: ChatRouteResponse = try await requestAny("POST", path: "/chat/route", anyBody: routeBody)
400 | let freeTypes: Set<String> = ["cascade", "tasks", "dataset", "hf-model", "sequence"]
401 | if let t = route.type, freeTypes.contains(t) {
| `- error: initializer for conditional binding must have Optional type, not 'String'
402 | throw DAIError.httpError(
403 | statusCode: 422,
BUILD FAILURE 6.2 macosSpm