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

Bump iOS/tvOS minimum version to 11.0, cleanup some code #81965

Merged
merged 2 commits into from
Feb 13, 2023

Conversation

akoeplinger
Copy link
Member

In .NET 8 the minimum Apple OS versions we're supporting are iOS/tvOS 11.0 and macOS 10.15.

This bumps the version settings in various files and cleans up code that can now assume it's running on a later OS version. For example, it allows us to get rid of a couple dlsym() calls in System.Security.Cryptography.Native.Apple.

We can also stop building the iOS arm and iOSSimulator x86 runtime packs since 32bit platforms aren't supported by iOS 11

In .NET 8 the minimum Apple OS versions we're supporting are iOS/tvOS 11.0 and macOS 10.15.

This bumps the version settings in various files and cleans up code that can now assume it's running on a later OS version.
For example, it allows us to get rid of a couple `dlsym()` calls in System.Security.Cryptography.Native.Apple.

We can also stop building the iOS arm and iOSSimulator x86 runtime packs since 32bit platforms aren't supported by iOS 11
Copy link
Member

@filipnavara filipnavara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment on lines +103 to +104
# getentropy isn't allowed in the AppStore: https://github.com/rust-lang/rust/issues/102643
set(HAVE_GETENTROPY 0)
Copy link
Member

@filipnavara filipnavara Feb 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it's not allowed on the AppStore then I think we should keep excluding it for macOS/tvOS too (even if macOS is not supported config for Mono anymore). Nevermind, I read the linked issue.

Copy link
Member Author

@akoeplinger akoeplinger Feb 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah one thing that might be confusing here is that HOST_IOS includes tvOS in the mono cmake build system. Longer term I'd like to unify differences like this with the rest of the repo.

@akoeplinger akoeplinger merged commit 8cb3cfc into dotnet:main Feb 13, 2023
@akoeplinger akoeplinger deleted the bump-min-versions branch February 13, 2023 15:19
akoeplinger added a commit that referenced this pull request Feb 16, 2023
akoeplinger added a commit to dotnet/icu that referenced this pull request Feb 16, 2023
akoeplinger added a commit to dotnet/icu that referenced this pull request Feb 16, 2023
…ode from tvOS (#318)

* Bump iOS min version to 11, remove 32bit targets and remove bitcode from tvOS

We did the same in dotnet/runtime with dotnet/runtime#79349 and dotnet/runtime#81965

* Fixup
akoeplinger added a commit that referenced this pull request Feb 17, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Mar 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants