On Oct 16, 2015, at 5:28 AM, 
john.vie...@gmail.com<mailto:john.vie...@gmail.com> wrote:

just curious. did you have to change actual objective-c code to make couchbase 
run on AppleTV?

Actually the only code I had to change was to +[CBLManager defaultDirectory], 
to use the Caches directory instead of Application Support when running on 
tvOS. (Because that’s the only writeable directory.) Everything else appears to 
be compatible between iOS and tvOS.

And really, the changes to the project were just to duplicate a whole bunch of 
iOS targets, rename them, change their SDKs to tvOS, and fix their dependencies 
and interlinkage. Which was still a total pain in the ass (one of the few times 
I’ve wished that we used makefiles instead of an IDE, because copy/paste and 
search/replace would be so much easier!)

—Jens

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mobile-couchbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/98A23444-0936-4C36-9E37-792E44791608%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to