ScummVM logo Forum Index - ScummVM website - Contact us - Buy Supported Games: GOG.com Rules - Search - Register - Login curved edge
Folder Forum Index > iPhone Port > building iOS libraries using Xcode
building iOS libraries using Xcode
  Author    Thread Reply to topic
donkthemagicllama



Joined: 15 Nov 2017
Posts: 3
building iOS libraries using Xcode 

Has anyone been able to build the iOS libraries (libFLAC, freetype, etc) using Xcode?

I'm trying to make a tvOS port, and it works in the AppleTV simulator, but I need to recompile the libraries for tvOS.

I *think* this wouldn't be too hard if I could start from building for iOS, but I haven't been able to do that yet...

 Reply with quote  
Post Mon Dec 04, 2017 7:06 pm 
 View user's profile Send private message
jonnyijapan



Joined: 11 Sep 2018
Posts: 14
Location: Tokyo
 

I just landed in your boat. Had the same idea; copy the iOS target, make it into a tvOS target, try to build to device (Apple TV), fixed (removed, for now) some iOS specific things like touches, but realized those libs are built for iOS and likely needs to be rebuilt for tvOS, if possible.

And FWIW, opengl is unfortunately deprecated since current tvOS (12.0) but can likely still be used... maaaybe, in the long run, opengl code must be replaced with metal code. Not that metal would really be needed I assume.

Edit: I also got it all to build and run using tvOS simulator.

 Reply with quote  
Post Fri Sep 28, 2018 10:29 pm 
 View user's profile Send private message
jonnyijapan



Joined: 11 Sep 2018
Posts: 14
Location: Tokyo
 

Just an update: Not a lot of time on my hand, but I am *slowly* on my way to building all of the libraries for tvOS. I'm not sure we can get around CoreMIDI, if it's really needed, if we can just switch that off when creating the xcode project etc, in the end...

I'm not very used to building FLAC, freetype and all those libraries at all. But looks like I've gotten FLAC to work for now. At least the scummvm xcodeproj seems happy about it. I've yet to fix all of the libs so I can launch on device to see if anything worked at all...

So these are the libs that need to be recompiled:

libFLAC.a, libfreetype.a, libfluidsynth.a, libjpeg.a, libmad.a, libvorbisfile.a, libpng.a

For early-proof-of-concept-build purposes it might be possible to remove the requirement of one or a few of those. I guess I might try that further down.

 Reply with quote  
Post Sun Sep 30, 2018 3:29 pm 
 View user's profile Send private message
  Display posts from previous:      
Reply to topic

Forum Jump:
 



Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Powered by phpBB © 2001, 2006 phpBB Group
Forum design by ScummVM team, icons by raina
curved edge   curved edge