Hi there,
I’m currently trying to add Syphon support to a tool I ported from Linux to OSX, which means that it is not a XCode project but an autotools-based one.
A few years ago (in the 10.7 era as far as I remember) I did something similar, adding Syphon to a command line tool, and it worked flawlessly. No need to say that it is not the case now for an unknown reason.
Here is my current issue. I can’t even get the Syphon server list with this simple code:
bool SyphonReceiver::connect(const char* serverName, const char* appName)
{
NSArray* serverMatches = [[SyphonServerDirectory sharedDirectory] servers];
printf("-----> server matches: %i\n", (int)[serverMatches count]);
return true;
}
I tried it in a command line tool created from scratch using XCode and I don’t get anything either.
As anybody been facing the same kind of issue? Am I forgetting some kind of initialization step? Could it be some form of sandboxing issue?
Thanks in advance for your help.