argmaxinc / WhisperKit

On-device Speech Recognition for Apple Silicon
https://takeargmax.com/blog/whisperkit
MIT License
3.17k stars 267 forks source link

Publish in CocoaPods #157

Closed raida42 closed 3 months ago

raida42 commented 3 months ago

We want to use WhisperKit via Podfile instead of using SwiftPM.

ZachNagengast commented 3 months ago

Hi @raida42, take a look at @seb-sep's excellent repo https://github.com/seb-sep/whisper-kit-expo?tab=readme-ov-file#installation

Here he is using the cocoapods-spm plugin to bring it in via cocoapods

sudo gem install cocoapods-spm

### START WHISPERKIT PLUGIN SCRIPT ###
plugin "cocoapods-spm"

spm_pkg "WhisperKit",
  :url => "https://github.com/argmaxinc/WhisperKit.git",
  :version => "0.6.0",
  :products => ["WhisperKit"]
### END WHISPERKIT PLUGIN SCRIPT ###
raida42 commented 3 months ago

@ZachNagengast Thank you for sharing! Let me take a look.