Photon Realtime SDK for tvOS?
Options
Hi,
I was trying to run the Photon SDK on tvOS since tvOS is more or less the same thing as iOS, code-wise, so far kinda successful.
So, I started from the Swift demo, I made the same changes to my project as you did (all the search paths and stuff), after a bit of trouble I got it running.
In the linker flags you're using — -lCommon-objc_$(CONFIGURATION)_$(PLATFORM_NAME)
The problem is that the platform, in an apple tv, is appletv something, of course. And as you don't have a built library for this platform, it fails.
So I replaced in my debug configuration by iphonesimulator ( -lCommon-objc_$(CONFIGURATION)_iphonesimulator ). It seems to compile and run, I receive messages.
I didn't get a chance to try it in production mode yet, but I guess the same trick would work.
I'd say that to make a tvOS Photon SDK, you'd only need to build your .a files on this platform and everything would run fine.
I was trying to run the Photon SDK on tvOS since tvOS is more or less the same thing as iOS, code-wise, so far kinda successful.
So, I started from the Swift demo, I made the same changes to my project as you did (all the search paths and stuff), after a bit of trouble I got it running.
In the linker flags you're using — -lCommon-objc_$(CONFIGURATION)_$(PLATFORM_NAME)
The problem is that the platform, in an apple tv, is appletv something, of course. And as you don't have a built library for this platform, it fails.
So I replaced in my debug configuration by iphonesimulator ( -lCommon-objc_$(CONFIGURATION)_iphonesimulator ). It seems to compile and run, I receive messages.
I didn't get a chance to try it in production mode yet, but I guess the same trick would work.
I'd say that to make a tvOS Photon SDK, you'd only need to build your .a files on this platform and everything would run fine.
0
Comments
-
Hi Mangoo.
actually we have already made a tvOS SDK (without demos for now). It just has not been officially released yet.
You can download a prerelease build at https://dl.dropboxusercontent.com/u/4296291/Photon-tvOS-Sdk_v4-0-5-0-Prerelease.zip.0 -
Oh cool thanks, I'll try that soon.0