Using iOS SDK framework (Philips Hue) in tvOS application - linking issue

I've already developed an iOS App in Swift using the PhilipsHue SDK for iOS.https://github.com/PhilipsHue/PhilipsHueSDK-iOS-OSX

Now I started developing a Philips Hue application for the new AppleTV (tvOS). I also used the PhilipsHue SDK for iOS and nearly finished the development. In simulator everything works fine.

Last week I got an AppleTV Developer Kit and tried to deploy my application on the AppleTV, but I got the following error:


ld: in /Users/xxx/Development/xxx/xxx/HueSDK_iOS.framework/HueSDK_iOS(PHPortalConfig.o), building for tvOS, but linking in object file built for iOS, for architecture arm64



According to this discussion I found (other SDK, but same issue), my error was only a warning in previous Xcode 7.1 betas, and since 7.1 beta3 it's an error:

https://groups.google.com/forum/#!topic/firebase-talk/DJ8qZAvXgSc


Does anybody know, how to fix this? I'm using Xcode Version 7.1 beta 3 (7B85) I think it will take months (if ever) until Philips will adapt their SDK for tvOS, so I need an different solution.

I just used the Philips Hue API because you're right, the SDK probably won't be updated anytime soon.


http://www.developers.meethue.com/documentation/getting-started

Using iOS SDK framework (Philips Hue) in tvOS application - linking issue
 
 
Q