Posts: 443
Joined: Dec 2010
Reputation:
13
2018-02-01, 22:30
(This post was last modified: 2018-02-01, 22:35 by tocinillo.)
Yes, I did. With latest deb file I tried but when I uploaded to my Apple tv 4k (from 10.13 and Xcode 9.2): API internal error. Same process (generate prov. profile from XCode 7.3 and macOS 10.10.5 and sign the deb file with it) but with kodi-20170529-1ac3310--tvos.deb, everything was perfect.
So...it's the deb?
Posts: 443
Joined: Dec 2010
Reputation:
13
2018-02-02, 16:28
(This post was last modified: 2018-02-02, 16:54 by tocinillo.)
Yes, you're right. Now I can sign latest deb file with Xcode 7.3 profile. So (yes, I've developer paid account):
- I created a new project with XCode 7.3 & MacOS 10.10.5 following dan's instructions. Then I signed deb file (kodi-20170529-1ac3310--tvos.deb) and I obteined the IPA file. Reboot to MacOS 10.13 and Xcode 9.2 and uploaded to Apple TV 4K = TopShelf works nice
- I boot again to MacOS 10.10.5 then I signed deb file (kodi-20180130-c118e84-yab-tvos.deb) with same prov. profile created before and I obteined the IPA file. Reboot to MacOS 10.13 and Xcode 9.2 and uploaded to Apple TV 4K = TopShelf doesn't work
Same process, same prov. profile (generated automatically by Xcode 7.3), same iOS Signer version app, same MacOS version to sign it. Old deb (17.3) = works, latest one (17.6) doesn't. So finally the problem is the deb file.
I can't sign kodi-20170529-1ac3310--tvos.deb with Xcode 9.2 and macOS 10.13 because iOS Signer crash.
Some commit after 17.3 maybe?
PS: Later I'll try to compile it from source with Xcode 7.3, but I think this old version can't do...
Posts: 16,946
Joined: Feb 2011
Reputation:
256
It’s not possible to make it work with free developer account because Apple disallows the needed entitlement for it ... it might work in older Xcode versions but I really doubt it because usually apple has full access to restrictions from their server side of things (and can change them as they want to affect all Xcode versions)
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much:
click here
HowTo setup NFS for Kodi:
NFS (wiki)
HowTo configure avahi (zeroconf):
Avahi_Zeroconf (wiki)
READ THE IOS FAQ!:
iOS FAQ (wiki)
Posts: 274
Joined: Feb 2012
Reputation:
10
2018-02-07, 20:02
(This post was last modified: 2018-02-09, 18:54 by Steverae.)
confirmed : Kodi171024 works fine with top shelf, everything after that does not. kinda what I said at the start of this post. back to 17.4 without issue, used the same provisioning name and kept all my settings....
Now we'll have to work together to find out what has changed, I can't even get the source to compile on my machine, running Xcode 9.3 beta, keep getting crazy errors which seem to point to a change in the swift version.
dunno if anyone has a compiled source that will compile in Xcode 9.3 they could share ?
I've long ago ditched my Xcode 7.3 version. however, if this is the version of Xcode we need to compile from the source, I'm happy to re-download it form the dev portal.
I know it would complain like crazy that we don't have the binaries for the latest versions of TVoS or IOS.
Posts: 385
Joined: Jan 2014
Reputation:
4
Has anything changed regarding enabling the top shelf with xcode in Mojave? I just can't get it to work with my paid developer account anymore.
Posts: 385
Joined: Jan 2014
Reputation:
4
Thank you very much!
Would you mind to give some more guidance through this process? Is this still possible with IOS App Signer?
Posts: 613
Joined: Jul 2012
Reputation:
30
It's still possible within iOS App Signer as of the latest version I released today, but I think you now need a paid account for the needed entitlements.
You create an Xcode tvOS project, then you add an extension named TVOSTopShelf, then Xcode will generate two provisioning profiles
One for the main bundle and one for the extension.
To sign the extension, you'll need to extract the Kodi.app manually from the bundle and then you'll have to sign Kodi.app/Plugins/TVOSTopShelf.appex first
Then you'd sign Kodi.app with the checkbox that says "Ignore Plugins folder" and you should have a properly signed Kodi with working top shelf