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

0.10.x no longer compatible with Xcode 15 #292

Closed
wooster opened this issue Jan 15, 2025 · 4 comments
Closed

0.10.x no longer compatible with Xcode 15 #292

wooster opened this issue Jan 15, 2025 · 4 comments

Comments

@wooster
Copy link

wooster commented Jan 15, 2025

0.10.x introduces the use of MLTensor. This was introduced in the iOS 18 SDK, so building with Xcode 15.4 now produces the error:

WhisperKit/Sources/WhisperKit/Core/Utils/Utils.swift:114:18: error: cannot find type 'MLTensor' in scope public extension MLTensor { ^~~~~~~~

The readme still references Xcode 15:

"Xcode 15.0 or later."

@atiorh
Copy link
Contributor

atiorh commented Jan 15, 2025

Thanks @wooster. This should be fixed on main, we will release a patch version shortly.

@ZachNagengast
Copy link
Contributor

Yes this was intended to be fixed with #288, could you try on main and see if the error goes away? If not we will adjust to address it, we hope to still support xcode 15 for some time.

@wooster
Copy link
Author

wooster commented Jan 15, 2025

Thanks, building main works without error.

(Although there is a warning opening the package about "Invalid Resource 'Models/whisperkit-coreml': File not found.", it's not new).

@ZachNagengast
Copy link
Contributor

This is now included in v0.10.2 that just went out 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants