-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build for tvOS (AppleTV) #918
Comments
I'm curious about this. If there's no storage space available on Apple TV, how is running Couchbase Lite going to work? It was my understanding that you could only use CloudKit or iCloud for storage. |
It appears that you can write to local storage, although only to your app sandbox's |
The unit we got has about 26GB of free space on it, so they've got to be planning on developers putting something on it... |
I just figured the storage was for movies/music/app binaries. It would be cool though. I would love to build an Apple TV version of my Tap Forms Organizer app, possibly just as a dashboard service of some sort. Obviously not good for data entry, but great for displaying aggregate data. |
This is basically done; I just haven't been able to get the unit tests to build yet. It's in the branch |
Cooool ! :) One question, you managed to build, but did you manage to run a sample on the device ? |
I love you guys' enthusiasm, but post it on the mailing list instead! 😺 It's kind of getting in the way of the progress info in this issue report. |
For the sake of completeness I'll add status info that I posted to the mailing list last week:
|
Filed an internal Jira ticket to get the build set up: https://issues.couchbase.com/browse/CBLT-385 |
Hmm strange, I tried to compile it in order to get the Framework (I used the target CBL tvOS Empty App) but the compile fails since I'm missing CBForect submodule. When I update the submodules I get this message:
Is it working for you ? |
Sorry about that — I made a change to CBForest but hadn’t pushed it to Github. Please try again and it should work now. |
Working on this again. I got the "CBL tvOS Empty App" target to run, and got the unit tests to build too. The tests pass on the simulator but fail on the device, and I'm looking at the failures, which are very very strange. |
Just so you know, I haven't tried the unit tests, but I tried it with my tvOS app and it's working like a charm :) |
The test failures turned out to be a known issue in 1.1.1 (we had them on iOS too, but for various reasons they weren't fixed.) I've updated the |
Next step is for @michaelkwok to add a builder for this. One obstacle is that you need Xcode 7.1 to build for tvOS, and that's still in beta, so they may want to hold off until it's GA. |
I will keep an eye on this. I am in the process of bringing up a new build server for Xcode 7. |
Ship date for the Apple TV is "late October", and the GA of Xcode 7.1 should be about a week before that to give developers time to rebuild with it and submit their apps. So I'd start expecting it anytime starting about a week from now... |
The GA of Xcode 7.1 was released yesterday. It can be downloaded/updated via the Mac App Store. |
Hi guys. Tried to compile the framework based on these instructions (https://github.com/couchbase/couchbase-lite-ios/wiki/Building-Couchbase-Lite) and it worked. But when trying to use it inside the app, I'm getting a lot of errors: Can you help me? Thanks. |
Fixed by adding -lstdc++ in Other Linker Flags. |
Or you can add libstdc++ to the Link With Libraries section of the Build Phases. |
We should have a build of Couchbase Lite for tvOS (AppleTV).
The text was updated successfully, but these errors were encountered: