xcode 6.2 cannot install old simulator by coping - xcode

everyone.
I found that I cannot install old simulator into Xcode 6.2 by coping now. I tried to download the 7.1 simulator in Xcode, but always get a no response message. Is there another way to install iOS 7.1 simulator for Xcode 6.2?
Thanks.

Goto Xcode -> Preferences -> Downloads
Starting with Xcode 6.2, it will install to /Library/Developer/CoreSimulator/Profiles/Runtimes rather than in the Xcode.app bundle itself. This allows you to install the legacy runtimes without breaking the signature of the app bundle (which in turn allows you to download delta updates from the store rather than full downloads when updating Xcode.app) and allows them to persist across Xcode.app updates.

Related

Even after rolling back to Xcode 13.3.1 I can no longer debug apps on my iPhone with iOS 15.6

After my iPhone 13 updated to iOS 15.6, Xcode 13.4.1 no longer was able to debug apps on the device. Many posts and Xcode support recommend that I roll back to Xcode 13.3.1.
So I renamed Xcode to "Xcode 13.4.1", downloaded the xip for 13.3.1 and also confirmed that I am running the previous version, via the About menu.
Yet I still get the following error:
Failed to prepare device for development. This operation can fail if
the version of the OS on the device is incompatible with the installed
version of Xcode. You may also need to restart your mac and device in
order to correctly detect compatibility.
I have cleaned the build folder, I also downloaded the 15.5 image, renamed it to 15.6, and placed it in the DeviceSupport folder. But it nothing has worked.
I don't know if Xcode uses any config files that I need to clean, or anything else I can't think of. Has anyone been through this?
Xcode 13.4 (build 13F100) has a known issue preparing devices running iOS 15.6 beta and is not officially supported. The fix is to wait for a newer build of 13.4.x Xcode.
Anecdotally some have said it works after disconnecting the phone and restarting both the phone and the Mac.
There are two workarounds:
The official workaround from Apple is to install Xcode 13.3.1. You have tried this. The majority of the config files are inside the Xcode directory. You can download AppCleaner and have it show you everything it would delete if you allowed it to uninstall Xcode. For me that list was 11 GB and 39 files. I'd exam those files and possibly make copies of anything outside /Applications/Xcode.app before allowing it to remove.
Navigate to
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/ and duplicate the 15.5 folder with a new name of 15.6. If this works, it is much safer.

Xcode version in App Store and in Xcode do not match

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.

Xcode version is different to the version listed in my App Store applications

I recently updated Xcode to version 6.4. In the App Store it says I have version 6.4 installed, but when I run Xcode it says version 6.3.2.
Does anyone know how I run Xcode version 6.4? Do I need to uninstall and then reinstall Xcode?
I installed it using the App Store and updated through the App Store as well.
So while I was unable to find out where Xcode 6.3.2 or 6.4 was installed on my mac, I uninstalled Xcode by dragging the application to the trash can and emptying it as recommended by Apple.
I then reinstalled Xcode 6.4 from the App Store and it appears to be working.
While it is a simple thing, I thought I would share as sometimes the simple solutions are the ones we don't think about.

MonoTouch and Xcode 4.3 from the App Store

I removed Xcode 4.2 from my system and installed 4.3 from the App Store.
Now when I want to build my app in MonoDevelop it says
The Apple iPhone SDK is not installed.
Using Xcode I can build and run iOS apps just fine.
I tried reinstalling MonoTouch, but it will fail saying XCode is missing.
Any idea how to get this working again?
Xcode 4.3 moved to a different directory, and MonoTouch can't find it anymore.
Yesterday we released a beta update that fixes this - just enable the beta channel in MonoDevelop (Preferences -> Updates) and then update to MonoDevelop (2.8.6.5) and MonoTouch (5.2.5).
Once we've been able to test the changes a bit more, we'll release these packages to the stable channel.

how to fix old xcode installations on mac

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

Resources