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

VideoKit crashes app on MacOS 10.15 Catalina #84

Closed
pnostudiodeveloper opened this issue Dec 1, 2023 · 6 comments
Closed

VideoKit crashes app on MacOS 10.15 Catalina #84

pnostudiodeveloper opened this issue Dec 1, 2023 · 6 comments
Labels
bug Something isn't working macos Issues that affect macOS

Comments

@pnostudiodeveloper
Copy link

pnostudiodeveloper commented Dec 1, 2023

Sorry to be reporting yet another issue - At least I have the solution already for you this time.

I know that versions lower than 11.0 are not technically supported by VideoKit - however, setting the version number to 11.0 in the Info.plist in VideoKit.bundle causes a hard crash immediately on launch in 10.15.
MacOS Min Version

Additional info: swiftlang/swift#56406

  • The Minimum System Version is currently set to 11.0 in the Info.plist in VideoKit.Bundle.

  • The Minimum System Version is currently set to 10.15 in the Info.plist in NatML.bundle

  • Can you please set the Minimum System Version to at least as low as 10.14 in these Info.plists, so that my app can run on 10.14-15, even if VideoKit functionality is impaired?

I tested this change, and it does fix the issue. I just don't want to be constantly changing this inside the dependency folder.

There are still a lot of users that are locked into their 2012-13 Mac computers, that can't be upgraded, or they refuse to upgrade because they have apps that would be made obsolete by the upgrade.

There's no way for me to conditionally include VideoKit based on operating system version - which would be the other theoretical workaround.

Thank you.

@pnostudiodeveloper
Copy link
Author

It looks like just changing that value causes the .bundle to no longer load...

Is it possible to build the .bundle with a Minimum Version of 10.14?

@olokobayusuf
Copy link
Contributor

VideoKit relies on APIs introduced in macOS 11, so it's impossible for us to reduce the minimum deployment target to macOS 10.14. Beyond that, we plan to continue increasing the minimum required version on Apple platforms (iOS, macOS, and soon, visionOS) to get access to more codecs and new APIs. Apple is pretty diligent with forcing the vast majority of their users to be on the latest versions of their software, so on their platforms, we do the same.

@olokobayusuf olokobayusuf closed this as not planned Won't fix, can't repro, duplicate, stale Dec 2, 2023
@olokobayusuf
Copy link
Contributor

Reopened for tracking. VideoKit will revert macOS requirement to 10.15.

@olokobayusuf olokobayusuf reopened this Dec 4, 2023
@pnostudiodeveloper
Copy link
Author

Just wondering if the alpha with the reversion might possibly be available by the end of the week?

Trying to field emails from users experiencing hard crashes on launch....

@olokobayusuf olokobayusuf added bug Something isn't working macos Issues that affect macOS labels Dec 8, 2023
@olokobayusuf
Copy link
Contributor

Will push out an alpha build in a few hours.

@olokobayusuf
Copy link
Contributor

Fixed in VideoKit 0.0.16.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working macos Issues that affect macOS
Projects
None yet
Development

No branches or pull requests

2 participants