Can I use Xcode to build a Corona app that I want to build for Android?

Hello,

I have experience with XCode, and I’m trying to port my app to Android. I am a refugee from Android Studio, so I’m taking a look at Corona. I know that I can use XCode with Corona, but can I build a Corona app that is intended for Android?

Thank you,

Eli

You write a single set of source and you can build that source for:

  • Android
  • iOS
  • OS X
  • Windows 32
  • HTML5
  • Apple TV
  • Android TV (really just Android)

You do all this building from the Corona simulator. https://docs.coronalabs.com/guide/distribution/

For iOS builds, it is required you build using the OS X version of the simulator and that you have the correct xCode installed, because there are steps required by Apple where the simulator must use xCode resources to do some of the work.

For Android builds, you can build on OS X or Windows machines, using the corresponding Corona simulator.  To sign and build, you must have the correct JDK installed.  xCode is not used for Android builds.

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

Once you have the correct tools installed, builds are easy and initiated from the Simulator.

What About Corona Native?

This is an alternate way of building that I won’t discuss here since this is in the newbie forums.  I will only say, that if you find you need to add specific native features to Corona that it doesn’t already support, you use the Native build process to do that.

https://docs.coronalabs.com/native/index.html

I can vouch for this plugin too, I used to use Sublime, but once I put this onto Xcode, I found Xcode a lot easier to write Corona apps for (for all the platforms). As RG posted above, it’s Corona that builds the platforms.

https://marketplace.coronalabs.com/graphics/corona-plugin-for-xcode

You write a single set of source and you can build that source for:

  • Android
  • iOS
  • OS X
  • Windows 32
  • HTML5
  • Apple TV
  • Android TV (really just Android)

You do all this building from the Corona simulator. https://docs.coronalabs.com/guide/distribution/

For iOS builds, it is required you build using the OS X version of the simulator and that you have the correct xCode installed, because there are steps required by Apple where the simulator must use xCode resources to do some of the work.

For Android builds, you can build on OS X or Windows machines, using the corresponding Corona simulator.  To sign and build, you must have the correct JDK installed.  xCode is not used for Android builds.

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

Once you have the correct tools installed, builds are easy and initiated from the Simulator.

What About Corona Native?

This is an alternate way of building that I won’t discuss here since this is in the newbie forums.  I will only say, that if you find you need to add specific native features to Corona that it doesn’t already support, you use the Native build process to do that.

https://docs.coronalabs.com/native/index.html

I can vouch for this plugin too, I used to use Sublime, but once I put this onto Xcode, I found Xcode a lot easier to write Corona apps for (for all the platforms). As RG posted above, it’s Corona that builds the platforms.

https://marketplace.coronalabs.com/graphics/corona-plugin-for-xcode