How can I include the C++ Actor Framework in an Xcode Project?

182 views Asked by At

I followed the instructions here and the tests passed but I'm unsure of which files I need to add to my Xcode project. I have the following:

enter image description here

libcaf_core/caf has a bunch of hpp files such as all.hpp

But the build/lib folder has some dylib files:

enter image description here

Can anybody tell me how to add CAF to an existing project?

1

There are 1 answers

0
Dave Chambers On BEST ANSWER

I installed CAF with Homebrew then set the header and library paths:

headerPath="/usr/local/include"

and:

libraryPath="/usr/local/lib"

I then added the dylib files:

libcaf_core.0.15.3 libcaf_io.0.15.3