8000 Misc. bug: xcframework does not contain support for Catalyst · Issue #12751 · ggml-org/llama.cpp · GitHub
[go: up one dir, main page]

Skip to content
Misc. bug: xcframework does not contain support for Catalyst #12751
@chnbr

Description

@chnbr

Name and Version

./build/bin/llama-cli --version
version: 5014 (35782ae)
built with Apple clang version 16.0.0 (clang-1600.0.26.6) for arm64-apple-darwin24.3.0

Operating systems

Mac

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

libllama (core library)

Command line

Problem description & steps to reproduce

I have compiled the llama xcframework successfully on an M4 Mac. I also can import the resulting framework into a new Xcode project for iOS. It does compile and work.

However when I build my project for Catalyst I get the following error in Xcode:

llama.cpp/build-apple/llama.xcframework:1:1 While building for Mac Catalyst, no library for this platform was found in '...../llama.cpp/build-apple/llama.xcframework'.

I understand the error, but the questions is why this library is missing. When I open build-ios-device/llama.cpp.xcodeproj I can see in build_info that 'supported destinations' is listing "Mac (Mac Catalyst)". So I would expect it to be included in the framework.

Can anybody who is familiar with cmake shed light on this problem !?

First Bad Commit

No response

Relevant log output

llama.cpp/build-apple/llama.xcframework:1:1 While building for Mac Catalyst, no library for this platform was found in '...../llama.cpp/build-apple/llama.xcframework'.

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

      0