Realm-cocoa: "collection_notifications.hpp" not found

Created on 31 Jan 2017  路  6Comments  路  Source: realm/realm-cocoa

Goals

Use Realm

Expected Results

My Project builds

Actual Results

The building fails

"collection_notifications.hpp" not found

Code Sample

I use Realm in two projects. In project 1, the pod update failed with this message
capture d ecran 2017-01-31 a 16 04 50
(my internet connexion was unstable)

In project 2, I did pod update (now my connexion is sound and stable). But the files are not installed:
capture d ecran 2017-01-31 a 16 06 11

Version of Realm and Tooling

Realm version: 2.4.2
Dependency manager + version: CocoaPods 1.1.1

T-Help

Most helpful comment

@jpsim: I'll look into filing an issue with CocoaPods about this or if there's an existing issue with them tracking this issue that I can add to.

All 6 comments

Hi @colasbd! Thanks for reaching out. I'll have someone review what you've shared and respond with a solution or follow-up questions as soon as we can. Cheers! 馃殌

Hi @istx25
Thanks for your 馃殌 reply.
I've found a solution:

#!/usr/bin/env bash

rm -rf "${HOME}/Library/Caches/CocoaPods"
rm -rf "`pwd`/Pods/"
pod update

I'll let you close the issue.

Awesome. Happy to hear you resolved it. Seems this was more of an issue with CocoaPods than Realm so I'll close it but @jpsim can follow-up if he has anything more to add. Cheers! :)

CocoaPods could do with improved logic about not caching incomplete downloads, but this is out of our hands.

@jpsim: I'll look into filing an issue with CocoaPods about this or if there's an existing issue with them tracking this issue that I can add to.

Was this page helpful?
0 / 5 - 0 ratings