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 - sy6sy2 - 2019-04-12

I have not tried yet to build the deb. Sorry.

I have not tested to use xcodebuild also.

Concerning the currently open PR.
What do you think of doing the idea of Memphiz:
* Create a branch "ATV-tools-depends" in order to PR only configure.ac / depends stuff
* Close the current PR
* Continue working on ATV branch for kodi source code


RE: TvOS Kodi Build - pogar - 2019-04-12

(2019-04-12, 09:14)sy6sy2 Wrote: I have not tried yet to build the deb. Sorry.

I have not tested to use xcodebuild also.

that's fine. So what would you like me to test? On my system: 
* depends build successfully
* binary addons (all) have failed at some step
* Xcode build crashed the Xcode, but xcodebuild succeeded .


RE: TvOS Kodi Build - phunkyfish - 2019-04-12

(2019-04-12, 08:53)pogar Wrote:
(2019-04-12, 06:58)pogar Wrote:
(2019-04-12, 00:12)pogar Wrote: ok. Because Xcode crashed,  I'm trying to build with xcodebuild. Let's see.  
xcodebuild succeesed for me. Doing a deb package now, then I'll try to sign it and upload , but that might happen after I'll be back from work.  
I'm not able to build deb . CMake was complaining about missing cache ; make about no target for deb.. Redoing everything from scratch and trying again. 

I've only been able to build with XCode. xcodebuild and make do not tested yet.


RE: TvOS Kodi Build - sy6sy2 - 2019-04-12

[Off topic] Do you think that is possible, outside the house,  to "see" Apple TV 4K in Xcode over a VPN connection to my home network.
I am not at home this week end so I would like to "remotely" build and run Kodi on my Apple TV xD


RE: TvOS Kodi Build - pogar - 2019-04-12

(2019-04-12, 11:09)sy6sy2 Wrote: [Off topic] Do you think that is possible, outside the house,  to "see" Apple TV 4K in Xcode over a VPN connection to my home network.
I am not at home this week end so I would like to "remotely" build and run Kodi on my Apple TV xD

why not. With some router with OpenWRT/ddWRT and vpn server on it - it should work. Not easy to be done but why not.


RE: TvOS Kodi Build - pogar - 2019-04-12

(2019-04-12, 10:57)phunkyfish Wrote:
(2019-04-12, 08:53)pogar Wrote:
(2019-04-12, 06:58)pogar Wrote: xcodebuild succeesed for me. Doing a deb package now, then I'll try to sign it and upload , but that might happen after I'll be back from work.  
I'm not able to build deb . CMake was complaining about missing cache ; make about no target for deb.. Redoing everything from scratch and trying again.   

I've only been able to build with XCode. xcodebuild and make do not tested yet.  

thanks. So I'll try to: 
* build depends
* I'll skip building binary addons for now
* make Xcode project
* build the project in Xcode (for Testing)

EDIT: build in Xcode succeded . I've also added my provisioning profile to kodi target . I'll try to run the build on Apple TV later today.


RE: TvOS Kodi Build - Klojum - 2019-04-12

(2019-04-12, 11:09)sy6sy2 Wrote: Do you think that is possible
(2019-04-12, 11:13)pogar Wrote: why not.

Should you two want to discuss VPN stuff further, then the Off-topic section of this forum is indeed the place to be, as per our VPN policy (wiki).


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

having same error with `make` (without -j)... I deleted /Users/Shared/xbmc-depends manually, ran `make clean` and then again configure/make. Full output: https://paste.kodi.tv/acucawujal

then I ran make again, just like it says in the bottom, and receive the same error: https://paste.kodi.tv/lopajujiwo

for now I'll stick to my existing fork and already built depends.


RE: TvOS Kodi Build - phunkyfish - 2019-04-12

(2019-04-12, 13:32)kambala Wrote: having same error with `make` (without -j)... I deleted /Users/Shared/xbmc-depends manually, ran `make clean` and then again configure/make. Full output: https://paste.kodi.tv/acucawujal

then I ran make again, just like it says in the bottom, and receive the same error: https://paste.kodi.tv/lopajujiwo

for now I'll stick to my existing fork and already built depends.

The problem is this line:

Code:

sed -ie "s|-isysroot \$(CROSS_TOP)/SDKs/\$(CROSS_SDK) ||" "appletvos12.1_arm64-target-debug/Makefile"; \

It should be removing any CROSS_TOP and CROSS_SDK sysroot. Sysroot is already defined in the makefile include. I know it sounds nuts but I had to delete Xcode and the Commandline tools. Then I installed the command line tools, followed by Xcode, started Xcode, installed missing components and my next build worked.


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

well, it worked previously, so I doubt it's a problem with Xcode. Maybe some leftover from previous configuration...

Today I started facing the "no signature found" error too and my "fix" wasn't helping. I checked signing settings of Kodi target and noticed that they got reset. Then I remembered that a week had already passed since I created my personal dev profile, so it got expired. So I pressed "enable development signing", chose my personal team and it started working again. If you face this issue, make sure that your signing settings look similar to this:
Image

Also, I have first success: app is running without crashing!!! Although remote doesn't work Smile https://imgur.com/k4MdiDF
Will commit and create a PR.


RE: TvOS Kodi Build - phunkyfish - 2019-04-12

(2019-04-12, 09:14)sy6sy2 Wrote: I have not tried yet to build the deb. Sorry.

I have not tested to use xcodebuild also.

Concerning the currently open PR.
What do you think of doing the idea of Memphiz:
* Create a branch "ATV-tools-depends" in order to PR only configure.ac / depends stuff
* Close the current PR
* Continue working on ATV branch for kodi source code

Yes, I think we should do something like this. So ATV-tools-depends can be updated independently of ATV? I.e. depends changes would not require rebases on ATV.


RE: TvOS Kodi Build - phunkyfish - 2019-04-12

(2019-04-12, 15:07)kambala Wrote: Also, I have first success: app is running without crashing!!! Although remote doesn't work Smile https://imgur.com/k4MdiDF
Will commit and create a PR.

Nice, once we get a remote working I'll focus on building the binary addons and seeing it they work.

Also put in a PR for build doc updates.


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

created PR https://github.com/SylvainCecchetto/xbmc/pull/12, but it looks kinda strange after the upstream merge. Is there anything I can do about it?
(2019-04-12, 15:10)phunkyfish Wrote: Also put in a PR for build doc updates.

sorry, not sure what you mean. Update what exactly in the build doc?


RE: TvOS Kodi Build - pogar - 2019-04-12

ok, I got BAD_ACCESS too.
When branch will be updated , what I need to do , besides 'git pull' to ? Just repeat build in Xcode or something more ?


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

(2019-04-12, 16:22)pogar Wrote: ok, I got BAD_ACCESS to. 
When branch will be updated , what I need to do , besides 'git pull' to ? Just repeat build in Xcode or something more ?

you'll need to generate Xcode project again