I recently upgraded my MacBook Pro to 10.13, and installed Xcode 9
Xcode is working, but I don't seem to have the latest Libraries.
Previously this was a manual process which took some time. Searching I found
https://developer.apple.com/library/content/releasenotes/DeveloperTools/RN-Xcode/Chapters/Introduction.html
This states "You obtain Xcode 9 from the Mac App Store. It is a free download that installs directly into the Applications folder. By default, Xcode downloads developer documentation in the background for offline reading; it also automatically downloads documentation updates. This behavior can be changed after installation using the Downloads preferences pane."
As far as I can see this is not happening, and I can't find any "Downloads preferences pane"
Related
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.
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.
Looking for a Developer Image for my iPhone 5s so I'm able to run an app. I believe my iPhone has the 12.1 OS and I'm currently running Yosemite 10.10.5 on my Macbook. I tried 7.3 Xcode and it won't run. Can't run newer versions of Xcode either due to my OS. I read that I can download Xcode 10 and then copy the developer files over, but I wasn't able to extract the .xip files.
It is available for registered Apple Developers on Apple's Developer Site:
You can find all old Xcode versions there.
I have to use Xcode occasionally, and have now come across a problem where I've upgraded to Xcode 4.6, but another piece of software I'm using doesn't support it, so I need to go back to Xcode 4.5.
I'm not used to the way Macs work in general, so if the answers provided could be written with that in mind, that'd be helpful. :)
I'm assuming you are having at least OSX 10.7, so go ahead into the applications folder (Click on Finder icon > On the Sidebar, you'll find "Applications", click on it ), delete the "Xcode" icon. That will remove Xcode from your system completely. Restart your mac.
Now go to Xcode Releases page or Apple Developer More Downloads and download an older
version of Xcode, as needed and install. You need an Apple ID to login to that portal.
After install, you can also switch between multiple versions:
Xcode > Preferences > Locations > Command Line Tools
When you log in to your developer account, you can find a link at the bottom of the download section for Xcode that says "Looking for an older version of Xcode?". In there you can find download links to older versions of Xcode and other developer tools
I recently installed Xcode 4.3.1 from the App Store. It constantly says "Downloading iOS 5.1 SDK." Isn't that already on my computer with the download? Every time I close and reopen the app, it seems the downloads restart. Is this normal?
Its probably downloading the documentation. You can control this in the preferences--> downloads settings.
It should finish eventually, the documentation is pretty huge.