I'm trying to get the HueSDK_OSX Framework running using an Object-C-bridging-header.
Here is the framework:
https://github.com/PhilipsHue/PhilipsHueSDK-iOS-OSX/blob/master/Documentation/APIReference_OSX.zip
Bridging-header:
#import <HueSDK_OSX/HueSDK.h>
Swift file:
import PHHueSDK
when typing "import HueSDK_OSX/" the well known code completion list appears with all classes from the framework, but when selecting on of them XCode keeps on saying
Build error: "No such module"
Then, when ommitting the import-directive and calling
let hue = PHHueSDK()
hue.startUpSDK()
Then no build error occurs but instead a linker error
Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_PHHueSDK", referenced from: __TFC8testapp211AppDelegate12awakeFromNibfS0_FT_T_ in AppDelegate.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)