Xcode Corona Editor

I decided to share this for those who like to use Xcode:

Xcode as Corona SDK Editor

 

Works with Xcode 4, 5, 6 and 7

for Corona SDK, Enterprise and Cards

 

This project includes:

  • Auto-completion for all Corona API calls and constants
  • Lua Syntax Coloring
  • Corona Project Templates built into Xcode
  • Corona File Templates built into Xcode
  • Xcode behavior scripts for improved workflow

Behaviour scripts extends Xcodes functionality. You can pick them from the menu bar or put them on a keyboard shortcut. Included behavior scripts:

  • Launch Corona Simulator with current project
  • Online documentation lookup from selected text
  • Bridging of Corona Simulators options to: Show Project Sandbox, Relaunch and Build
  • Open Android Device Monitor (Android SDK installation needed)
  • Install apk to usb connected Android device (Android SDK installation needed)
  • and more…

You can find it in the code exchange or here: https://github.com/jcbnlsn/Xcode-Corona-Editor

Feel free to fork and contribute.

Just wanted to let you know I added some new scripts:

    • Online Corona SDK documentation lookup from selected text
    • Install apk to usb connected Android device (Android SDK installation needed)
    • Upload to TestFlight. Converts app to ipa and submits it to Testflight

check it out.

Nice work !

Really appreciate sharing.

Thanks. Glad to hear you like it.

Let me know if you find any quirks or have any suggestions.

Just wanted to let you know I added some new scripts:

    • Online Corona SDK documentation lookup from selected text
    • Install apk to usb connected Android device (Android SDK installation needed)
    • Upload to TestFlight. Converts app to ipa and submits it to Testflight

check it out.

Nice work !

Really appreciate sharing.

Great work ojnab! Many thanks for this!!

Thanks. Glad to hear you like it.

Let me know if you find any quirks or have any suggestions.

@crussel

My pleasure. Nice to hear someone is using it.

btw I did a couple of improvements to the behaviour scripts.

Let me know if you have any suggestions.

Great work ojnab! Many thanks for this!!

@crussel

My pleasure. Nice to hear someone is using it.

btw I did a couple of improvements to the behaviour scripts.

Let me know if you have any suggestions.

This project was updated to work with Xcode 6.

After updating Xcode you need to run the install script again.

Hi there -

Thanks for the update - just applied it.  2 quick questions

  1. Please check/provide advise on the Color Project Script.

Color a file works fine as do the other scripts but when I run Color Project nothing happens?

  1. I want to add an additional Corona SDK Project Template (you currently have Composer and Storyboard) - I want to add the “App” project template from Corona Enterprise…

Hey bluetardis

  1. After some investigation I finally realized that the color project shell script didn’t like white spaces in the path for the Xcode project.

I fixed it and updated the script on github. Please let me know if it solves the problem. ( btw you don’t need to install everything again… you can just replace the script )

  1. That is a nice idea. You would basically need to create a plist file listing all the files in the App project template folder.

Here is a couple of links on how to do it:

http://blog.boreal-kiss.net/2011/03/11/a-minimal-project-template-for-xcode-4/

http://www.bobmccune.com/2012/03/04/creating-custom-xcode-4-file-templates/

It will be quite a task though - considering how many files the App template consists of. I think it would make sense to do some kind of script to automate the process. Please let me know if you succeed… would be great to add it to github.

Thanks!

Thanks for the update.

I will get in touch when I have a chance to work on this.

@ojnab

Thanks a lot ! Great job !

Really appreciate sharing

This project was updated to work with Xcode 6.

After updating Xcode you need to run the install script again.

Hi there -

Thanks for the update - just applied it.  2 quick questions

  1. Please check/provide advise on the Color Project Script.

Color a file works fine as do the other scripts but when I run Color Project nothing happens?

  1. I want to add an additional Corona SDK Project Template (you currently have Composer and Storyboard) - I want to add the “App” project template from Corona Enterprise…

Hey bluetardis

  1. After some investigation I finally realized that the color project shell script didn’t like white spaces in the path for the Xcode project.

I fixed it and updated the script on github. Please let me know if it solves the problem. ( btw you don’t need to install everything again… you can just replace the script )

  1. That is a nice idea. You would basically need to create a plist file listing all the files in the App project template folder.

Here is a couple of links on how to do it:

http://blog.boreal-kiss.net/2011/03/11/a-minimal-project-template-for-xcode-4/

http://www.bobmccune.com/2012/03/04/creating-custom-xcode-4-file-templates/

It will be quite a task though - considering how many files the App template consists of. I think it would make sense to do some kind of script to automate the process. Please let me know if you succeed… would be great to add it to github.

Thanks!

Thanks for the update.

I will get in touch when I have a chance to work on this.