-
Notifications
You must be signed in to change notification settings - Fork 585
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
[v10.0.0-beta.12] [iOS] ld: symbol(s) not found for architecture x86_64 #3189
Comments
Same issue for me |
It is clearly a bug at our end. Until we get a fix out, you can try to change |
➤ Kenneth Geisshirt commented: PR: #3190 |
The fix has been merged and we will release it soon. |
Any timeline on when beta13 will be released? |
@mxia it has been released today. |
Thanks so much! |
@kneth Issue is still there in Show Error
public class Order
ld: warning: directory not found for option '-L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphonesimulator'
Undefined symbols for architecture x86_64:
"___isPlatformVersionAtLeast", referenced from:
realm::util::terminate_internal(std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) in librealm-sync-ios.a(terminate.o)
realm::util::(anonymous namespace)::ensure_reclaimer_thread_runs() in librealm-sync-ios.a(file_mapper.o)
realm::util::network::SecureTransportErrorCategory::message(int) const in librealm-sync-ios.a(network_ssl.o)
realm::util::network::ssl::Stream::verify_peer() in librealm-sync-ios.a(network_ssl.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
\```
</p>
</details>
Using `react-native@0.63.3` and `Xcode 10.1`. |
@praveen-wal Thank you for reporting. |
@praveen-wal We build for Xcode 11 and not Xcode 10. Please consider to upgrade :-) |
Sure @kneth. For now, I'm using |
@kneth can you please make an update available for Xcode 10?
|
Xcode 10 isn't supported by Apple. |
Goals
Build a React Native app using v10.0.0-beta.12.
Expected Results
iOS app builds and runs successfully.
Actual Results
Build fails with linker errors (undefined symbols) in libRealmJS.a. I have tried cleaning Xcode build directories, removing node_modules/, removing ios/Pods/, and reinstalling.
Note: Android builds and runs fine, so this is only an iOS issue.
Steps to Reproduce
Repro case here: https://github.com/ioveracker/mongodb-realm-react-native-playground/tree/realm-v10.0.0-beta.12
yarn
.cd ios && pod install
(or useyarn setup:ios
if you have rbenv and want to lock in the same ruby / bundler / cocoapods versions).yarn ios
.Code Sample
https://github.com/ioveracker/mongodb-realm-react-native-playground/tree/realm-v10.0.0-beta.12
Version of Realm and Tooling
The text was updated successfully, but these errors were encountered: