Kodi Community Forum
TvOS Kodi Build - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: iOS & tvOS (https://forum.kodi.tv/forumdisplay.php?fid=137)
+---- Thread: TvOS Kodi Build (/showthread.php?tid=312805)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45


RE: TvOS Kodi Build - phunkyfish - 2019-07-25

You need:

Code:

git clone -b master_darwin-embedded-ATV https://github.com/fuzzard/xbmc kodi

The docs are written assuming you are using the actual xbmc github repo so I see where you got confused.


RE: TvOS Kodi Build - phunkyfish - 2019-07-26

Just bear in mind that everything committed to master so far is the plumbing. The actual tvOS code changes have yet to be merged so the above branch is the still the right way to build for the moment.


RE: TvOS Kodi Build - hotsjf - 2019-07-27

The compile and build took about 30-40min, there was one target failed to build: libcpluff, not sure what it is, but the Kodi 19 runs on my Apple TV now

I don't know how to express my appreciations for you guys great works

Thank you !


RE: TvOS Kodi Build - iri1 - 2019-07-31

OK, I'm making some progress now, but when building the binary add-ons I'm getting a lot of errors:
Quote:[  0%] Performing download step (git clone) for 'p8-platform'
Cloning into 'p8-platform'...
fatal: reference is not a tree: 32190045c7eb6883c0662db2f91b4ceeab904fc2
CMake Error at /Users/admin/kodi/tools/depends/target/binary-addons/appletvos12.4_arm64-target-debug/build/p8-platform/tmp/p8-platform-gitclone.cmake:75 (message):
  Failed to checkout tag: '32190045c7eb6883c0662db2f91b4ceeab904fc2'

make[4]: *** [build/p8-platform/src/p8-platform-stamp/p8-platform-download] Error 1
make[3]: *** [depends/CMakeFiles/p8-platform.dir/all] Error 2
make[2]: *** [CMakeFiles/pvr.hts.dir/rule] Error 2
make[1]: *** [pvr.hts] Error 2
[  0%] Performing download step (git clone) for 'p8-platform'
Cloning into 'p8-platform'...
fatal: reference is not a tree: 32190045c7eb6883c0662db2f91b4ceeab904fc2
CMake Error at /Users/admin/kodi/tools/depends/target/binary-addons/appletvos12.4_arm64-target-debug/build/p8-platform/tmp/p8-platform-gitclone.cmake:75 (message):
  Failed to checkout tag: '32190045c7eb6883c0662db2f91b4ceeab904fc2'

make[4]: *** [build/p8-platform/src/p8-platform-stamp/p8-platform-download] Error 1
make[3]: *** [depends/CMakeFiles/p8-platform.dir/all] Error 2
make[2]: *** [CMakeFiles/pvr.iptvsimple.dir/rule] Error 2
make[1]: *** [pvr.iptvsimple] Error 2
And it repeats for a bunch of add-ons.

For now, I'm ignoring those errors, and was able to build a final deb, but the size is around 50mb, and not sure if this is the "proper" size...

Edit: Was able to install it on Apple TV 4K, apparently it works, played a movie over the network, obviously it's missing the PVR addons that failed during the build.

I'm actually using Kodi to play HDHomeRun with PVR IPTV Simple Client over internet, so PVR add-ons are a must for me...

Any help how to fix those errors is appreciated Smile


RE: TvOS Kodi Build - phunkyfish - 2019-07-31

You’ll need to wait just a little while to get the binary addons, that’s being worked on currently 😉


RE: TvOS Kodi Build - iri1 - 2019-07-31

Thank you again for everything!

I will be patient for now, I'm feeling that you guys are very close to a release, at least a "test-build" one...


RE: TvOS Kodi Build - eugene2878 - 2019-08-10

How do I fix this? It is something to do with group setting. Is topshelf working with free dev account?
Image
xCode shows this
Image


RE: TvOS Kodi Build - kambala - 2019-08-10

Top shelf doesn't work with free account, that's why I told you to disable it


RE: TvOS Kodi Build - eugene2878 - 2019-08-10

How do I disable it? removed it from kodi dependancies but this did not work.


RE: TvOS Kodi Build - pogar - 2019-08-11

build deb target, sign the app in ios app signer and deploy.
For topshelf you need to have paid developer account , extract deb , sign topshelf plugin, then entire extracted dir with "ignore plugins" checkbox selected.


RE: TvOS Kodi Build - kambala - 2019-08-12

(2019-08-10, 16:33)eugene2878 Wrote: How do I disable it? removed it from kodi dependancies but this did not work.


Options:
- comment everything in cmake/scripts/darwin_embedded/ExtraTargets.cmake and configure with cmake again
- remove top shelf target from the xcode project
- unpack the built deb, remove top shelf Kodi.app/PlugIns/*.appex, sign the app


RE: TvOS Kodi Build - iri1 - 2019-08-14

Any word on the binary addons?


RE: TvOS Kodi Build - phunkyfish - 2019-08-22

I think they work now on the dev branch above. Not sure if the docs are updated yet though.


RE: TvOS Kodi Build - Fuzzard - 2019-08-22

Docs arent updated for tvos, but the ios docs are. They detail how to do them.


RE: TvOS Kodi Build - lakerjuck66 - 2019-08-22

Thank you all so much for this effort! I’ve been using this software since the Xbox and its incredible. Looking forward to release!