Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I am looking for an engine or library to develop a game for iOS on Linux.

High level, low level, GUI, no GUI, does not matter too much. I am really looking for anything.

I'm not actually talking about deploying to iOS from Linux or anything like. I just want to do the bulk of the work on Linux, with minimal changes required to run it on iOS.

Edit: YES, I do have access to a Mac, but it is limited. So I want to be able to work on the project on my regular Ubuntu box.

Also, I am in the paid developer program, so I can deploy to iOS devices from the Mac.

share|improve this question
    
MonoDroid should be getting Linux support at some point - if you write your game with MonoGame you can cross-compile it with very little effort. At the end of the day I think you do need a Mac. –  Jonathan Dickinson Feb 5 '12 at 17:44
    
Is a virtual machine an option? –  stephelton Oct 27 '12 at 22:59
    
@stephelton I now have full time access to a Mac, so this is no longer a problem. See my answer below. –  user13185 Oct 28 '12 at 1:07

5 Answers 5

You're pretty much screwed - while there are many libraries and frameworks that allow development on Linux, to do any serious testing you'll need a Mac (or Hackintosh, din't say it). Deployment is one problem, but testing on any simulator is another.

Linux also doesn't run Unity, which would be another good solution.

However, you can take a look at one of the many home rolled solutions. In particular, a really low level solution would be using SDL 1.3+ -- it has built in support for iOS as a target.

share|improve this answer
    
If it makes a difference, I do have some access to a Mac. See my updated OP. –  user13185 Feb 5 '12 at 18:45
    
You're best sticking to limited access to the Mac. You're going to waste hours getting a non-Mac system running and you won't even be able to test your code on the simulator, which means you won't be able to bug fix. Your whole workflow is going to be a convoluted mess. –  Piku Feb 14 '12 at 10:52

If you want to test your app on a real iOS device and later release it, there is no legal way but to purchase a mac device. but If you are looking for a way to develop an app and test it on emulators, you can try using gnustep. note that can try an app written by gnustep, using a jail broken device.

besides if you don't mind working with C++ there is cocos2d-x you can try.

the last option (which also is illegal) is to use emulated MacOS.

this question is also somehow duplicate on StackOverFlow: http://stackoverflow.com/questions/276907/starting-iphone-app-development-in-linux

share|improve this answer
    
Illegal? Even if your copy of MacOS is original? Are you sure? –  Lohoris Feb 7 '12 at 10:19
    
@Lohoris yeah, I'm sure about that. MacOS can only be installed on a mac device. though I've got some friends who deployed their iOS games using emulated MacOS, but Apple strictly forbids such an action. –  Ali.S Feb 7 '12 at 11:02
    
And do you know if there is any sentence anywhere which actually confirms the validity of that clause, or it is just another random clause they put into contracts but has never been tested in a tribunal? –  Lohoris Feb 7 '12 at 11:09
1  
    
lol that's really terrible, though not surprising after all –  Lohoris Feb 7 '12 at 13:15

I now have full time use of a Mac, so I no longer need to develop for iOS on a Linux machine.

However, gameplay (gameplay3d.org), an open source project by Research In Motion (RIM), looks really good. It is primarily a 3D engine, and uses C++. It also has Lua scripting support.

I haven't actually tested gameplay on Linux, but it appears to have full support.

share|improve this answer

You can use Moai to develop iOS and Android apps from Windows, Mac, and Linux.

However, you're going to need a Mac in order to deploy or test your app.

share|improve this answer
    
I have looked at Moai in the past, but there is no official support for Linux. And I do have some access to a Mac, see my updated OP. –  user13185 Feb 5 '12 at 18:41

You can develop a game with flash and build it to iOS using Adobe Air

However, you're going to need a Mac in order to deploy or test your app.

share|improve this answer
    
Does Adobe Air work on Linux? Also, that last line applies to my answer as well; copied! –  jhocking Feb 5 '12 at 15:46
    
Well.. I'm not sure about compiling with adobe air, but he said he wants to do the bulk of the work on Linux, so he can develop in any ActionScript IDE and even run and test it on the flash player for linux. –  yonix Feb 5 '12 at 16:34
    
Hey what's with the down vote with no comment or explanation? Not cool... –  yonix Mar 31 '12 at 6:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.