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

Warning: 'clock_gettime' is only available on iOS 10.0 or newer #7219

Closed
cltnschlosser opened this issue Apr 23, 2021 · 2 comments
Closed

Warning: 'clock_gettime' is only available on iOS 10.0 or newer #7219

cltnschlosser opened this issue Apr 23, 2021 · 2 comments

Comments

@cltnschlosser
Copy link
Contributor

cltnschlosser commented Apr 23, 2021

Goals

Build app without warnings

Expected Results

No warning

Actual Results

When using cocoapods, get the warning 'clock_gettime' is only available on iOS 10.0 or newer when building interprocess_condvar.hpp. Either need the availability check or change the deployment target for cocoapods. It's currently set to 9.0. SPM is using .iOS(.v11).

Version of Realm and Tooling

Realm framework version: 10.7.3

Realm Object Server version: ?

Xcode version: 12.4

iOS/OSX version: iOS 14.4

Dependency manager + version: Cocoapods 1.10.1

@ejm01
Copy link
Contributor

ejm01 commented Apr 27, 2021

I see the same when I set platform :ios, '9.0' in the podfile.
We'll need to wrap this with "@available" to silence warning.

@tgoyne
Copy link
Member

tgoyne commented May 14, 2021

This is fixed in 10.7.6.

@tgoyne tgoyne closed this as completed May 14, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants