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

Unable to compile Realm when targetting watchOS #5173

Closed
mwoollard opened this issue Jan 17, 2022 · 3 comments
Closed

Unable to compile Realm when targetting watchOS #5173

mwoollard opened this issue Jan 17, 2022 · 3 comments

Comments

@mwoollard
Copy link

mwoollard commented Jan 17, 2022

Expected results

I can integrate Realm using Package.swift and create Xcode project from Package.swift and then compile.

Actual Results

/Users/markw/Library/Developer/Xcode/DerivedData/utrealm_apple-bradedzrezbnygezsnaxhbsvzeye/SourcePackages/checkouts/realm-core/src/realm/impl/simulated_failure.cpp:174:1: error: thread-local storage is not supported for the current target
thread_local bool (*s_mmap_predicate)(size_t);
^

Steps & Code to Reproduce

Setup library project using Package.swift
Integrate Realm in Package.swift
Open Package.swift with Xcode to create project
Build

Core version

Core version: 1.21.1

@leemaguire
Copy link
Contributor

Hi @mwoollard, I cannot reproduce your issue on an Apple Watch Series 7, nor can I reproduce the issue when building against a 32bit WatchOS target. Its best if you move this issue to Realm-Swift and fill out the issue template so we can help you diagnose this better.

@sync-by-unito sync-by-unito bot added the Waiting-For-Reporter Waiting for more information from the reporter before we can proceed label Jan 19, 2022
@mwoollard
Copy link
Author

OK will do, have produced a cut down project that reproduces the issue, will add to a new issue in Realm-Swift.

@github-actions github-actions bot added Needs-Attention Reporter has responded. Review comment. and removed Waiting-For-Reporter Waiting for more information from the reporter before we can proceed labels Jan 20, 2022
@sync-by-unito sync-by-unito bot removed the Needs-Attention Reporter has responded. Review comment. label Jan 27, 2022
@sync-by-unito
Copy link

sync-by-unito bot commented Jan 27, 2022

➤ Jonathan Reams commented:

This was moved to the swift repo and is getting fixed in #5188.

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

2 participants