drewmccormack / ensembles

A synchronization framework for Core Data.
MIT License
1.63k stars 131 forks source link

Can't build ensembles examples #171

Closed csch closed 10 years ago

csch commented 10 years ago

Unfortunately I'm not able build the example projects. I'm getting this error when trying to build "Simple Sync" as well as the "Idiomatic" app:

/Projects/tmp/ensembles/Examples/Simple Sync/Simple Sync/Simple Sync-Prefix.pch:17:13: fatal error: 'Ensembles/Ensembles.h' file not found
#import <Ensembles/Ensembles.h>
        ^
1 error generated.
Command /Applications/Xcode6-Beta3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1

I've also changed the bundle identifier as well as the iCould container. Also, I must admit, that I'm running the current OS X 10.10 beta. It might have to do with that.

Any Idea how I could fix this?

drewmccormack commented 10 years ago

I haven't had a chance to build with Xcode 6 yet. Will try in a few weeks.

It could be an issue with the static library framework. Maybe if you build that target first, then the app, if may work.

Drew

csch commented 10 years ago

Got the same problem in Xcode 5. However, I got it to work now. I removed the lib (ensembles.a) from the linker and added the ensembles framework as dependency.