OS X 10.7: how to install XCode 4 - xcode

I've downloaded XCode 4 from the App(le) store and started installation. After approx. 3/4 of the installation process, an installation alert tells to close iTunes. But iTunes is not running and I never run in before after installing a fresh (!) OS X 10.7. When clicking the zoom icon in this alert, it opens iTunes. Closing it does not change anything - the installation does not continue. Rebooting also does not help. What else I can try?

Start Activity Monitor
Locate "iTunes Helper"
Kill it (Quit Process)
Continue installation of Xcode

Alert "quit itunes" when installing updates on macbook and itunes not running.
Just opened iTunes then closed and it left on the top ribbon was "iTunes" so clicked it and drop menus options came and clicked "quit iTunes" and the alert to quit itunes immediately closed, I assume recognizing iTunes being quit.
This was after waiting for the longest time ten to fifteen minutes for install, expecting it was not going to happen without dealing with this alert and having quit install rebooted and still no solution to repeated update attempts this seems to have worked. Sorry I'm not very technical to tell you what the update was but OS X 10.6.8
Hope this helps others with same issue

Related

I updated Xcode by hand -- App Store keeps trying at night

TL;DR: It appears that Xcode now auto-updates overnight if your Mac is connected to power. I did a manual install, but the (stalled) auto-update still tries overnight. How do I kill this zombie? (Yes, I can turn off auto-update in App Store, but I don't want to. And anyway, the problem would persist when/if I turned it back on.)
Longer: The following steps happened
Yesterday morning my Mac had the error dialog (paraphrasing here) "Could not update, you must quit Xcode"
I quit Xcode
Clicked "Update" in App Store app
Update stalled at 90%, App Store said "Pending"
(Simulator was still running; could have been the problem)
This stalling is a common problem, dealt with in many posts here, notably
Xcode update stuck after updating macOS
Xcode update stuck on "update"
I went to https://developer.apple.com/download/more/ and got and
installed the update by hand
That wasn't the end of my problems; see
Broken xib with xcode 10.3
This morning, I was welcomed with the same "Could not update, you
must quit Xcode" error dialog.
The App Store app still says "Pending" for this update. Apparently you used to be able to press the Option or Control-Option keys to reveal a "Cancel" button, but no longer.
Q: How do I cancel this pending update, short of de-installing current Xcode and re-starting the App Store process? (See How to Completely Uninstall Xcode and Clear All Settings)
Note: FWIW the file
~/Library/Application Support/App Store/updatejournal.plist seems to say my latest version is 9.2.
Note: another suggestion at https://apple.stackexchange.com/questions/345910/how-to-delete-partially-downloaded-updates-in-high-sierra is to delete all contents of $TMPDIR../C/com.apple.appstore/ but that seems drastic.
Note: In Launchpad, the Xcode icon has a blue dot next to it. Could my solution really be as simple as deleting the Xcode icon? Plenty of similar suggestions all over the web...
This seemed to do the trick: sudo softwareupdate --clear-catalog

XCode 6.0 does not open on OS X 10.9.4

I just downloaded XCode_6_beta_6.dmg from the official apple website. However, when prompted to drag the installation to the application folder, it just unarchived the installation but does not install XCode_6_beta_6. When i try to open xcode_6_beta_6 from the applications folder, the new xcode6 beta icon just keeps popping in the application dock and does nothing. How do i overcome this situation so that the new xcode6 beta is installed on my machine?
For some weird reason, apple does not trust this installation and hence does not continue.
Please follow the below instructions to continue with the installation.
Open System Preferences
Open Security and Privacy
Unlock the settings screen if it is not already unlocked.
select "Anywhere" from the "Allow apps downloaded from:" section.
lock and close the preferences screen.
Your installation shall start in a moment!!
Also happened to me. Used Deepak's fix but had an additional strange problem where the Icon would still stay bouncing in the dock. Be patient & wait (for me it took a good 10 minutes!) for a dialogue box to eventually appear saying 'This is an application downloaded from the internet, do you want to open?' Obviously click 'Open'. Odd, considering it's Apple's own app.

mac stuck while re-installing xcode?

I recently had a problem with Xcode 3.2.6 and decided to reinstall it. I tried to uninstall the previous one before but wasn't able to. The instructions said to run a line in a terminal window but I kept getting the message that Xcode was not found. Anyway, I decided to do a not-so-clean reinstallation and clicked on the dmg to install it.
Everything went fine until now, there is a message that reads
"running package scripts"
"install time remaining: 2 min"
it has been like this for the last 20 minutes!!!!!! what should I do?????? should I force it to quit with activity monitor? should I wait longer?
HELP PLEASE!!!!!
Actually, I know now what happened... during the installation process it asked me to close iTunes, which I did, but the window asking for it remained opened. It occurred to me to check if there was something else from iTunes opened in the activity monitor, and there was! iTunes has an "iTunes helper" that opens automatically and doesn't close when you close iTunes. I forced the helper to quit and that unblocked the installation process!

Unable to install Xcode on Mac OS X Lion (10.7) [duplicate]

I am trying to install Xcode 4.1 GM on my Lion mac but it's not working. When it is almost finished, I get the popup to quit iTunes even though it is already quit. So the only option I have is to quit iTunes helper or alert in activity monitor, then it finishes the install. However then Xcode crashes on launch. Any ideas?
You can go into Activity Monitor and Quit the iTunes helper. That will also get Xcode to finish.
Looks like you've solved the install problem. It's not a solution per se, but setting Xcode to run in 32-bit mode fixed the crashing problem for me.
It's too early to say what the trade-off is (if any), but whatever it is, it's bound to be better than not being able to use it at all.
On a side note: please accept Phil's answer since he gave the correct solution to your original problem. C:
if you boot into single user mode (Press S when starting up), the installation works as it should. Xcode will then function without switching it to 32-bit mode.
Open "Activity Monitor" (press Command+Space to bring up spotlight, or find it in Applications.)
Sort by Process Name and find the process called "iTunesHelper".
From the "View" menu choose "Quit Process".
Then click on the "Force Quit" button. Xcode installation should continue now.
Try to use the xCode through the Finder after you get this problem. It happened to me, but I can still run the xCode.
I think it's something to do with your version of itunes is more updated than your Mac Os version.

Xcode won't start after first launch?

I recently installed Xcode and after closing out of the first launch (because I realized I had more configuring to do). I cannot get it to re-launch. The icon will come up, but no program will show up. I do not get an error, and I am launching from the /Developer folder (not /Applications). I have tried re-installing/restarting multiple times to no avail. I have the latest version, and I am running Snow Leopard (10.6.6).
The icon will come up, but no program will show up.
Are you new to OS X? It sounds like you are describing the way OS X apps normally start up. By default, Xcode pops up a window with a list of most recent projects, but you can switch this off. It doesn't mean that Xcode isn't running, it just means you don't have any Xcode windows open. You can still select any of the usual menu items to start new projects, open existing projects, etc.
The answer to this problem is I believe easily sorted. Once you open X code and all you get is the menu bar at the top, go to Window, Welcome to x Code, then check the box bottom left hand corner of that screen 'Show this window when Xcode launches'
Job done ! Now every time you hit the Xcode icon where ever it is the welcome screen will open and from there you can proceed into the program.
Probably not your problem, but I had issues starting xcode with it trying to load up the last project I was working on. It would just hang and I had to force quit it.
In the end I deleted these directories:
project.xcworkspace/
xcuserdata/
and next time I tried to restart xcode it started fine.
Please go project folder and right click ."xcworkspace" and open "show package contents"-> xcuserdata and delete user folder and then relaunch.
In my case I launched XCode 6 (beta 7) on my MacBook Pro Mid 2010, and I had to wait for ~10minutes for anything to happen. I didn't see icon in dock, or even menu bar - just a reference in Force Quit Applications menu. After those 10 minutes classic alert with "You have downloaded Xcode from internet..." title appeared and then i had to wait another 5 minutes for another progress (installation of additional components).In overall it took Xcode 6 ~25 minutes to start.
So... Patience! :)

Resources