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

The wrong version is returned in the iOS simulator #56

Open
briansmith opened this issue Apr 22, 2020 · 0 comments
Open

The wrong version is returned in the iOS simulator #56

briansmith opened this issue Apr 22, 2020 · 0 comments

Comments

@briansmith
Copy link

@andrewgAB wrote in private correspondence:

The sysctl call that is used by that crate doesn’t return the right values for the iOS Simulator.

Right now it’s reporting MacOS version 19.4.0 (the Darwin kernel version) rather than the macOS version.

It is often more useful to know the iOS/macOS version than the kernel version. sys_info::os_release should return the operating system version instead of the kernel version.

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

1 participant