SDL2 app on ios/osx |
M. Gerhardy
Guest
|
Hi
does anyone here has a working example of a simple SDL2 based app (preferable cmake based) that generates a signed ipa or dmg. I'm stuck at creating ios and osx packages. Compilation is not a problem with my cmake based system for osx and ios - but the packaging. I don't know where to put the assets and so on. Currently I'm generating an xcarchive and then try to assemble the ipa with this small script: https://github.com/mgerhardy/caveexpress/blob/master/contrib/scripts/ios.sh (and osx: https://github.com/mgerhardy/caveexpress/blob/master/contrib/scripts/osx.sh) But I'm lost... there is an xcarchive generated that is later detected as invalid by the export command. Thanks a lot Martin -- http://www.caveproductions.org |
|||||||||||
|
brada
|
It is a mac only build, but ios and mac application bundles should be quite similar so you should be able to adapt it...
You can checkout this file: https://github.com/gemrb/gemrb/blob/master/gemrb/CMakeLists.txt around line 38 is where the cmake commands for generating application bundles is located. there are several other CMakeLists.txt files in that project that may contain some other helpful bits for you. The nice thing about this example is it uses lots of different asset types including plugins and custom types so it should have most everything you need for your build too. Hope you find it helpful. |
|||||||||||
|
SDL2 app on ios/osx |
M. Gerhardy
Guest
|
Thanks a lot for your examples. I will give it a try.
On Mon, Nov 9, 2015 at 6:54 PM, brada wrote:
-- http://www.caveproductions.org |
|||||||||||||
|
SDL2 app on ios/osx |
M. Gerhardy
Guest
|
I "think" I managed to adopt my cmake scripts to let it work, but how can I assemble the dmg/ipa from commandline? It looks that my posted ios.sh and osx.sh scripts are still missing something.
Thanks a lot for your help. On Mon, Nov 9, 2015 at 7:23 PM, M. Gerhardy wrote:
-- http://www.caveproductions.org |
|||||||||||||||
|