"OBJECT_SCHEMA.HPP" file not found and "object_store_exceptions.hpp" file not found.

289 views
Skip to first unread message

Joey Serquina

unread,
Oct 27, 2015, 1:59:01 AM10/27/15
to Realm
Hi i just wanted to try the new Realm version 0.96.2

I just created a new Xcode file and and install it using cocoa pods.



use_frameworks!

platform :ios, "8.0"

pod "RealmSwift"


then when i run..


'OBJECT_SCHEMA.HPP' file not found.

#include "object_store_exceptions.hpp" file not found.




i have not yet import RealmSwift.. just to try the new Xcode file (expect a normal run, blank layout).



Marius Rackwitz

unread,
Oct 27, 2015, 5:56:31 AM10/27/15
to Joey Serquina, realm...@googlegroups.com
Which version of CocoaPods do you use?
You should update to at least 0.39 to use the latest version of Realm.

--
Marius Rackwitz
iOS Product Engineer


--
You received this message because you are subscribed to the Google Groups "Realm" group.
To unsubscribe from this group and stop receiving emails from it, send an email to realm-cocoa...@googlegroups.com.
To post to this group, send email to realm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/realm-cocoa/3756e527-c715-46df-99e2-fe79cbe65f02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



{#HS:133538062-2142#}

Wimpie Pieterse

unread,
Oct 28, 2015, 4:08:55 PM10/28/15
to Realm, serqui...@gmail.com, he...@realm.io
Hi there Marius

I also get the above error. Initially I thought it was because my Xcode command line utils was outdated. I updated XCODE to 7.1, including the command line utils. I then verified cocoapods to 0.39 (no update need).

Alas, I still get
"OBJECT_SCHEMA.HPP" file not found and "object_store_exceptions.hpp" file not found.

Marius Rackwitz

unread,
Oct 29, 2015, 6:29:49 AM10/29/15
to Wimpie Pieterse, realm...@googlegroups.com, serqui...@gmail.com
Did you tried already to clean your build folder? (⌥⇧⌘K)

Can you both make sure that the Xcode path for the command-line tools (`xcode-select -p`) matches the Xcode version you use to build your projects?


--
Marius Rackwitz
iOS Product Engineer


{#HS:133538062-2142#}

Caesar Wang

unread,
Nov 3, 2015, 4:48:08 AM11/3/15
to Realm, wimpie....@gmail.com, serqui...@gmail.com, he...@realm.io
Hi Marius

I get the same error.

I check the files and can't find the group `Pods/Realm/Headers`  in my xcode, which exists in another project using v0.96.1.
It seems the directory `someporject/Pods/Realm/include`  are missing.

There are two more lines about `include` in the build.sh of v0.96.2:


```
          if [ ! -e core/include/Realm ]; then
            cp -R core/include/realm core/include/Realm
```

I'm not sure if the changes lead to the compile error

I'm using xcode 7.1(7B91b) and cocoapods 0.39.0

best regards

在 2015年10月29日星期四 UTC+8下午6:29:49,Marius Rackwitz写道:

Marius Rackwitz

unread,
Nov 6, 2015, 4:20:48 AM11/6/15
to Caesar Wang, realm...@googlegroups.com, wimpie....@gmail.com, serqui...@gmail.com
Hey,

this recent change, you were pointing out here, addresses a problem with case-sensitive file systems. Is that something what would be relevant for you?
It might help to clear the CocoaPods cache (rm -rf ~/Library/Caches/CocoaPods) and reset the CocoaPods integration again (rm -rf Pods, in your project) and run finally `pod install` again. It might be necessary to run it twice. (See https://github.com/realm/realm-cocoa/issues/2701)

Please let me know whether that helps or not. Thanks!


--
Marius Rackwitz
iOS Product Engineer


{#HS:133538062-2142#}

Caesar Wang

unread,
Nov 6, 2015, 7:42:25 AM11/6/15
to Realm, dty...@gmail.com, wimpie....@gmail.com, serqui...@gmail.com, he...@realm.io
Hi Marius, it works.
Thank you~

在 2015年11月6日星期五 UTC+8下午5:20:48,Marius Rackwitz写道:

Marius Rackwitz

unread,
Nov 6, 2015, 10:32:58 AM11/6/15
to Caesar Wang, realm...@googlegroups.com, wimpie....@gmail.com, serqui...@gmail.com
Thanks for letting us know.
@Joey @Wimpie: Please report back, if you're still experiencing issues and my suggestions didn't helped for you as well.


--
Marius Rackwitz
iOS Product Engineer


On Fri, Nov 6, 2015 at 12:42 PM UTC, Caesar Wang <dty...@gmail.com> wrote:
Hi Marius, it works.
{#HS:133538062-2142#}
Reply all
Reply to author
Forward
0 new messages