iOS Development on iPhonesimulator
#1
Hello developers,

I am trying to understand how xbmc works and debugging on the iPhone device but although I am working on a fast device
(iPhone6+), the deployment duration is long and I want to build xbmc source code for iPhonesimulator.
As far as I see from the configure.ac file, there is no a preset configuration for iPhonesimulator, If somebody here made xbmc
build for iPhonesimulator, I will appreciate for a guide to achieve this.
Reply
#2
Only MrMC got it to work on his fork and it was a big project to get it work iirc.
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)
Reply
#3
(2016-11-03, 08:32)Memphiz Wrote: Only MrMC got it to work on his fork and it was a big project to get it work iirc.

Thanks for the rapid reply,

I think, the fork that You mentioned is https://github.com/MrMC/mrmc
(If not please let me know)

I've examined it but there is no any configuration for iPhonesimulator

In fact, If xbmc is built on x86 darwin and arm-darwin(ios), then I guess, It should be not a big deal to build for iphonesimulator.
Reply
#4
I think MrMC never published the code - don't under estimate our huge number of dependend Libs ... but sure you could proove that this is easy anytime you want Smile
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)
Reply
#5
OK, I've done exactly what You say and build only the osx version. I can debug it now, so It's OK for me, thanks.

Memphiz, do you have any opengl experience ? (I am stucked one place,
Below code is run in opengles, therefore It's not existed in osx and I could not debug and could not understand the values of
Yloc, Uloc, and Vloc.)



GLfloat m_tex[3][4][2] = {
{ {{1.0, 2.0}, {2.0, 3.0}}, {{0.0, -3.0}, {9.0, 11.0}}, {{23.0, 12.0}, {43.0, 22.0}}, {{15.0, 4.0}, {3.0, 12.0}} },
{ {{13.0, 4.0}, {56.0, 3.0}}, {{5.0, 9.0}, {3.0, 5.0}}, {{3.0, 1.0}, {4.0, 9.0}}, {{5.0, 4.0}, {7.0, 12.0}} },
{ {{3.0, 9.0}, {6.0, 13.0}}, {{8.0, 19.0}, {13.0, 6.0}}, {{3.0, 3.0}, {9.0, 6.0}}, {{35.0, 7.0}, {13.0, 12.0}} }
};

glVertexAttribPointer(Yloc, 2, GL_FLOAT, 0, 0, m_tex[0]);
glVertexAttribPointer(Uloc, 2, GL_FLOAT, 0, 0, m_tex[1]);
glVertexAttribPointer(Vloc, 2, GL_FLOAT, 0, 0, m_tex[2]);


I know the meaning of glVertexAttribPointer, It sets the value of m_tex[0] in 2 floats to vertex Yloc but m_tex[0] includes
{{1.0, 2.0}, {2.0, 3.0}}, {{0.0, -3.0}, {9.0, 11.0}}, {{23.0, 12.0}, {43.0, 22.0}}, {{15.0, 4.0}, {3.0, 12.0}} so does it take first two ones ??
{1.0,2.0} I am not sure.
Reply
#6
No idea - sorry.
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)
Reply
#7
Thanks anyway
Reply

Logout Mark Read Team Forum Stats Members Help
Development on iPhonesimulator0