Hi
Back again with a little progress on the atv2 build. Sadly I must say that I will not have that much time to finish this up due to work so I'd thought I'd put up the information where I am today and the current behavior of my build.
Behaviour to-date
Everything compiles and builds okay. When XBMC starts it manages to connect to Spotify via libspotify but then reboots the ATV2 without any message in the error logs which I manage to interpret.
The log file is available on;
http://pastebin.com/56U9nAph
Modifications to build;
The steps i’ve made to get it to compile takes it standpoint in the readme.ios file but made the following changes;
Preparations- Download the git from spotyxbmc2 instead of normal xbmc
- Download libspotify for iOS from Spotify and extract it
- Copy appkey.h to the root folder of spotyxbmc2
- Create a directory named libspotify in the spotyxbmc2 root folder.
- Copy api.h to the libspotify directory
Changes to the build script
Start by opening up XBMC-ATV.xcodeproj with Xcode.
Add the libpspotify framework
- Rightclick on Systemlibs and Frameworks.
- Add => Existing Frameworks.
- Add Other.
- Go to the folder where you extracted the libspotify (downloaded from SPotify)
- Select the libspotify.framework
- Click Add
Include the libspotify api.h
- Expand Source
- Expand Lib
- Right click on Lib and select Add => Existing Files
- Go to /lib/libspotify (within the spotyxbmc2 sourcedir)
- Click Add
- Verify that the target XBMC is checked. Click on Add
Add the spotyxbmc source to build
- Expand Source
- Expand xbmc
- Expand music
- Right click on music and select Add => Existing Files
- Navigate to /xbmc/music/spotyxbmc2 (within the spotyxbmc2 sourcedir)
- Click Add
- Verify that the target XBMC is check. Click on Add
Compile in accordance with readme.ios starting from 3.1.
I really hope someone picks up the ball from here and manages to do this little extra to get this to run. I feel it's so close now. I can provide more logs if some nice person have a hunch on where the problem is.
//Mike