Skip to content

[Build] Building for Mac Catalyst Fails When Installed Via Cocoapods #23307

Open
@SeymourNickelson

Description

Describe the issue

When creating a new Xcode project (Objective-C/Storyboard) then created a pod file using pod 'onnxruntime-c' the build works fine for iOS but when switching to Mac Catalyst it fails with the following error: Framework 'onnxruntime' not found.

I see in the Release Notes that Mac Catalyst is now supported. I'm not sure if I need to configure the pod file in a special way to get Mac Catalyst support but I couldn't find any documentation on this.

I'm on Xcode Version 16.2 (16C5032a)

Urgency

No response

Target platform

Mac Catalyst

Build script

Using cocoapods onnxruntime-c

Error / output

ld: framework 'onnxruntime' not found

Visual Studio Version

No response

GCC / Compiler Version

No response

Metadata

Assignees

No one assigned

    Labels

    buildbuild issues; typically submitted using templateplatform:mobileissues related to ONNX Runtime mobile; typically submitted using template

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions