[Resolved] Help adding Xcode 4.3.2

Help Needed on adding Xcode 4.3.2. I already downloaded, and got the 704a build from Corona. The problem when I build I get this message in the terminal at the beginning

Error: No developer directory found at /Developer. Run /usr/bin/xcode-select to update the developer directory path.
2012-03-23 22:42:46.495 Corona Simulator[6293:2403] xcrun xcodebuild -version failed to run. xcode-select is likely misconfigured.
xcrun xcodebuild -version failed to run. xcode-select is likely misconfigured.2012-03-23 22:42:46.524 Corona Simulator[6293:2403] Launch Services found Xcode at path /Applications/Xcode.app with version: 4.3.2
Launch Services found Xcode at path /Applications/Xcode.app with version: 4.3.2

What do I need to do to fix this problem

Thanks :slight_smile: [import]uid: 17058 topic_id: 23804 reply_id: 323804[/import]

@sebitttas, reading through this post very carefully will probably help: http://developer.anscamobile.com/reference/xcode43

Naomi [import]uid: 67217 topic_id: 23804 reply_id: 95860[/import]

@Naomi I read the post and I did everything it said and nothing. Can you please help me [import]uid: 17058 topic_id: 23804 reply_id: 95862[/import]

@sebitttas, do you still have Xcode 4.2.1 along with 4.3.2? (By the way, I’m still using Xcode 4.3.1, and haven’t looked at how I might update my Xcode to 4.3.2, so my experience may not reflect what you need to do.)

If you don’t have 4.2.1, and you installed 4.3.2 the first time, and if there’s no difference between Xcode 4.3.1 and 4.3.2 in terms of installation process, then you should follow the instruction at the bottom of the blog. That is, after installation, run the Xcode on its own first (without Corona running in the background). You might even consider restarting your Mac after you run Xcode the first time.

If you had 4.2.1 before you installed 4.3.2, then you want to look at the section where it extensively describes xcode-select topic.

In my case, I completely uninstalled Xcode 4.2.1 (using terminal command) before I installed Xcode 4.3.1, and I followed the blog post instruction, and it went smoothly (thanks, Ansca!). It may not have been necessary, but I did restart my Mac a couple of times…

I’m sorry but I don’t know what else to tell you. If you couldn’t get things working, hopefully, someone else can jump in and help trouble shoot…

Naomi [import]uid: 67217 topic_id: 23804 reply_id: 95863[/import]

@Naomi well I don’t any older version of xcode I just deleted xcode 4.0.2 when it was asked when I was downloading Xcode 4.3.2. I will restart my computer and see.

I don’t understand the part of describes xcode-select topic. [import]uid: 17058 topic_id: 23804 reply_id: 95864[/import]

@Naomi I already restarted and nothing still the same >.< I need this to be fixed because my apps are not working properly in the app and that is serious stuff. [import]uid: 17058 topic_id: 23804 reply_id: 95865[/import]

The error you mention can happen if the install didn’t work correctly.

My advice would be to reinstall and see if that helps.

I’m not sure on 4.3.2 as I haven’t used it, I’m using 4.3.1 and that installed just fine on Lion - no issues.

Peach :slight_smile: [import]uid: 52491 topic_id: 23804 reply_id: 95870[/import]

@peach but Xcode works fine, so just reinstall again. [import]uid: 17058 topic_id: 23804 reply_id: 95891[/import]

For info, I have 4.3.2 working with build 704b & build 773. I followed the installation instructions at the page that Naomi linked to. [import]uid: 29384 topic_id: 23804 reply_id: 95895[/import]

I had the same problem after updating to 4.3.2, I cleared it by opening the terminal and typing the following line

sudo xcode-select -switch /Applications/Xcode.app  

This is assuming that the new version of Xcode was installed to your applications directory.
You’ll need to type your password in, and it should then drop you straight back at a prompt without any kind of feedback as to wether it has worked. Everything worked fine for me after that. [import]uid: 7841 topic_id: 23804 reply_id: 95922[/import]

@sebitttas, as Appletreeman suggested above, type the line on terminal (you can copy and paste to avoid typo) and hit enter. If you are not sure what it means, just open the terminal – you can do this by launching the Terminal.app from Applications > Utilities folder, then type in (or copy & paste) the command line exactly how it appears, then hit enter. The xcode-select topic in the instruction explains why you need to do this.

FYI, even though I completely uninstalled Xcode 4.2.1, I did run the command line as instructed (thinking it wouldn’t do any harm anyway whether or not it was necessary in my case.)

Naomi [import]uid: 67217 topic_id: 23804 reply_id: 95933[/import]

Well thanks for everyone helping I was able to get it thanks alot for you guys help I appreciate it :slight_smile: [import]uid: 17058 topic_id: 23804 reply_id: 96012[/import]

I changed to Xcode 4.3.2, using 704a and the Apple application loader showed an error uploading to the iTunes Store on an app I was doing an update of.

I did the terminal thing and was prompted to type in path so did as above, i.e.
sudo xcode-select -switch /Applications/Xcode.app

Still no joy. Seeing as how mine is an application uploader issue do y’all think it’s related?
[import]uid: 94653 topic_id: 23804 reply_id: 98799[/import]

I’ve rebooted and tried the uploaded again, no joy.

Checked the Xcode file path in the terminator and it seems OK:

/Applications/Xcode.app/Contents/Developer

Perhaps its not Xcode causing the problem - no idea what else…anyone?
[import]uid: 94653 topic_id: 23804 reply_id: 98809[/import]

Hi Peach - are you using 4.3.2 yet? I’m getting a failed to upload message in the uploader. The app runs in the Corona simulator fine. Only thing I’ve done different lately is change to Xcode 4.3.2 using 407a, so as to facilitate iOS 5.1

No joy yet. Any thoughts? [import]uid: 94653 topic_id: 23804 reply_id: 98811[/import]

We’ve reproduced a problem where the latest Java security update (the one that appeared this past week) breaks Application Loader. Unfortunately, this is completely an Apple bug and we can’t do anything about this. *Everybody* should file a bug report with Apple *now* about this. I suspect Apple doesn’t even know about the bug since most of them probably don’t have Java installed.

[import]uid: 7563 topic_id: 23804 reply_id: 98812[/import]

Thanks Ewing. Is it safe to assume I’ve got the new Java security update? If not, is there a way I can check? [import]uid: 94653 topic_id: 23804 reply_id: 98822[/import]

Just sent Apple a bug report - even the Apple bug report link crashed…but it gave out an email address. [import]uid: 94653 topic_id: 23804 reply_id: 98823[/import]

To be clear, this is the official place to file Apple bugs:
https://bugreport.apple.com [import]uid: 7563 topic_id: 23804 reply_id: 98828[/import]

Hi Guys,

I triedto run the command sudo xcode-select -switch /Applications/Xcode.app in terminal, but I got “xcode-select: Error: Path “/Applications/Xcode.app” is not a directory”

Any idea?

Thanks

[import]uid: 83418 topic_id: 23804 reply_id: 98878[/import]