-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Description:
I followed the instructions in the repository and built whisper.cpp as an XCFramework using the provided build script.
What I tried:
- Built XCFramework for both iOS device (arm64) and simulator (arm64/x86_64)
- Tested with WHISPER_COREML=ON and also rebuilt with WHISPER_COREML=OFF
- Enabled Metal (GGML_METAL=ON)
- Cleaned build folders and re-added the new whisper.xcframework to the project
- Verified that models are correctly bundled in the app (confirmed via Bundle.main paths at runtime)
- Tested multiple models:
- ggml-medium-q5_0
- ggml-large-v3-turbo-q5_0
In all cases, whisper_init_from_file returns nullptr, resulting in modelLoadFailed during initialization.
The same ggml models work correctly with whisper-cli on macOS, so the model files themselves appear to be valid.
It seems that the iOS example or build configuration is currently broken, as no tested ggml model can be initialized successfully.
Could you clarify the expected working configuration for iOS?

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels