Sunday, December 15, 2024
HomeiOS DevelopmentUnable to run onnxruntime-genai on iOS (Xcode 15.3)

Unable to run onnxruntime-genai on iOS (Xcode 15.3)


I am unable to run onnxruntime-genai for iOS utilizing Xcode 15.3. I adopted the steps talked about within the demo and this Microsoft hyperlink, however the repository you referenced is unavailable (git checkout yguo/ios-build-genai). I proceeded with the primary department from GitHub and set every thing up the identical, however the utility crashes on launch. Even your demo fails to run efficiently.

FYI, I additionally tried the department (git checkout yguo/chat-app-genai) accessible on the repo, however on this department, not one of the talked about instructions work, and no code will be executed.

I’ve connected a screenshot and crash logs from the console for reference. May you please assist with troubleshooting or information me to resolve this crash? In case you want extra particulars, I’ll be joyful to share.

First Crash: /personal/var/containers/Bundle/Utility/8AC1B341-3A75-4806-AA85-8F61A506F689/OnnxModelFinal.app

Second Crash: libc++abi: terminating attributable to uncaught exception of kind std::runtime_error: Error opening /personal/var/containers/Bundle/Utility/8AC1B341-3A75-4806-AA85-8F61A506F689/OnnxModelFinal.app/genai_config.json

Screenshot from Xcode console:

Screenshot 2024-10-03 at 3 43 37 PM

Thanks!

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments