10 ms·
Xcode 4.1 now available free from the Mac App Store
- pbreit 15y agoI'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?
- wvanwazer 15y agoIt 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
- pbreit 15y agoYeah, 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.
- bartmcpherson 15y agoIncredibly slow download right now. The Lion onslaught must be in full effect. I pulled Lion in about 15 minutes this morning. Xcode is estimated at about an hour and a half.
- X-Istence 15y agoLion took me about 10 minutes to download, Xcode took about as long ...
- cdcarter 15y agoGlad to see it's back to free. Now I wish I didn't waste that $5...
- danieldk 15y ago"Waste" $5 for an toolset that could possibly make you a millionaire? Really, it's about the same price as a hammer...
- HockeyBiasDotCo 15y ago...5 lottery tickets could also make you a millionaire.
- saw-lau 15y agoI bought this last week... but at £2.99 I'm not going to lose any sleep. :-)
- cycojesus 15y agoSaving those $5 could just as possibly make him a millionaire. Now, didn't Apple (or at least its fanboys army) said something like they couldn't legally make Xcode free to justify those 5 bucks? I'm perplexed...
- chc 15y agoThe reasoning was that they couldn't release Xcode 4 free for Snow Leopard because of Apple's extremely conservative interpretation of Sarbanes-Oxley. Xcode has always been free with new OS versions. They were only charging extra if you wanted to get it for the old OS. (An extremely low price point like $5 is generally a tip-off that Apple is just charging a nominal fee to satisfy accounting rules.)
- statictype 15y agoThis keeps coming up every now and then. What's the difference between Xcode and iTunes that lets them give iTunes updates for free?
- deleted 15y ago[deleted]
- deleted 15y ago[deleted]
- clobber 15y agoReally great of Apple to make it require Lion. Release new OS product, shove it down devs throats.
- chc 15y agoVersions of Xcode have always been tied to versions of OS X. They actually did release Xcode 4 for Snow Leopard, which is more than they've done with any previous version, so complaining now of all times seems pretty odd.
- clobber 15y agoXcode 4 was in the spring and I'm pretty sure we saw this due to releases of iOS along with iOS 5 beta. Apple can't only tie Xcode releases to versions of OS X anymore, there's iOS they have to think about.
- chc 15y agoiOS 4 SDK came with a version of Xcode 3, and iOS 5 comes with its own version of Xcode, neither 4.0 nor 4.1 — so it's not inherently tied to the normal Mac Xcode at all. iOS might have had something do to with the early release of Xcode 4, but releasing it for general consumption was a different matter. At any rate, this is not a regressive move for Apple.
- deleted 15y ago[deleted]
- beagle3 15y agoQuestion to mac developers: Does Apple let you in any way develop/debug/test programs for older operating systems? If I bought a newly-released-today MacBookAir with Lion, but I want to develop software that would still run on 10.6 and 10.5 - what's the official (and unofficial) ways to do that?
- marquis 15y agoWe 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.
- divtxt 15y agoIs that one mac mini per version or is there an easy way to set up multiple installs?
- Xuzz 15y agoIt's quite easy to set it up to boot of an external drive; I've done that and had 10.4/10.5/10.6 all bootable off of one external drive (split into three partitions).
- gtufano 15y ago10.6 and 10.5 (server version) will happily (well, for testing, at least) run in a Virtualbox VM. The host OS have to be OS X server too but with the 99$/year you got also server license for free. Using server instead of desktop is not a significant difference if you don't start the server daemons... somewhat remembers me of NT workstation and NT server (many years ago). :)
- Aqua_Geek 15y agoCreate multiple partitions on the HD - 10.4, 10.5, etc.
- deleted 15y ago[deleted]
- jvictor 15y agoI want my 5 bucks back :-|
- thenduks 15y agoI'll buy you a coffee...
- Hisoka 15y agoI'm kinda hesitant to get this as they always change a lot... all those iPhone development tutorials are very specific to a certain version. It took me awhile to find out how to deploy an iPhone app for the newer Xcode.
- canistr 15y agoAgreed. All my dev books are focused on XCode 3 and there are only a couple of XCode 4 books that have been printed. Which is disappointing because now my old books are useless and I spend most of my time replaying the Apple XCode 4 videos to figure out how to do certain things.
- drewcrawford 15y agoiOS developer here. 3.0->4.0 is the biggest jump in product history. 4.1 is just a bugfix / Lion support / couple of new widgets release. It doesn't appear (warning: no release notes yet) that 4.1 runs on SL or that 4.0 runs on Lion, so run the version appropriate to your OS.
- gavingmiller 15y agoI agree with your hesitation if you've done zero xcode 3 development. I just completed my first xcode 4 based project last night, and the instructions on Apple's site (for binary signing, and the like) have yet to be updated for xcode 4 - since the process is already complicated enough, had I not done it before with xcode 3 I would have been completely out to lunch. With that said, if you're comfortable with xcode 3, you shouldn't have a problem switching to xcode 4.
- seclorum 15y agoJust install both alongside each other.
- juiceandjuice 15y agoRequirements: Mac OS X 10.7 or later
- zyb09 15y agoDamn I planned to update to Lion soon, but not so soon. Seems like we'll be spending tomorrow updating, after figuring out how to get Lion on everybodys iTunes account. Give us some time apple!
- tolmasky 15y agoAnyone know if this will be available though developer.apple.com?
- avree 15y agoI grabbed the GM release of Xcode for 10.7 from developer.apple.com. Will installing this from the App Store cause issues?
- fredoliveira 15y agoNo issues. Your version of Lion is identical to the one people are downloading from the App Store. It'll run this XCode version normally.
- angerman 15y agoI'm very sceptical of this Mac App Store. As much as I like the idea (apt anyone? :-D) I am very disappointed by it's performance. Neither on SL nor on Lion does it let me update bought apps. Doing the "drag app to trash, click `install', empty trash" mumbo is not really my idea of "working". If anyone has similar issues, or a fix, that would truly be great!
- alanh 15y agoMAS always updates my purchased apps. I have however heard of it declining to do so if you have, on some attached hard drive, a newer or same-version binary or installer. But have had no problems with MAS myself. YMMV.
- absconditus 15y agoThere is an obscure button in the App Store called Updates that will update purchased apps.
- angerman 15y agoWhy the downvotes? And no, clicking "update" did /not/ work! Found the solution: This happens if you have "Macintosh HD" listed under the privacy tab of Spotlight's System Preferences.
- younata 15y agoI stated back when xcode 4 was released that when 10.7 came out, they'd make it free. [1] Just had to wait a while. Xcode 3 has been good and free to use (and still is). [1] http://news.ycombinator.com/item?id=2311422 http://news.ycombinator.com/item?id=2311422
- X-Istence 15y agoYou are not the only one that stated that ... many, including myself are on that same list.
- younata 15y agoI should have considered that I certainly wasn't the only one, and I shouldn't be so self-centered in the future. My bad.
- mortenjorck 15y agoAs did I: http://news.ycombinator.com/item?id=2307340 http://news.ycombinator.com/item?id=2307340 Of course, the part I got wrong was that it would be included "on the disc," but one could argue that it is included on the same distribution media.
- calloc 15y agoI got that same part wrong (included with the media) although since it is download only for Lion at the moment, and download for Xcode close enough: http://www.hnsearch.com/search#request/all&q=calloc+xcode http://www.hnsearch.com/search#request/all&q=calloc+xcod...
- deleted 15y ago[deleted]
- Emore 15y agoFor me, Xcode 4.1 removed gcc-4.0 (needed by brew for example). If you had Xcode 3.x it's still in /Developer-old, and can be re-added with ln -s /Developer-old/usr/bin/gcc-4.0 /usr/bin/gcc-4.0.
- spicyj 15y agoI wouldn't trust that that will work; Lion provides different libraries and that gcc-4.0 is probably not compiled properly for Lion compatibility.
- jacknagel 15y agoFWIW, Homebrew only needs gcc 4.0 for a select few formula. The vast majority of them build with more modern compilers (gcc 4.2, llvm-gcc, and clang are supported; and I use a non-Apple gcc 4.6 to compile things occasionally).
- buss 15y agoAre 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?
- fullmoon 15y agoThey 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
- scottschulthess 15y agoI just installed xcode and I no longer have any versions of gcc in /usr/bin edit: you actually have to run the xcode installer
- julesallen 15y agoYou just saved me another few hours of figuring out wtf was going on. Thank you. Apple, seriously? Is this what pro's can expect from the App Store? It's half assed at best.
- epistasis 15y agoEdit: found a fix, if quitting iTunes isn't enough for the installer, you need to launch the Activity Monitor and manually kill the "iTunes Helper" process. What a pain. This seems extremely half-baked. The App Store doesn't install Xcode, it just downloads an installer for Xcode, and ever-so-helpfully places it in LaunchPad. After launching the installer and letting it run for many minutes, it silently popped up a window requesting that I quit iTunes for the installation to proceed. Besides being an insane request, when I do quit iTunes nothing happens. And if I double click on the iTunes name it launches iTunes. And on top of that, this request window isn't associated with the installer app, so I wouldn't even know it has anything to do with Xcode unless I'm not doing anything else on my computer. And to top it all off, the installer has disabled all its buttons, so there's no clean way to quit it, and no way to get it to check for iTunes again. This is about the lowest quality that I've ever seen Apple achieve; I hope that the rest of the dev chain gets more love.
- mattmichielsen 15y agoThe "please quit iTunes" thing happened to me with Xcode 4.0 on 10.6 as well. Pretty ridiculous.
- fredoliveira 15y agoThe 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.
- deleted 15y ago[deleted]
- epistasis 15y agoThe broken application detection and the refusal to identify which processes need to be killed is ridiculous. Having a dev system that's so fragile that iTunes needs to killed when installing Xcode is insane. It's the request of a lazy programmer that's not willing to put in the work of understanding the real requirements or working around the problems, and would be unacceptable in a consumer-facing application. I don't want to say it's OK in the developer tools, but probably not as bad.
- deleted 15y ago[deleted]
- steipete 15y agoAnd it's not the same as 4.1GM! 4B103 != 4B110. Everyone, get it from the AppStore!
- mmphosis 15y agoXCode 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
- jodrellblank 15y agoXCode 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.
- Synaesthesia 15y agoAnnoyingly it won't let me download the 10.7 documentation but it lets me browse it. Oh well, guess I should just register as a dev already.