SImulation on Macbook

Hi,

I have bought a macbook pro. Before this, i worked on a old pc, but it was easy. Now i must develop on iPhone so i need a macbook pro. I have, but now, when i want simulate a main.lua, i have the simulation with the device, but the console don’t display! I just have the device, so i want to know how have the console?..

Best Regards kevin.

run the terminal app inside folder instead of simulator

excuse me but i don’t see what you want i do…

open your corona folder and there’s an app called terminal

Finder>corona>terminal

what app are you using to write code in

ok it’s work! i thought that will be better than pc, but it’s not better, anywhere…

so i can’t double click on my main.lua, because if i do this, system lauch corona simulator --’

Right click -> open with -> [your text editor]

Or, if you want all files to open with a text editor, Right Click -> Get Info -> Open With menu -> (choose your text editor) -> Change All

If you’ve used a PC all your life, Mac can be a big step, but once you get used to it, you’ll wonder why you didn’t buy a Mac earlier :slight_smile:

  • C

you can change the app that opens or some IDE have it built in. (sublime w/corona editor) glider and outlaw

ok thanks men, just a question when i want build for ios i have this message :

The iOS SDK located at  is missing the following component(s):
Please (re)install the iOS SDK.

Have you downloaded Xcode yet?

  • C

No, i’m french and i didn’t find all the step to follow…

Ok, you’ll need to download XCode. It can be obtained from the App Store for free, or you can read about it here:

https://developer.apple.com/xcode/index.php

Once you download it, you’ll get the iOS SDK. Unfortunately, there isn’t a way to download just the SDK without Xcode.

  • C

i’m very happy to see that there are people like you, who help me a lot of

thanks!

You’re very welcome :slight_smile:

  • C

work fine.

but just one or two more asking…
when i click on build for iOS, i can’t build for device, i can just build for xcode simulator…
 

it’s may be because i don’t have developper account yet…

correct

As jstrahan said, that’s correct. Android will let you build without a developer license, but not iOS.

  • C

run the terminal app inside folder instead of simulator

excuse me but i don’t see what you want i do…