开发者

Going back to XCode 4.1 after installing XCode 4.2 beta 7

I've installed XCode 4.2 beta but I realize I 开发者_开发问答can't deploy applications on my iOS 3.1.3 device. The previous XCode 4.1 was able to, but it seems I can't install it back.

What I've tried so far:

  • install XCode 4.1 directly on top of 4.2. XCode 4.2 persisted
  • delete the Developer folder, install XCode 4.1. Nothing happened, altho the installation went thru

What am I missing ?


I had the same problem and had to run this in Terminal:

sudo /Library/uninstall-devtools --mode=all

This will remove your Development folder and the other bits around your system, so that you can install Xcode from scratch.


I just went through this. "Installing" XCode 4.1 on top of the 4.2 beta doesn't actually do anything other than creating a 4GB "Install Xcode" file in /Applications. Running THAT shows a prompt that the newer version of XCode will be moved to /Developer-4.2 and the old version will be installed in /Developer.

I found the process confusing because I didn't realize right away that I was supposed to run /Applications/Install Xcode.


try to install it in the other directory ie. Developer/Xcode_old/ but then you have to run proper application(from the correct path).

I have currently both versions installed, so that's definitely can be done.


The problem I had was that I downloaded the 4.1 installer from Apple, but the 4.1 installer doesn't actually install XCode 4.1, it installs an installer for XCode 4.1 called "Install XCode"--BUT "Install XCode" already existed for the 4.2 install and it would not apparently overwrite it.

I renamed "Install XCode" to "Install XCode 4.2", reran the XCode 4.1 "installer" which installed a new "Install XCode", this time for 4.1.

(Who came up with this installer for an installer madness?)

I'm just ran the installer for XCode 4.1 (after mv'ing /Developer to /XCode-4.2) and it seems to have worked.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜