Skip to content

Misc. bug: Xcode build failure in Release workflow (GitHub Actions) #15322

@x0wllaar

Description

@x0wllaar

Name and Version

Any commit to master since yesterday

Operating systems

Other? (Please let us know in description)

Which llama.cpp modules do you know to be affected?

Documentation/Github

Problem description & steps to reproduce

Run the Release GH Actions Workflow on the master branch, see e.g.: https://github.com/ggml-org/llama.cpp/actions/runs/16967961681/job/48096866168

The ios-xcode-build action in the Release workflow has failed since yesterday, blocking new releases. This coincides with the macOS image update at actions/runner-images#12541.

I think that adding this as the 2nd step to the GH Actions YAML should fix this:

      - name: Setup Xcode and SDKs
        run: |
          # Install SDK
          xcodebuild -downloadPlatform iOS
          xcodebuild -downloadPlatform tvOS
          xcodebuild -downloadPlatform visionOS

First Bad Commit

5cdb27e, but it's not related, the change / breakage is on GitHub Action's side

Relevant log output

Run xcodebuild -project examples/llama.swiftui/llama.swiftui.xcodeproj -scheme llama.swiftui -sdk iphoneos CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= -destination 'generic/platform=iOS' FRAMEWORK_FOLDER_PATH=./build-ios build
Command line invocation:
    /Applications/Xcode_16.app/Contents/Developer/usr/bin/xcodebuild -project examples/llama.swiftui/llama.swiftui.xcodeproj -scheme llama.swiftui -sdk iphoneos CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= -destination generic/platform=iOS FRAMEWORK_FOLDER_PATH=./build-ios build

User defaults from command line:
    IDEPackageSupportUseBuiltinSCM = YES

Build settings from command line:
    CODE_SIGN_IDENTITY = 
    CODE_SIGNING_REQUIRED = NO
    FRAMEWORK_FOLDER_PATH = ./build-ios
    SDKROOT = iphoneos18.0

2025-08-14 16:08:39.238 xcodebuild[32982:104016] Writing error result bundle to /var/folders/x7/ch5v91h56_zbvbd1y2f600dm0000gn/T/ResultBundle_2025-14-08_16-08-0039.xcresult
xcodebuild: error: Unable to find a destination matching the provided destination specifier:
		{ generic:1, platform:iOS }

	Ineligible destinations for the "llama.swiftui" scheme:
		{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device, error:iOS 18.0 is not installed. To use with Xcode, first download and install the platform }
		{ platform:visionOS, id:dvtdevice-DVTiOSDevicePlaceholder-xros:placeholder, name:Any visionOS Device, error:visionOS 2.0 is not installed. To use with Xcode, first download and install the platform }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions