I was wondering if there is a way that I could install Xcode 6 along side Xcode 5. I've seen people say you could but they haven't really explained why. Can someone help to explain why? Also, how would you uninstall it if I wished to in the future?
It's simple. The Xcode 6 beta is named Xcode6-beta.app and you drag install it into /Applications. The GM version of Xcode is called Xcode.app. If you need to switch the command line tools you use xcode-select. Nothing has changed here. It's the same as it's been. When you want to "uninstall" it, drag it to the trash. It's that simple.
You can also change the default command line tools via GUI, if you prefer: XCode > Preferences > Locations, Dropdown "Command Line Tools"...
Attention, you can effectively install Xcode 6 and keep Xcode 5 but this is not working perfectly fine. For example this broke my Xcode 5 IOS6 simulators and I am now unable to run my apps on this old ios version (see here)
I didn't find any solution for now and there may be others problems, so be aware this operation is not without risks
You might be far better off creating a partition with OSX Yosemite and installing Beta Software there. I moved over my apps to the Yosemite partition and only the Xcode 6 Beta 4 ran them - yeah!
Here is where I will work with untested software.
Good luck!
Related
Just showing the Documentation Window crashes XCode 12 (cmd-shit-0) - anytime I do it.
Does anybody have the same problem, an explanation or a work around ?
Update: There's now a new version (12.0.1) in the App Store that fixes this issue.
I'm experiencing the same when using the version from the App Store. People in this Apple Forums thread are reporting that it doesn't occur with the GM download from Apple's developer resources, despite the build identifiers being exactly the same.
Anecdotally, I can confirm that I was able to use documentation in the GM version before I deleted it in favor of the App Store version. So this may in fact be a viable workaround until the App Store version is fixed.
The Xcode on the app store is some sort of unknown version, (Since there it release even before the GM version available). So get rid of it and Download The Xcode From The developer.apple.com or click the proper version below. Then it. will work like a charm.
This needs you. to login to your account
Don't forget to remove the appstore version downloaded Xcode
Direct Download
Xcode 12
Xcode 12.2 Beta
I use xcode 12 beta 5 works well can open document window, when I upgrade to GM seed, it can not open document window any more. When I fallback to xcode 12 beta ,open document it crash every time. All these happened on mbp13 pro, but my another mbp 15 with the same macos version works very well.
I guess it have something with macOS system, not xcode version.
Now I upgrade xcode by AppStore ,crash all the same.
Whenever I try and add any SpriteKit elements to my project, Xcode crashes. The files are created but not added to the project and if adding them manually, it still crashes when trying to open them. After some searching it looks as though previous versions have suffered with the same issue. I had the same issue with 8 beta 6 too.
Is there anything I can do to help with the issue? I can't find anything on the most up to date version so I'm guessing it's either something I'm doing or a problem with my setup.
I've the same issue when I try to maintain 2 Xcode versions in the same system, it is possible but you should install them into separate directories, for example Xcode_731 and Xcode_8 (my actual version is 8A218a GM, I haven't any crash).
This should be unuseful without crashes, but try also to free some memory (quit also simulator app after your crash), in your terminal:
sudo purge
I have just bought a macbook air 11" with Lion 10.7. I installed xcode 3.2.5 on it. But its not working. Xcode is installed, consuming much space but I cannot see it in applications. Somewhere I heard that xcode 3 will not work on Lion 10.7, only xcode 4 is compatible on this os. Is it really true? I tried removing xcode 3 but efforts go worthless. What should I do to uninstall it?
For Xcode, you want to use scripts provided with Xcode to remove it completely. Open a terminal window and invoke /Developer/Library/uninstall-devtools. Alternatively, you can just drag the Developer folder to the trash, but I don't think that removes everything that gets installed by the installer.
And no, Xcode3.2 won't work (entirely right) under Lion. You need Xcode4, v4.2 being the most recent with the iOS5 SDK. And if you want to submit anything to Apple, you'll need 4.2 (i.e. the latest released tools) anyway, at this point.
I would use this utility. It's always worked better than the traditional way to "unistall" applications form OSX
http://appzapper.com/
The reviews have always been good for this app.
My world was perfect when I had XCode version 3.x (3.1 or 3.2?).
Then one day, after upgrading my iPhone device to ios 4, i tried to deploy an app to my device. For some reason I thought that i needed XCode 4 (or SDK 4) in order to deploy directly to an ios 4.0 device (via xcode) because it was giving me an error(s) i've never seen before that seemed it was suggesting I upgrade XCode/SDK.
So now i have XCode 4.0 installed (build 4A304a) and am in a situation where I can't build my code, things are breaking left and right, and on top of it all I have to learn XCode all over again!!
Now here are my questions:
A) Do I need XCode 4 (and/or SDK 4) in order to deploy directly to an ios 4 device?
B) Do I have the right version of XCode?
C) I think there is a new Xcode version out, 4.02 or something. Should I get that right away?
D) Every time I download a new XCode, does it install "next" to the previous XCode versions? (it is a completely new XCode installation or does it upgrade any existing versions?)
Taking your questions in order:
A) Do I need XCode 4 (and/or SDK 4) in
order to deploy directly to an ios 4
device?
No, you can happily use Xcode 3.x to deploy to an iOS 4.x device. That said, if you want to develop using SDK features that are only present in SDK 4.3 or greater, you'll need to use Xcode 4.x as Xcode 3.x is only available as a package with version 4.2 of the SDK.
B) Do I have the right version of
XCode?
Being realistic, you'll need to move to using Xcode 4.x at some point, so you might as well bite the bullet now and get used to the new environment. Whilst it might take a while, it's worth the transition. (IMHO.) :-)
C) I think there is a new Xcode
version out, 4.02 or something. Should
I get that right away?
As Xcode 4.x is still fairly new they're patching it quite frequently. As such, if bandwidth isn't an issue, you might as well stay on top of Xcode releases. That said, unless you encounter a bug that's specific to a release, there's no requirement for you to do this.
D) Every time I download a new XCode,
does it install "next" to the previous
XCode versions? (it is a completely
new XCode installation or does it
upgrade any existing versions?)
By default Xcode will install over any existing versions. However, you can select a different destination during the install process if you want to run multiple versions in parallel.
Upgrading to Xcode 4 is indeed disruptive, luckily Apple doesn't do that too often. My experience with Apple technology is that you better go with the latest.
Personally: It took me 3 weeks to become break even in productivity. Now I'm more productive.
A: dunno, probably
B: yes
C: yes
D: in apple's tradition: it overwrites
I've just unwrapped my new MacBook Pro (yay!) and am now setting it up properly for development. Since I want to avoid clutter, I'm wondering if I really need to install the Xcode tools at all (I never use the IDE or Mac specific tools), since I'll install a newer version of GCC anyway, using MacPorts.
So, is there any benefit in installing Xcode? Is it necessary? What kind of set-up does it do behind the scenes? Basically: can I skip this or will it come back to haunt me because some Unix development tools just assume that OS X is always set up in this way?
In order to perform an easy and successful install of MacPorts, already having tools from the xCode installer is necessary. You only need the install option that places a copy of the unix/header files outside of xcode; everything else can remain uninstalled.
A friend of mine recently released this:
https://github.com/kennethreitz/osx-gcc-installer
Have fun :)
I tried this trick and I was constantly chasing missing header files and such. Just install XCode.
We primarily use the Xcode IDE for building Cocoa/Carbon applications. Xcode typically has different project templates (and project settings fixed accordingly). As long as you are not going to generate a Universal Binary or a framework I think you should be ok. As far as I am concerned, when I am too pissed with Xcode, I go back to the command line, set up the paths myself and start using GDB.
First of all, congratulations on the new MBP. I recently bought a 15" unibody myself. =)
You can safely skip Xcode installation, and you can install almost everything Xcode installs through MacPorts, except Xcode itself, of course.
However, I believe you'll find yourself installing Xcode one day anyway, and installing Xcode is much easier than installing all the tools (especially GCC) through MacPorts.
You can strip down the Xcode install quite a lot - when you install Xcode there is a "Customise" button where you can remove a lot of stuff (gigabytes worth).
You can also go in and delete stuff from /Developer/, for example the 10.3 SDK is about 150MB (I think), and if you're not writing software for that it's quite safe to delete. Obviously be careful when deleting, but if you break things, you can always reinstall the Developer Tools!
Apple now provides the command line tools as a separate download from Xcode. They work with Lion and Mountain Lion. You can download them from the Apple Developer Center.
(This is noted on the osx-gcc-installer GitHub page.)