Will Corona work on OS X Lion?

I don’t think Apple supports Xcode 4.0 on Lion. They expect you to use Xcode 4.1+ on Lion.
[import]uid: 7563 topic_id: 12390 reply_id: 46496[/import]

Works fine for me with XCode 4.1 + Mac OSX Lion + latest corona daily build [import]uid: 52784 topic_id: 12390 reply_id: 46498[/import]

Downloading all the above now. :slight_smile: Here goes … Something. [import]uid: 10361 topic_id: 12390 reply_id: 46501[/import]

Hi,

In case it helps others, I was using Corona SDK build 484 on Lion with Xcode 4.1. The simulator worked fine after installing Java but when building for the device I was getting:

Runtime error
?:0: attempt to index global ‘NSDictionary’ (a nil value)
stack traceback:
[C]: ?
?: in function ‘?’
?: in function ‘?’
?: in function <?:419>

Installing latest daily build for Corona (build 584) fixed the problem and I was able to build.

Thanks for a great product!

Don Leclair
[import]uid: 13730 topic_id: 12390 reply_id: 46508[/import]

The simulator is telling me I don’t have the iOS SDK, but I do and it worked before Lion. Where can I check if I have the SDK or not, and how can I fix this. And it only says this when I try to build. [import]uid: 7116 topic_id: 12390 reply_id: 46525[/import]

Please post a new stable build for non-subscribers that works with Lion and XCode 4.1 this week. [import]uid: 14712 topic_id: 12390 reply_id: 46527[/import]

the earliest we can do is Aug 2nd.

we can’t turn back the clock. :frowning: we are going into full lockdown tomorrow.

c. [import]uid: 24 topic_id: 12390 reply_id: 46533[/import]

I got the same problem, then I updated the XCode to 4.1 and then this problem go away… Now i have no problem. [import]uid: 52784 topic_id: 12390 reply_id: 46550[/import]

Thanks for the quick response guys! I downloaded the latest daily build (584) and it fixed the “attempt to index global ‘NSDictionary’ bug”. Cheers! [import]uid: 45104 topic_id: 12390 reply_id: 46565[/import]

Have no issues to report, works fine. [import]uid: 13560 topic_id: 12390 reply_id: 46583[/import]

Well that was a pain. I had to upgrade xcode to 4.1 after my Lion install. Problem was, xcode crashed like crazy after the upgrade. I had to uninstall and do a fresh install of 4.1. After that, I installed the latest Corona Build (584) and I am now able to run the simulator and build for the device. One thing I have noticed though is my frame rates within the Corona Simulator are really low or something. Even simple physics are kind of choppy. I don’t see this same thing on the device though. Anyone else experiencing that?

Also, I can no longer use xcode as a LUA editor. Apple seems to have removed that functionality huh?

Jamie [import]uid: 15615 topic_id: 12390 reply_id: 46637[/import]

We have not noticed any low framerate problems in Lion. I would like to hear from others in the community about this.

Please file a feature request with Apple for Lua editor support in Xcode at https://bugreport.apple.com.

[import]uid: 7563 topic_id: 12390 reply_id: 46657[/import]

Well, I didn’t notice this at first but when I open the debugger, one or two old terminal windows open along with it. Framerate is low until I close those old windows and click “file/relaunch”. Then it runs fine. Don’t know if Lion is trying to restore my pervious terminal sessions when I launch a new instance. Weird. [import]uid: 15615 topic_id: 12390 reply_id: 46669[/import]

Hello,

I updated to Lion and then was prompted to download Java when I tried to run Corona. The Corona emulator works fine and I can build for Android. The problem is iOS. When I try to build for iOS I get an error right away that iOS SDK is not present (something along those lines)

I went to the app store and downloaded the new Xcode for Lion and installed it. Once it was installed I rebooted and get the same message when I try to build for iOS.

Anyone have a fix for this?

Thanks [import]uid: 8533 topic_id: 12390 reply_id: 46680[/import]

Please read back earlier in the thread about installing the Unix tools and using xcode-select.
[import]uid: 7563 topic_id: 12390 reply_id: 46691[/import]

Ok… I had an issue which I think I am now solving. After installing Lion it removed my Developer install of Xcode completely. So now after installing Xcode 4.1 thru the Mac App Store and after doing a search thru spotlight I can’t find xcode-select so I assume parts are missing in the new Lion stuff. I am now downloading 3.2 and installing it to see if that brings back Corona usability since under 4.1 and Lion I can’t select Build iOS because it still asks where is my Xcode even though 4.1 is installed.

my exp and 2 cents

Matt [import]uid: 18783 topic_id: 12390 reply_id: 46713[/import]

xcode-select is exempt from Spotlight searches. You won’t find it. Just run it in Terminal.app and you’ll know if you have it.

Xcode 3.2 is not supported in Lion. Don’t bother installing it.
[import]uid: 7563 topic_id: 12390 reply_id: 46717[/import]

ran it in terminal and it isn’t there… The entire Xcode suite was deleted while Lion installed. Installing 4.1 from Mac App Store you don’t get option to say install Unix tools… Looks like tools are there but that particular one is not. [import]uid: 18783 topic_id: 12390 reply_id: 46718[/import]

xcode-select should be in /usr/bin

Here is my screenshot of the Xcode 4.1 installer from the Mac App Store. It has the tools:

[import]uid: 7563 topic_id: 12390 reply_id: 46721[/import]

Thanks guess I’ll try again… Mine just installed no custom option came up for me.

Matt [import]uid: 18783 topic_id: 12390 reply_id: 46723[/import]