Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SeymourNickelson opened this issue Jan 9, 2025 · 1 comment
Labels
build build issues; typically submitted using template platform:mobile issues related to ONNX Runtime mobile; typically submitted using template

Comments

@SeymourNickelson
Copy link

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

@SeymourNickelson SeymourNickelson added the build build issues; typically submitted using template label Jan 9, 2025
@github-actions github-actions bot added the platform:mobile issues related to ONNX Runtime mobile; typically submitted using template label Jan 9, 2025
@skottmckay
Copy link
Contributor

There's a mac-catalyst build in the nuget package for use by MAUI apps. You can get the xcframework from there if needed.

https://www.nuget.org/packages/Microsoft.ML.OnnxRuntime

The nupkg is zip file. onnxruntime.xcframework.zip is under runtimes/ios/native and contains ios, ios simulator and mac-catalyst builds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build build issues; typically submitted using template platform:mobile issues related to ONNX Runtime mobile; typically submitted using template
Projects
None yet
Development

No branches or pull requests

2 participants