Live data from Hacker News

Xcode 4.1 now available free from the Mac App Store

itunes.apple.com

81–90 of 116 posts

Re: Xcode 4.1 now available free from the Mac App Store

#81
post #40

Earlier quoted context omitted.

Are you saying that the gcc no longer ships with Xcode, or that it, for some reason, moved the gcc binary to a different directory (or both)? If the gcc no longer comes with Xcode, how might one get gcc for OSX Lion?

They just removed GCC 4.0. GCC 4.2.1 is avaiable as /usr/bin/gcc-4.2, and /usr/bin/gcc is actually LLVM-GCC 4.2

I just installed xcode and I no longer have any versions of gcc in /usr/bin

edit: you actually have to run the xcode installer

Re: Xcode 4.1 now available free from the Mac App Store

#82
post #3

Glad to see it's back to free. Now I wish I didn't waste that $5...

"Waste" $5 for an toolset that could possibly make you a millionaire? Really, it's about the same price as a hammer...

If you know where to get a hammer for $5, I'll come with you.

Re: Xcode 4.1 now available free from the Mac App Store

#83
post #44

Earlier quoted context omitted.

This keeps coming up every now and then. What's the difference between Xcode and iTunes that lets them give iTunes updates for free?

That's a good question, but unfortunately I'm not privy to Apple's internal workings to give you an accurate answer. The general metric seems to be "Does it add value to the core product?" This is the same reason iOS updates are free to the iPhone but not to the iPod Touch — the iPhone is viewed as a multi-year investment (and reflected as such in Apple's accounting), while the iPod Touch is a shrinkwrap product that…

Thinking about it further, I'd bet the distinction is that iTunes is on Windows too, so it's viewed as an independent product, while things like Xcode and FaceTime are tied to Mac OS.

Re: Xcode 4.1 now available free from the Mac App Store

#84

Earlier quoted context omitted.

"Waste" $5 for an toolset that could possibly make you a millionaire? Really, it's about the same price as a hammer...

If you know where to get a hammer for $5, I'll come with you.

Home Depot has a $3.88 Husky "stubby" hammer. My friend just got one 3 days ago.

Re: Xcode 4.1 now available free from the Mac App Store

#85
post #49

I've had a terrible time installing things like lxml and PIL due to problems with GCC and/or caused by installing Xcode 4.x. Shouldn't this kind of stuff be pretty reliable?

It should. But if you're still having trouble, I found using this will always work for me:

sudo ARCHFLAGS="-arch i386 -arch x86_64" CC=/usr/bin/gcc-4.2 pip install

Re: Xcode 4.1 now available free from the Mac App Store

#86
post #47
post #34

Earlier quoted context omitted.

xcode is a tool, and has near the same potential to make you a millionaire that a pencil does. if you paid $5 for a pencil, to be told a few days later that the same pencil was being offered freely, would wish you had waited for the free pencil?

I'd just take the free pencil... and use it when my current pencil runs out. What would you do with an extra copy of Xcode?

Sell it?

I am reminded of the good ol' days of selling Linux by the pound...

Re: Xcode 4.1 now available free from the Mac App Store

#87
post #49

I've had a terrible time installing things like lxml and PIL due to problems with GCC and/or caused by installing Xcode 4.x. Shouldn't this kind of stuff be pretty reliable?

It should. But if you're still having trouble, I found using this will always work for me: sudo ARCHFLAGS="-arch i386 -arch x86_64" CC=/usr/bin/gcc-4.2 pip install

Yeah, I think I finally found that tip after trying quite a number of things.

And hooray, lxml and PIL both appear to have installed successfully on Lion + Xcode 4.1.

Re: Xcode 4.1 now available free from the Mac App Store

#88

XCode 4 requires $99/year Mac Developer Program ($99/year iOS Developer Program) $29.99 Mac OS X Lion "upgrade" download requires App Store Account Mac OS X Snow Leopard

XCode 4 requires: OS X Lion, which requires: OS X Snow Leopard AppStore Account Upgrade fee

I haven't paid any developer program fees, and I have xCode 4.1 installed.

Re: Xcode 4.1 now available free from the Mac App Store

#89

Earlier quoted context omitted.

The "please quit iTunes" thing happened to me with Xcode 4.0 on 10.6 as well. Pretty ridiculous.

The Xcode installation asks you to close iTunes because of iTuneshelper and how iTunes will sync devices (including development devices) when they're plugged in. It makes sense that Xcode asks you to quit itunes (and kills ituneshelper too) to update files. It isn't ridiculous.

It is ridiculous, because:

• asks user to perform task manually which is trivial to automate: `tell application iTunes to quit`. Apple even has sudden termination API that iTunes could use to make it safely killable most of the time.

• needs to quit iTunes in the first place. Why can't it take advantage of versioning of libraries and frameworks? Why can't it update files in place? (running application should see old version [inode] until it closes the file).

• and the usual ridicule: a music player is a critical piece of device sync and development infrastructure.

Re: Xcode 4.1 now available free from the Mac App Store

#90
post #66
post #18

Earlier quoted context omitted.

We keep an older Mac Mini around running 10.4, 10.5 (and soon to include 10.6) for support of these older systems. We've also found that our universal binary has no issues whatsoever running on Lion, which is a relief as we still prefer Xcode 3.

Is it possible to create a UB for all three architerctures at the same time? (PPC, x86 and x64)

Only with Xcode 3. As I mentioned below, Xcode 4 does not include support for PPC. Also, there are really four architectures (i386, x86_64, ppc, ppc64), but Xcode 3.2.6 does not like compiling for ppc64.
Post reply on HN