Over the last couple of hours, I just tried a variety of different things to get Ekos and INDI to work in the KStars instance that I am running in Xcode. I finally came up with something that worked. I don't know if it is the best way, or even how well it works, because I only tried it with the simulators so far. But everything I tried actually worked properly, which is very good news. I will try to figure out the icons next. What I did to make it work was:
1. I followed these instructions to build INDI from source and get it installed on the Mac in the proper location:
indilib.org/forum/general/210-howto-buil...st-libindi-ekos.html
Note that before I used the cmake command, I followed the instructions in the Mac OS X readme file in the download from the git. This included downloading libnova-0.15.0, libusb-1.0.19,cfit3380, and gsl-2.1, then placing the unzipped folders at the same level as your git download, and then running configure and make from the command line in the gsl folder.
mkdir ~/Projects
cd ~/Projects
git clone
github.com/indilib/indi.git
mkdir -p build/libindi
cd build/libindi
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ~/Projects/indi/libindi
sudo make install
2. Make sure you have home-brew installed.
brew.sh
3. From here, I followed Sean Houghton's Instructions to install a variety of dependencies needed using home-brew:
gist.github.com/seanhoughton/1b2649a2a0ef904d79f9
brew install qt5 --with-dbus
brew tap homebrew/science
brew install cfitsio
brew install cmake
brew install eigen
brew install gettext
brew install astrometry-net
brew tap haraldf/kf5
brew install haraldf/kf5/kf5-kplotting
brew install haraldf/kf5/kf5-kxmlgui
brew install haraldf/kf5/kf5-knewstuff
brew install haraldf/kf5/k5f-kdoctools
brew install haraldf/kf5/kf5-knotifications
brew install haraldf/kf5/kf5-kcrash
4. Then I picked an empty folder on my hard drive to download Sean Hougton's git of KStars. I executed this from the command line in that folder. You might need a github account and password for this step:
git clone git@github.com:seanhoughton/kstars.git
5. Then I ran the following commands to export useful directory paths and use cmake to build the Xcode project (also on his page):
mkdir kstars-build
cd kstars-build
export PATH=$PATH:$(brew --prefix gettext)/bin
export Qt5_DIR=$(brew --prefix qt5)
export Qt5DBus_DIR=$Qt5_DIR
export Qt5Test_DIR=$Qt5_DIR
export Qt5Network_DIR=$Qt5_DIR
export ECM_DIR=$(brew --prefix kf5-extra-cmake-modules)/share/ECM
cmake -DCMAKE_INSTALL_PREFIX=~/.kde -G Xcode ../kstars
6. There should now be an Xcode project in the kstars-build folder. Open that and try to build it. As I discovered, you will probably want to edit the "scheme" so that your build configuration set to "release" so the first error doesn't stop it from running.
7. If it built successfully, KStars should start running. I tested Ekos by connecting to a remote indi server rather than the local one because I know there were problems with the local server on other operating systems before and the remote method has typically worked. As I mentioned, many of the icons are still not correct, but at least it is working.