I am trying to get Xcode 4.5 running along side my current XCode version.
I can see alot of posts saying you just drag the .app file from the dmg to a place on your HD, but when I do that and tries to start XCode 4.5 from that file it starts an installer.
From what I have read it should simply start the program right away. Can someone tell me what im doing wrong?
Downloaded the dmg file from iOS Dev Center.
You're doing it fine. The first-launch installer installs a couple things required for the new version (e.g. Libraries for talking to newly-supported hardware), but it won't interfere with the workings of the previous version of Xcode. The same thing happened with Xcode 4.4 and 4.3.
Related
I am having a strange issue. I need access to Xcode 10 to test my app. So I downloaded and installed the latest version of Xcode from the App Store to my Mac. I have confirmed this in the App Store:
See in the top left in the above image, version 10.1 of Xcode is installed.
But to my frustration when I open Xcode it still is version 9, as shown in this screen shot:
See just below the Xcode logo it says version 9.4.1
What is going on? I tried restarting my computer again but the Xcode version is still 9.4 when i open xcode. Is there somewhere I can choose to use version 10 of Xcode?
You might have possibly installed multiple xCode applications in your system.
Option 1:
Select Finder -> Applications
Check if there are multiple xCode applications.
Option 2:
Go to your project folder.
Right click . xcodeproj or .xcworkspace file -> Open With
This will show all the xCode applications installed in system.
I've been using MonoTouch 6.0.6 and xCode 4.2 for a while and everything was good. Recently one requirement came for which I had to use iOS6 SDK. I downloaded Xcode 4.5 dmg file from app dev centre. When I try to install, its just an app so it doesn't install. I want my Monotouch to use Xcode 4.5, how do I do? I am stuck on this and not able to find the solution.
Thank you!
You should just drag the app from the .DMG into your Applications folder, open it, and then it'll handle the rest. Monotouch will then use Xcode 4.5.
I got it working. Here is what I did -
a. Opening the DMG file, it mounted on a drive and kept on desktop.
b. Click on the XCode on the mounted drive opened XCode, so I copied the XCode.app to application folder
c. In Monotouch, under preferences-> SdK Location, select the Application/Xcode.app as the apple sdk.
Using this, Monotouch picks up the new SDK and start using iOS6 simulator.
I have managed to install the trial version of MonoTouch as I am interested in buying a license but I want to try the product first. The problem that I am having is this:
I have installed MonoTouch and MonoDevelop
I have downloaded Xcode which has the iphone sdk's bundled in.
When I open monodevelop and create a new iPhone application or project, it creates it and opens it in monodevelop. Awesome. when I try to compile and run in the simulator, I get an error stating "The iphone sdk is not installed."
Now, it could be due to the fact that the xcode I downloaded from the apple developer site is an app file ie no installation is required, you extract the dmg file and then Xcode runs straight from there and you can copy it from the dmg straight to your drive and run it from there. is there any specific place where I should put that file for monotouch to find it? how can I solve this?
Another problem, upon opening the xib file in my project, it does not open interface builder in monodevelop, it opens the files source code. hopefully by solving the xcode issue it will take care of this as well?
Using a Macbook Pro OSX 10.7.3
You're right, the problem is that MonoDevelop can't find Xcode.
The easiest way is to install Xcode from the AppStore. In this case MonoDevelop will detect the location automatically.
You can also tell MonoDevelop where the SDK is in MonoDevelop's preferences (remember to restart MonoDevelop):
Or you can copy Xcode.app into your Applications directory, and MonoDevelop will find it automatically (if you have the latest MonoDevelop version and Xcode 4.3).
Have you tried running XCode and checked that it is installed? Might seem like a silly question, but when you download XCode from appstore you only download the installation program, which you in turn need to run to actually install XCode.
I have solved the problem. I downloaded another version of xcode which physically installed it on the machine now everything works beautifully.
I had xcode 3.2.something. and iwth ios sdks 3.0-3.1-....4.1 and 2 iphone simulator sdks.
Now i installed xcode 4.0 with ios sdk 4.3 something like that.
Now all my previous applications cannot be launched nor on device nor on simulator because there's not a single old sdk available.
so next i reinserted the original cds containing macosx and xcode and reinstalled the first xcode i used, but now there's not one ios sdk available at all.
i've been surfing the net for hours now, andi have a couple of questions:
1)have i had to uninstall the xcode 3.2.x before installing xcode 4?
2)how to uninstall applications on mac??? just to make sure that the answer i've found is the correct one.
3)how can erase the traces of all previous xcodes and their sdks in order to install the original one, now that i learned how to install different xcode versions side by side.
4) now what do you think i should to recover? do i have to back up everything and reinstall mac from the beginning?
thank you
So, your questions:
1. Have I got to uninstall XCode 3.2 before installing XCode 4? - No, you don't, but the XCode installer will overwrite your old copy by default. When installing the newer version of XCode and the iOS SDK you must specify a different install directory (eg, create a new folder in the root of your drive called 'Developer 4' for XCode 4.
2. How can I uninstall XCode? - Normally on a mac you would just drag your application to the trash, but it's a little more complicated with XCode. Refer to the instructions at this link: http://pushkararora.com/how-to/how-to-uninstall-xcode-completely/
3. How can I erase all traces of all previous XCodes? - see the answer above for question 2 :)
You can obtain old versions of the SDK from various unofficial online sources if you need to roll back to iOS 3 SDKs. However, it may not be all that much work to move your apps over to the 4.x SDKs.
ok it turned out that at the beginning i was using xcode 3.2.4 with ios sdk 4.1
The xcode that comes with mac osx only targets mac sdk. No iphone support
So i got xcode 3.2.4 setup from a backup (you can find it online) and installed and this should work
And now i have 3.2.5 using sdk 4.2 and targetting all till 3.0
and also xcode 4.0.2
When I click on a project on Xcode it loads the old xcode, but I just installed the new XCode 4.3. How can I configure my Mac to load the new Xcode instead of the old Xcode?
I know that I had installed correctly the new Xcode 4.3 because I can still load it just by clicking on the icon of Xcode 4.3, but my old Xcode still somewhere of the hard drive causing it to boot when you click directly on any file of a project on Xcode.
It is very useful to load the Xcode directly from the projects itself vs. loading first the Xcode, then looking for the right project to open.
Thank you in advance.
Xcode 4.3 [is now fully self-contained][1] in the app bundle that is installed in the /Applications folder. The 4.2 installation in the /Developer folder is left intact. The first time you run Xcode 4.3, you'll be prompted to remove old tools.
You have to delete Xcode from /Developer/Applications, and drag the Xcode 4.3 app to /Applications. It should work fine after that.