I just bought a new Macbook pro and install the Xcode in the disk to my machine, but, that Xcode only has mac sdk. How can I install other iOS sdk in? I just don't want to wait for redownloading the whole Xcode because with my network connection, it takes me up to 8 hours.
Apple's Developer Tools Evangelist, Michael Jurwitz, has stated on many many occasions that the developer tools team are aware of peoples frustrations with not having an incremental upgrade system.
Unfortunately, no matter how aware they may be, nothing has been done about it for as long as the developer tools have been available.
And now that Xcode 4 is available on the Mac App Store, it seems to me that getting an incremental upgrade system is even less likely (although that is just conjecture on my part). I say this because the Mac App Store, like its iPhone counterpart, downloads the new app in full when an update is available.
There is nothing more you can do other than wait for the download, I'm afraid.
There is no other way than re-download all sdk. I'm sorry man.
This has been answered here before: Old answer
And the sad answer is no. You will have to redownload the whole package every time.
Since they just upgraded their Xcode to version 4 (on 9 March 2011) , it's better for you to download the new Xcode.
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.
Could not locate device support files.
This iPhone 5s (Model A1457, A1518, A1528, A1530) is running iOS 10.3.1 (14E304), which may not be supported by this version of Xcode.
You need to update Xcode whenever the iOS version you want to work with is higher than the highest version that Xcode's simulator has installed. This can be done one of two ways. The simplest is to use the App Store to download/update Xcode. If the App Store doesn't show any updates, you must manually download the latest Xcode build from https://developer.apple.com/.
You will need to manually download from the Developer portal when the version of Xcode on your computer was downloaded there previously. For example, many beta testers may download the file directly instead of using the Mac App Store, since it is a beta download.
I would recommend trying to keep updates done through the App Store by downloading Xcode from there initially. The benefit to this is that it can automatically update as well as save space on your computer (Xcode is a big file, and you may not have enough space to download a new version if you still have the old version).
As of the comments, I will now write an answer. :-)
Whenever you encounter this error there might be two reasons for that:
The OS version is too old
The iPhone's/iPad's OS is too new for your Xcode version
If it is too old, you may need to download older SDKs and OS versions.
You can do so in Xcode. Go to "Preferences" -> "Components" and download the appropriate Simulator.
If the devices OS is up to date, you have to make sure your Xcode is also up to date.
Either you update Xcode through the AppStore OR (and I prefer this way, as the AppStore is used to hang up in a certain state and cannot be completed any longer until you restart the Mac, at least I had this several times).
Side note: Xcode requires multiple GB of free storage. Make sure you have enough free storage left for an update.
You can download the latest Xcode version from the https://developer.apple.com portal:
Go to Downloads:
And then select the item of interest (in your case Xcode)
just install the new version of Xcode (7.2.1), he took a little longer than expected.
But when it finished and run the xcode continues with version 7.1.1
I thought it would be solved by restarting the Mac, but no.
Any idea what can be spent? or happened to me to be done?
!EDITED!
My MAC version.
My xcode options
My applications
I had exactly the same problem. I installed 4GB large 7.2.1 version of Xcode from the AppStore over an existing 7.2 version, and whichever way I was launching Xcode it was always the same old 7.2 popping up. What was worse I could not download 7.2.1 again, as AppStore app was not showing Install button anymore, but rather Launch button instead (like it was installed).
Finally I found a solution. I went to Downloads for Apple Developers site (a login to a developer account was required), I dowloaded Xcode_7.2.1.dmg 4.7GB large from there, launched an installation... which successfully replaced the older 7.2 version of Xcode.
Another answer suggests installing Xcode via a Developer Member Center download. I'd like to caution against this, and suggest an alternative approach.
Shortly before Xcode 7 became available, I upgraded an Xcode 6 installation to 6.4 by using the download. I did this to save download time for upgrading multiple machines (I put the installer on a flash drive). I subsequently discovered that using the downloaded installer broke tracking the version history in the App Store, and I was no longer able to upgrade via the App Store. Also, I was no longer notified of pending Xcode updates via the MAS "Updates" panel.
So a possible consequence for you may be that the App Store may not be able to handle your future Xcode updates, or even notify you when an update is pending.
What I ended up doing was deleting my then-current Xcode installation (I used AppDelete to get all of the components of the installation), and starting from scratch using the App Store. I recommend doing the same. Probably the best way to start is to try deleting Xcode via Launchpad. But if that doesn't work (say, it doesn't delete all versions if you still have multiple versions), try AppDelete or a similar app.
I should note that one reason I used the download to upgrade Xcode 6 was that I'd done so previously without breaking the App Store's ability to track Xcode's version history. Whether that previous behavior was a fluke, or whether the later behavior (losing the version history) was a fluke, I can't say.
If you've already installed via the Member Center installer, you can check to see if you'll have this problem by looking up Xcode in MAS. If the store shows you have the version you manually installed, then all is well (probably!). If not, either you'll have to keep track of updates by yourself, or you should re-establish MAS version tracking by deleting Xcode and starting from scratch via MAS. I'd be interested to learn whether the store is tracking your manual installation.
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.)