'realm/util/assert.hpp' file not found
See original GitHub issueThis seems like a common issue. Building in XCode fails with 'realm/util/assert.hpp' file not found. Other people seem to be able to workaround it by using realm@2.0.0. However, it fails for with 2.0.0, 2.0.1, and 2.0.2 for me. I’ve tried with XCode 9.0 and XCode 9.1. I’ve tried with multiple projects using react-native@0.48.4.
There was also a thread about the possibility of a different version of node being used (https://github.com/realm/realm-js/issues/1424). I’m consistently on node v6.11.3
Goals
Setup realm in my react-native project.
Expected Results
A successful iOS build.
Actual Results
'realm/util/assert.hpp' file not found
Steps to Reproduce
yarn add realm@2.0.0
react-native link realm
- Build the app.
Version of Realm and Tooling
- Realm JS SDK Version:
2.0.0,2.0.1,2.0.2 - Node or React Native:
react-native@0.48.4 - XCode versions:
XCode 9.0,XCode 9.1
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:5 (4 by maintainers)
Top Results From Across the Web
build failed: 'realm/util/assert.hpp' file not found #2617 - GitHub
Goals I want to build project successfully Expected Results build success Actual Results build failed: 'realm/util/assert.hpp' file not ...
Read more >Lexical or Preprocessor issue: 'realm/keys.hpp' file not found
To resolve the issue, I had to: remove pod 'RealmSwift' from my podfile; run pod install; re-add pod 'RealmSwift' in my podfile ...
Read more >Build fail on Linux with IpTNLP.hpp not found - Google Groups
Hi, I'm trying to build casadi on ubuntu 14.04.02 machine, i'm getting this error which i think comes from Ipopt. "casadi/interfaces/ ...
Read more >Realm Crash Realm::Util::Terminate(Char Const ... - ADocLib
build failed: 'realm/util/assert.hpp' file not found #2617. Closed I have tried deleting the ios / build file and recompiling.
Read more >MFEM: general/error.hpp Source File
29 Abort execution using abort() or MPI_Abort(). This is the default error. 30 action when the build option MFEM_USE_EXCEPTIONS is set to NO....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@newtonry could you attach the full Xcode build log?
Version 2.1.0 should improve the situation.