Ive also put this under “Install Help” but as I think it will help anyone using xcode as the dev environment ive added it here so you all see it!
Hopefully this will make it into the guide and have diagrams, but until then…
-
Create a new project, “File” > “New Project”
-
Template for project should be “Other” > “External Build System” and save the project
-
Under “Targets” in the left hand “Groups & Files” window in the main xcode editing window double click “Your Projects Name Goes Here”
-
Remove all the “Build Settings”, dont know what they did but removing them didnt hurt
-
In “Build Tool” enter the path to either the “simulator” link or the “Corona Terminal” app
just so you know, if you put the Corona folder in your Applications folder the the paths are as follows
“/Applications/Corona/Corona Terminal” or “/Applications/Corona/simulator” -
Under “Arguments” enter “$(PROJECT_DIR)”, this passes the location of the folder, what Corona looks for, to the simulator so it launches and builds the app without asking for the location of the project folder
-
Right click on the top of the main xcode window, the toolbar, and select “Customize Toolbar” and add the “Build” icon to the bar and click “Done”
-
Clicking the “Build” icon will now launch your application in Corona
Enjoy! [import]uid: 5354 topic_id: 567 reply_id: 300567[/import]