How to convert my game from android to ios?

Hello everyone,

I made a game in corona for android and I want to develop it for iOS as well.

What steps I’ve to take for that?

Do I’ve to write different code for iOS or I just have to convert it?

What things I require to make an app or game for iOS?

I want to launch my game on 3rd august so I wanted to know how could I convert my code from android to iOS?

And I purchased mac book pro. What else I need?

Any help would be highly appreciated.

Thanks,

Hi @fazilreyaz

Corona is a cross-platform framework so there is no need to write separate code for iOS (unless you made the game using Corona Native).

To build your game for iOS you need Macbook and latest Xcode installed on it. 

You can read more about building and distribution for different platforms here

https://docs.coronalabs.com/guide/index.html#building-and-distribution

There is nothing much to it, but you will need …

  • … a Macintosh - Can’t make iOS builds without one.  (Blame Apple, this is their rule.)
  • … an Apple Developer account.
  • … to know how to make and download certificates to your Mac.  i.e. If you’ve never done this before you will need to learn.

Thus being prepared, the basic steps are:

  1. Using your Apple Developer Account, create the appropriate certificates fro the app you’re making.

  2. Download the certificates to your Mac.

  3. Build your app with the simulator on your Mac and target iOS.

  4. Create an app page for your app via iTunes connect (apple developer stuff).

  5. Upload the app to the page when it is ready.

  6. Submit it.

There is a guide here that spells all this out and I have the sense that someone has just posted it (saw an update notice just now.)

If not I’ll post back with a link.

Thanks I will check it out. 

My game is a simple point and click adventure. It will be a paid game. I’ve implemented 14 different languages. Hope to see good results.

Once again thank you.

 

Thank You.

I will follow all the guidelines which you’ve mentioned.

Actually i’m dealing with iOS for the first time. So I am not much aware about it. Hope everything will go smoothly.

Is your android game written in Lua with Corona or is it a Java game you want to port?

Rob

Its written in lua with corona… 

As others have hinted, there are always some things you will need to adapt to. Corona is largely cross-platform, but there are things unique to each OS that simply must be accounted for depending on your game.

A few of the more obvious ones (or possibly not so obvious) include:

  1. If you’re implementing in-app purchasing, then clearly you’ll have to do Apple’s IAP methods, or use a free plugin like IAP Badger which resolves much of the complexity for you.

  2. Certain audio formats work on Android or iOS but not necessarily on both. You can see details here:

https://docs.coronalabs.com/guide/media/audioSystem/index.html#formats

  1. If you’re using Corona widgets, the default ones for iOS look very different from the Android “holo” ones. Of course, you can visually customize any widget (and for a game you probably should) but it’s something to keep in mind.

  2. For iOS, localization will be a pretty big deal, especially if you’re using 14 different languages. This guide should get you started:

https://docs.coronalabs.com/guide/distribution/localization/index.html

  1. On iOS, launch screens work quite a bit differently (in fact, the overall concept doesn’t really exist on Android). You may want to build custom launch screens, which this guide outlines:

https://docs.coronalabs.com/guide/distribution/launchFile/index.html

Hope this helps,

Brent

Hi @fazilreyaz

Corona is a cross-platform framework so there is no need to write separate code for iOS (unless you made the game using Corona Native).

To build your game for iOS you need Macbook and latest Xcode installed on it. 

You can read more about building and distribution for different platforms here

https://docs.coronalabs.com/guide/index.html#building-and-distribution

There is nothing much to it, but you will need …

  • … a Macintosh - Can’t make iOS builds without one.  (Blame Apple, this is their rule.)
  • … an Apple Developer account.
  • … to know how to make and download certificates to your Mac.  i.e. If you’ve never done this before you will need to learn.

Thus being prepared, the basic steps are:

  1. Using your Apple Developer Account, create the appropriate certificates fro the app you’re making.

  2. Download the certificates to your Mac.

  3. Build your app with the simulator on your Mac and target iOS.

  4. Create an app page for your app via iTunes connect (apple developer stuff).

  5. Upload the app to the page when it is ready.

  6. Submit it.

There is a guide here that spells all this out and I have the sense that someone has just posted it (saw an update notice just now.)

If not I’ll post back with a link.

Thanks I will check it out. 

My game is a simple point and click adventure. It will be a paid game. I’ve implemented 14 different languages. Hope to see good results.

Once again thank you.

 

Thank You.

I will follow all the guidelines which you’ve mentioned.

Actually i’m dealing with iOS for the first time. So I am not much aware about it. Hope everything will go smoothly.

Is your android game written in Lua with Corona or is it a Java game you want to port?

Rob

Its written in lua with corona… 

As others have hinted, there are always some things you will need to adapt to. Corona is largely cross-platform, but there are things unique to each OS that simply must be accounted for depending on your game.

A few of the more obvious ones (or possibly not so obvious) include:

  1. If you’re implementing in-app purchasing, then clearly you’ll have to do Apple’s IAP methods, or use a free plugin like IAP Badger which resolves much of the complexity for you.

  2. Certain audio formats work on Android or iOS but not necessarily on both. You can see details here:

https://docs.coronalabs.com/guide/media/audioSystem/index.html#formats

  1. If you’re using Corona widgets, the default ones for iOS look very different from the Android “holo” ones. Of course, you can visually customize any widget (and for a game you probably should) but it’s something to keep in mind.

  2. For iOS, localization will be a pretty big deal, especially if you’re using 14 different languages. This guide should get you started:

https://docs.coronalabs.com/guide/distribution/localization/index.html

  1. On iOS, launch screens work quite a bit differently (in fact, the overall concept doesn’t really exist on Android). You may want to build custom launch screens, which this guide outlines:

https://docs.coronalabs.com/guide/distribution/launchFile/index.html

Hope this helps,

Brent