Will Corona work on OS X Lion?

Hi Ansca,

Will Corona work on OS X Lion? If not, is there and expected date.

Full screen mode for the simulator would be nice :)

Thank you,
Simon

Corona simulator will not open in Lion GM :( Hoping it will work on the official release date (soon)

Matt

As much as I loathe saying it, I'm going to call this my first grievance with Ansca / Corona.

I wrote in another thread regarding being unable to build any device binaries using Lion GM and Xcode 4.1 DP 7: https://developer.anscamobile.com/forum/2011/07/05/lion-os-x

...No response or acknowledgement from anyone at Ansca, official or otherwise.

I've emailed Carlos. He was traveling in Miami and said he was going to tell his team.

...No response after that.

I officially opened up a bug ticket, #6689.

...No response after that. To date, it remains open and unacknowledged.

I've tweeted publicly for any kind of acknowledgement. We all know Lion is right around the corner. It has to be addressed. People will undoubtedly be updating as early as day 1.

...No response or acknowledgement to the tweet.

Carlos and team have been making other announcements and development updates, but I'm both surprised and disappointed that there has been no mention of Lion compatibility, informal, official, or otherwise.

I'm surprised you can't even open Corona. I was able to use Corona properly in Lion GM on my MacBook Air, with the only exception of being able to build out to devices when there is any iphone-plist values in the build.settings file. After all this lack of response, I made the sacrifice of having to wipe out my MBA and bring it back to Snow Leopard, then reinstall everything all over again, just so I can get back to work.

Wait.. so Corona doesn't correctly work on Lion?!
I mean, it's going to be released probably next week, and I was planning to update asap.. but if it's going to mess with Corona, wow, that's a big problem.

Hey Ansca, any news on this?

We have to be very careful about what we can say publicly because Lion is still under Apple NDA and Apple takes these things very seriously.

Please try the latest daily build and let us know what is working and what is still broken.

I don't see how saying if Corona is working on Lion or not is going to violate Apple NDA.

I've seen many other developers telling customers if their applications are Lion-ready or not, if it's ok to upgrade or is best to wait...

I'd just like to know if I can safely upgrade to Lion or not.

Yeah, it's not breaking any NDA to say whether or not it will work. I mean I would hope you've worked it out for Lion, or else your company would have a non-working product! I don't think anybody here could live another day without Corona :P

Lion won't open the Corona Simulator for me (I get the same message for Photoshop & Illustrator)

Image and video hosting by TinyPic

I do have Java & I do have internet connection. I'm Face Timing someone as I get this error (so I DEFINITELY have internet)

I will say that Corona SDK works for me.

We don't currently write any code that tries to install Java for you in Corona. I'll leave it to you to infer who is responsible for that dialog you see and strongly recommend: https://bugreport.apple.com

You might also try changing/resetting your network and firewall settings.

I just got conformation that Java for Lion is not currently available - and should be available tomorrow :D

Matt

So just to confirm, with today's full release of Lion we should NOT be upgrading yet until a new build of Corona is out that supports it? Or were the problems just with the developer release of Lion?

I got the full version of Lion and the trial version of Corona, I had to download some java stuff at startup but when I did that it seems to be working just fine :D

So now that the NDA is lifted...

We believe that the most recent daily builds work with Lion. Internally, Corona works for us on Lion (seeds). And we got confirmation from exactly one user that it works for them as well. We haven't gotten much feedback otherwise.

But the current stable release of Corona will not work with Lion, so if you are not a subscriber, you need to wait.

There multiple problems with Lion which believe we have fixed in the Daily Builds:
- Lion removed the 'full' versions BridgeSupport files without warning.
- Xcode tool paths changed again
- Java is no longer included by default

The Java issue we actually haven't done anything for. Apple (for now) seems to automatically detect we have a Java dependency and will prompt you that Corona needs it. If connected to the Internet, Apple will automatically install Java if you allow it (like it used to do with Rosetta). A couple of users complained this Apple-auto-install didn't work for them, but somebody reported that Apple should have fixed that by today for the official release. (We never had any Java install problems ourselves.)

We use Java because we need to run some Java tools to help build Android apps. I know it is a little annoying to have to install this if you are doing iOS only, but Apple has been shipping Java preinstalled in Mac OS X for as long as I can remember, so we didn't predict this would be a issue way back in the 10.5 Leopard era.

Im not a subscriber (YET!) but it works for me with Lion.

@oskwish Can you do everything you could before including building for device, testing in simulator etc?

Can't build for device since I haven't joined the Apple Developer Program yet but I can run it in the simulator and the terminal since to be working just fine for debugging as before.

Thanks oskwish, hopefully others can give their input too. Not sure if I whould upgrade yet although I really want to.

I can launch the simulator on Lion (Release Build) with the Corona Daily build I have installed (574). But when I attempt to build for device I get an error message "The iOS SDK Could not be found. Please install the iOS SDK".

I assume Lion moved the tools (I have the iOS SDK)? Are there some simple symlinks I could do, or would re-installing the SDK from scratch help (a pain since the download is so freakin' huge).

Thanks in advance for any help.

Shaun

In Terminal.app, use
xcode-select -print-path
to verify that the path is going to the correct location.

If it isn't, use
sudo xcode-select -switch /path/to/your/xcode

It works, just make sure you let the Java update download after Lion installs.

@AlexGreeneApps, just to confirm you are talking about the general release version and not the daily build correct?

I get a "command not found" when I try to run xcode-select.

Yea me too. It appears that is only installed to /usr/bin if you choose to install the optional UNIX tools when you install XCode 3.x.

I am not sure with XCode 4.1. I am downloading it now (taking forever Mac App Store is crawling today with the Lion release).

I'll let you guys know what I find out.

Shaun

[ sigh ]

The latest daily build should work.

C.

Guess it's time to pull the trigger and become a subscriber. I was planning on it anyways but every time I reach for my credit card, my hand starts to shake :-)

LOL jamiebilly. I'm not ready to subscribe yet. Having young kids takes away a lot of your development time so I will only subscribe when my game is ready to publish. This is why I'm hoping to see if Lion will work without a subscription. If anything I'll just hold off until August 2nd when the new version of Corona drops.

@puresimmer would love to hear your results

Command not found on xcode-select suggests Xcode is not/mis-installed or you need to install the Unix 'optional' components of Xcode. Generally speaking, the Unix components are not really optional in the real world. You typically only uncheck it if you need to have multiple versions of Xcode installed so you don't overwrite the newest version of the Unix tools with an older version.

I'm currently downloading the new Xcode from App Store, it wasn't free before Lion (I know some old version was but not 4.1 ) right?

Hopefully I will be able to build to device without joining the developer program.
Otherwise I hope the Corona full release new secret feature will fix that :D

You have to pay the $99 subscription to build for your device.

Edit: Just saw this on Cult of Mac:


Apple’s development tools for OS X and iOS are joining the OS X Lion launch party today with the release of Xcode 4.1. The new version of Xcode is now available as a free download in the Mac App Store or through the regular Apple developer website.
It’s interesting to note that Xcode has always been included free of charge with all Macs and as a free download until recently when it appeared in the Mac App Store with a price tag of $4.99 for non-developers. It isn’t clear why Apple is making it free again, but I don’t plan one asking them why. After all you shouldn’t look a gift horse in the mouth.
So go get your free copy of Xcode 4.1 which supports OS X 10.7 Lion and iOS 4.3 now via the Mac App Store or at Apple’s developer website.
What are you waiting for? It is time to start working on the next great OS X Lion or iOS app now!

Guess I have to wait and see what the new feature in the full version of Corona is then. If it's not that then I will wait until I think I'm completely done with my App using the Simulator.

Okay I can confirm that I can build on Lion for both Android and iOS. The key for me was doing an XCode 4.1 install after Lion was installed (replacing my previous 3.x install) Also installed the Java Runtime when prompted by Lion.

I am using:

Lion (Release Build)
The latest Corona SDK Daily Build (584)
XCode 4.1 (Free on Mac App Store)

BTW, as a test, I tried the official release of Corona (484) and I am able to run the simulator, but get an error when building for the device.

Hope that helps.

Just to see if I've gotten all right:

To build for my own device I have to pay apple $99 and to build to the App Store I have to pay Apple $99 and become a Corona Subscriber, right?

@ puresimmer :: but get an error when building for the device.

can you post the error code? picture? or something?

c.

I have installed Lion and also the latest version of xcode for Lion today.

I don't use the daily builds as I prefer well known solid code to build my apps in.

If I try and build for xcode simulator or device the error eventually comes up as.

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

Cheers

Mike R

@oskwish Yes $99 for the Apple developer subscription but the Corona subscription is $199. Building for device has been very helpful in testing as some elements are not quite the same on device as in the simulator, and also the last thing you want is to finish your app then test on simulator and have to go back and fix everything at once or even have it not work at all.

@mykyl66 << what if you used the latest drop?

we are going to release the bits on aug 2nd.

c.

Sure. This is the error I see on 484 when trying to build many of the default samples on Lion (In this case FrameAnimation1). Note, I can build a print("hello world") app on 484...

All build fine on 584.

Hope that helps.

- Shaun

Helps a lot.

Thanks

C.

The latest daily build works fine for corona sdk simulator, xcode simulator and also a device build.

Cheers

Mike R

I have XCode build Version 4.0.2, which is the version available to download on the developer portal. Will this version work with the latest daily download (584) and Lion?

Thanks.

I don't think Apple supports Xcode 4.0 on Lion. They expect you to use Xcode 4.1+ on Lion.

Works fine for me with XCode 4.1 + Mac OSX Lion + latest corona daily build

Downloading all the above now. :) Here goes ... Something.

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

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.

Please post a new stable build for non-subscribers that works with Lion and XCode 4.1 this week.

the earliest we can do is Aug 2nd.

we can't turn back the clock. :-( we are going into full lockdown tomorrow.

c.

I got the same problem, then I updated the XCode to 4.1 and then this problem go away... Now i have no problem.

Thanks for the quick response guys! I downloaded the latest daily build (584) and it fixed the "attempt to index global 'NSDictionary' bug". Cheers!

Have no issues to report, works fine.

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

views:3541 update:2011/9/17 17:35:04
corona forums © 2003-2011