-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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 for watchOS simulator on M1 systems #7694
Labels
Comments
➤ Diana Perez Afanador commented: Hi @mwoollard I just pushed a branch with a possible fix for this. Can you test this on your side dp/watchos_simulator_old_architecture_target_not_thread_local. |
@dianaafanador3 I can confirm the branch fixes issue we had building for watchOS simulator on M1 hardware. Thanks ! |
2 tasks
Fix merged realm/realm-core#5341 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Expected results
I can integrate Realm using Package.swift and create Xcode project from Package.swift and then compile for watchOS simulator on M1 hardware
Actual Results
/Users/markw/Library/Developer/Xcode/DerivedData/utrealm_apple-bradedzrezbnygezsnaxhbsvzeye/SourcePackages/checkouts/realm-core/src/realm/impl/simulated_failure.cpp:181:1: error: thread-local storage is not supported for the current target
thread_local bool (*s_mmap_predicate)(size_t);
^
1 error generated.
Steps & Code to Reproduce
On Apple M1 based hardware
Setup library project using Package.swift
Integrate Realm in Package.swift
Open Package.swift with Xcode to create project
Build
Core version
Core version: 11.11.0
Note I originally filed issue 5173. I can now build on Intel hardware, but still can't build on M1 hardware.
The text was updated successfully, but these errors were encountered: