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-10

Yes maybe.

I am currently trying for iOS.

Edit: No error on my side for iOS (dependencies + kodi target with Xcode)


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

Cool, OS X build running now.

EDIT: Whoops, forgot to checkout ATV branch first. Restarting OSX build...


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

Ok, the OSX building was also successful. Let me try an engage from help on the PR.

Ah, it's looks like you've triggered jenkins. Fingers crossed.


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

Perfect, thank you for your test.

Just pushed an empty commit in order to "fix" Jenkins and now it is currently building the PR on all platform (https://jenkins.kodi.tv/job/BuildMulti-PR/11770/)


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

Did you see this PR, it might affect the tvOS PR: https://github.com/xbmc/xbmc/pull/15863

I guess not much can done about it until either goes in. It might be that neither PR will go in till Leia branches and master is for Kodi 19.


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

One target left to build, nice Wink

Build successful!


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

Yeah all checks have passed Big Grin

(Don't understand why the first attempt of iOS-ARM64 failed 0_o).

Concerning the PR 15863, I did not see it, thank you.
And yes, I think that the "merge" of this PR and ours will give us some work.

But as you say and as Memphiz said in the comment, there is a lot of chance that this PR and ours will only be merged once Leia will be enough stable.


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

So how should we continue development? Keep adding fixes and squashing them into the PR?


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

Absolutely no idea Undecided

The advantage of the PR is that we can see with Jenkins if we break something on another platform.
Don't know if is it possible to perform this Jenkins test on demand and outside a PR.

Should we continue working on ATV branch? On another branch? On a common branch with full access of contributors in order to avoid creating a PR between each others each time?

I more than agree to open my branch access to anybody, or maybe on another repo?

A lot of questions Big Grin


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

I think in the short term, maybe continuing with PRs into your branch is the right move. What does every one else think?

It could be some time before the PR get's merged so it would need to be preserved.


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

Yes I'm agree.

I am trying to directly run Kodi from Xcode on my Apple TV but I'm stuck with the "App installation failed The application could not be verified."
How to did manage to bypass this Xcode error?

I added my Bundle Identifier and enabled "Automatically manage signing" but I have this error.

Thank you.


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

(2019-04-10, 21:26)sy6sy2 Wrote: Yes I'm agree.

I am trying to directly run Kodi from Xcode on my Apple TV but I'm stuck with the "App installation failed The application could not be verified."
How to did manage to bypass this Xcode error?

I added my Bundle Identifier and enabled "Automatically manage signing" but I have this error.

Thank you.

Read the build docs Wink

You just need to add the keychain sharing capabilities to the target. Click the Capabilities tab, and enable keychain sharing for your bundle ID.


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

You can say it: RTFM :-P

Thank you ;-) I miss the part about the "signing on all 4 spots in the project settings".
But even with this settings I still get the error. Maybe I have to clean the project an rebuild everything...


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

Yes, you need to clean the project. So it rebuilds and signs.

Code:

Signing using a free developer account

Note that using a free developer account the signing will need to be reapplied every 7 days.
Open the Xcode project in Xcode as above (requires Xcode 7 or later)
Select Xcode->Preferences and select Accounts * Hit the + sign to add an Apple ID accoumt and Login.
Next select the kodi build target
Under the General tab, enter a unique bundle identifer and check the box to Automatically Manage Signing
 * Note: you may also need to enable Keychain Sharingon the Capabilities for your bundle identifier.



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

Thank you for your help but I still have to investigate because I still have the error even after completely deleted the Xcode project.
Recreate it with Cmake. Set everything concerning Signing like in your doc.
Build "ALL BUILD" then Run "kodi".