Kodi Community Forum

Full Version: Compile XBMC for AppleTV 2
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am trying to compile XBMC for my Apple TV 2, because I want to customize it's features, e.g. displaying graphics and playing streaming medias. Is there any detailed guide / information for compiling XBMC for Apple TV 2, (which is ATOM based processor with iOS 4.2x OS)?

Thank you very much
1. apple tv2 is arm based
2. README.ios (which is inside the root dir of the git project) will tell you how to compile it...

good luck

memphiz
Just tried to compile from source and as expected ran into problems.

I read the README.ios, I am stuck trying to open Xcode project,
XBMC-ATV2.xcodeproj.

"
4.1
Start XCode and open the XBMC project (XBMC-IOS.xcodeproj or XBMC-ATV2.xcodeproj)located in $HOME/XBMC.
"

Will XBMC ATV2 project compile under Xcode 4.2.1 or does it need Xcode 3.x?

I am having trouble installing 3.2.5, stupid Lion Sad.

README.ios says that the current build system is Xcode 3.x, so does that answer my own question?
strelok18t Wrote:README.ios says that the current build system is Xcode 3.x, so does that answer my own question?

Yes. The readme also mentions 10.4 SDK which is not present in Xcode4.
GREAT SUCESS!

Thank you!

I was able to compile and install XBMC from source, System Info reports today's build date Smile.

To compile XBMC for ATV2 Xcode 3.x must be used, it will NOT work with Xcode 4.x (Xcode 4.2.1 at the moment).

Installing Xcode 3.2.5 on Lion OSX 10.7 is a small pain!

Here are some notes, in case someone stumbles upon this:

1). Get Xcode 3.2.5 here:
https://developer.apple.com/downloads/do..._final.dmg

2). To install 3.2.5 on OSX Lion 10.7 read this:
http://anatomicwax.tumblr.com/post/80649...lion-redux
# export COMMAND_LINE_INSTALL=1
# open "/Volumes/Xcode and iOS SDK/Xcode and iOS SDK.mpkg"

3). Xcode installation will hang, complaining about iTunes being open, even if it is not. Do this:
# killall iTunesHelper



4). After you follow README.ios and compilation finishes (with 3 warnings) using Xcode GUI, don't forget to make DEB package to install on ATV2.
# cd tools/darwin/packaging/xbmc-atv2/
# ./mkdeb-xbmc-atv2.sh release

5). Copy .deb file to ATV2 using SFTP and install
# dpkg -i <file.deb>

Tested YouTube video playback, works fine Smile.

Next I need to figure why UI doesn't look right, there is "no black" in menus. I believe that was reported in forums earlier somewhere.
strelok18t Wrote:GREAT SUCESS!

Thank you!

I was able to compile and install XBMC from source, System Info reports today's build date Smile.

To compile XBMC for ATV2 Xcode 3.x must be used, it will NOT work with Xcode 4.x (Xcode 4.2.1 at the moment).

Installing Xcode 3.2.5 on Lion OSX 10.7 is a small pain!

Here are some notes, in case someone stumbles upon this:

1). Get Xcode 3.2.5 here:
https://developer.apple.com/downloads/do..._final.dmg

2). To install 3.2.5 on OSX Lion 10.7 read this:
http://anatomicwax.tumblr.com/post/80649...lion-redux
# export COMMAND_LINE_INSTALL=1
# open "/Volumes/Xcode and iOS SDK/Xcode and iOS SDK.mpkg"

3). Xcode installation will hang, complaining about iTunes being open, even if it is not. Do this:
# killall iTunesHelper



4). After you follow README.ios and compilation finishes (with 3 warnings) using Xcode GUI, don't forget to make DEB package to install on ATV2.
# cd tools/darwin/packaging/xbmc-atv2/
# ./mkdeb-xbmc-atv2.sh release

5). Copy .deb file to ATV2 using SFTP and install
# dpkg -i <file.deb>

Tested YouTube video playback, works fine Smile.

Next I need to figure why UI doesn't look right, there is "no black" in menus. I believe that was reported in forums earlier somewhere.

mhhh @davilla ... whatsup with the texturepacker? Do we have an issue here or not? Wonder why buildbot succeeds ...
texturepacker packing (or lack of) fixed in trunk.