Closed JinYu1998 closed 9 months ago
Following up from this thread in discord, there appears to be a naming conflict in your app where something is already using the name WhisperKit
so importing it is ineffective. I recommend trying to find the naming conflict in your project and using a different name so that the WhisperKit
swift package can be imported. At that point, you may want to consider moving the initialization into your ContentView or some view model class so it can be managed more easily within your app.
Looks like this was resolved: https://discord.com/channels/1171912382512115722/1201632730446823444/1206875382712635432
Then I get an error :
Cannot call value of non-function type 'module<WhisperKit>'
What should I do to solve this problem? tks.