Bug which makes Corona USELESS

A lot of people are having this issue, and it makes using Corona impossible (I’ve seen a few posts this week about it, but no answers…)

So, since updating to the new GE, it is impossible to Open for Build (it says to reinstall the iOS sdk, even though it used to work)
I’ve reinstalled the SDK, and it was working perfectly just a few hours before I updated…

Any ideas? [import]uid: 8054 topic_id: 3123 reply_id: 303123[/import]

I updated to the new GE right when it came out and I’ve built for device plenty of times without it ever giving me problems.

Have you tried completely uninstalling the iOS SDK and Corona, and then re-installing the latest version of the iOS SDK and then Corona GE?

Are you using the trial version? If so, it could be a bug with trial limitations, which would explain why I’m not experiencing the issues.

If you’re not running on the trial, the uninstalling everything/reinstalling everything would be the first place I started. [import]uid: 7849 topic_id: 3123 reply_id: 9108[/import]

Interesting…

With all due respect, you sound like reading off a script from a call centre. Sir, please delete all your emails and reset your account, maybe then you will be able to access the internet.

This is a MAC, not the windows world, where you get out of your car, wind down the windows, wind them up and then try to start the car, if it stops working.

I am facing the same issue, now on one of my macs, where I did not have a new version of xCode installed, it works. On my main machine where I did install the developer preview, it keeps telling me that the iOS SDk is in Xcode/ but after removing it, I get a message that tells me that there is no iOS SDK installed.

Strange, it has got something to do with the reading of some setting by GE, if that is fixed or if published, at least a lot of us could fix it ourselves.

cheers,

Jayant C Varma [import]uid: 3826 topic_id: 3123 reply_id: 9117[/import]

Well, this is poopy. Seeing these comments made me wonder if I screwed things up by installing the Xcode 4 preview, and just checking now apparently it did – I can’t build now in Corona.

I *did* think about that before installing, but since the preview installs in a different location I figured it wouldn’t hurt anything. Gak!

Any tips on fixing this would be cool.

Jay
[import]uid: 9440 topic_id: 3123 reply_id: 9132[/import]

I had done the same thing. Its trying to look for Xcode 4, which it doen’t seem to work with, and when that is moved to another folder, it can’t find anything. It would be helpful if you could select where it searches for the SDK in Corona. [import]uid: 8054 topic_id: 3123 reply_id: 9152[/import]

I just got this nugget from one of our Xcode engineers: “xcode-select is a command line tool that allows the developer to easily switch Xcode versions.”

http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/xcode-select.1.html

To see the current Xcode “base” folder use the -print-path option, eg:

mini:~ timstatler$ xcode-select -print-path
/Developer

(this means Xcode tools will be searched for in “/Developer/usr/bin/xcodebuild”)

To switch to another SDK use the-switch option:

mini:~ timstatler$ xcode -select -switch /Xcode4.0/

This information is hot off the presses so, without having actually tested this theory, first see what path is printed out using -print-path. I would assume it does not point to the GM SDK folder (ie, /Developer) but to the beta SDK you installed. Then use -switch to set the SDK to the GM folder (ie, /Developer). Then see if Corona can find the SDK ok.

Let me know how this goes.

Tim

[import]uid: 8196 topic_id: 3123 reply_id: 9192[/import]

Wow !

Useless by installing a a preview version of XCode 4…

You guys are rock stars… :stuck_out_tongue_winking_eye:

All kidding aside, Corona GE uses the default installation of Xcode in order to work successfully.

Now, I will assume you are experts in installing XCode since only the bleeding edge of the bleeding edge will install preview releases, like we all do, and to solve your problem, there is a command line tool called

xcode-select

which will allow you to select the proper directory for xcode. XCode 4 may have installed on a different directory altogether, so you will need to find the directory it was installed, run xcode-select, select the path for xcode, then run Corona.

Carlos
[import]uid: 24 topic_id: 3123 reply_id: 9193[/import]

Thanks! [import]uid: 8054 topic_id: 3123 reply_id: 9211[/import]

And we have Touchdown…!!!

Carlos, you are the rockstar

I guess it is high time that all the tools (GUI and command line) supplied with Xcode are looked into seriously, would never have thought that changing the default version was so easy. under windows it would be a mess… :slight_smile:

cheers,

Jayant C Varma [import]uid: 3826 topic_id: 3123 reply_id: 9219[/import]