Discussion:
[SDL] How to get an SDL game on the Mac AppStore
SeanOConnor
2016-09-13 13:22:40 UTC
Permalink
It took me just a couple of hours to get my Windows C++ SDL game
up and running on MacOS. But, I'm stumped as to how to package it up and get it on the Mac AppStore. I've Googled everywhere and can't find anything helpful.

All of my PNGs, WAVs and MP3s are stored as separate files so that SDL can load them. But I can't see how you combine all of them and the executable file to make a package for the AppStore? Or is there a way of building those resource files into the executable file itself?

I guess you don't need to include any SDL Mac equivalent 'DLL' files? Do those all get built into the executable file via the Frameworks?

Does anyone know of a good tutorial or got any advice? Help!
Jonathan Dearborn
2016-09-13 13:32:25 UTC
Permalink
I guess it starts with your build tools. Are you using Xcode? If so,
packaging, signing, and submitting is all done there.

Assets should be copied into the app bundle (e.g. in a Copy Bundle
Resources build phase). Frameworks and loose libraries (OS X uses .dylib
instead of .dll) that do not come with OS X can be copied in a separate
build phase, though you may need to attend to the rpath/Runpath Search
Paths.

Jonny D
Post by SeanOConnor
It took me just a couple of hours to get my Windows C++ SDL game (
http://youtu.be/ysRtdalURDw up and running on MacOS. But, I'm stumped
as to how to package it up and get it on the Mac AppStore. I've Googled
everywhere and can't find anything helpful.
All of my PNGs, WAVs and MP3s are stored as separate files so that SDL can
load them. But I can't see how you combine all of them and the executable
file to make a package for the AppStore? Or is there a way of building
those resource files into the executable file itself?
I guess you don't need to include any SDL Mac equivalent 'DLL' files? Do
those all get built into the executable file via the Frameworks?
Does anyone know of a good tutorial or got any advice? Help!
_______________________________________________
SDL mailing list
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SeanOConnor
2016-10-07 13:35:56 UTC
Permalink
I'm using Xcode but every time I hit Archive, it archives it all and brings up the Organizer window but the "Upload to App Store..." button is greyed out.
Jonathan Dearborn
2016-10-07 13:47:38 UTC
Permalink
Do you have a Mac Developer account that is able to publish on the App
Store?

Jonny D
Post by SeanOConnor
I'm using Xcode but every time I hit Archive, it archives it all and
brings up the Organizer window but the "Upload to App Store..." button is
greyed out.
_______________________________________________
SDL mailing list
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Loading...