I just installed a software update that I was prompted for, presumably affecting Xcode. Now when I start Xcode, I am presented with a dialog box which states that Xcode must install the Mobile Device Framework before continuing. When I try to do this, after providing my password, it fails with "An unknown error occurred. See the install log for more details." I do not see anything useful in install.log that identifies the problem. I've tried re-installing multiple times and rebooting to no avail.
I'm currently running Xcode 4.3. Perhaps I need to upgrade to 4.4? Has anyone else run into this problem?
Open the Mac App Store and sign out of it. Cancel the installation/download. Next, quit the Mac App Store and then restart your Mac. Once you're back on your desktop, open the Mac App Store, sign in again, and then download and install the app.
You cannot install Xcode without an Apple ID, but you can install Xcode's command line tools, as I explain below. If you don't have an Apple ID already, you can create one for free here.
You need 4–5 times the size of the Xcode download to install it. The file you are downloading is a compressed file. You need enough free space to temporarily store both the compressed and expanded files. If you have a Mac with a 128 GB drive, you will have a tough time installing Xcode.
This problem has once again appeared in Xcode 11.1 and is caused by an invalid certificate that expired some day in October 2019.
You can work around the problem by temporarily changing the system date to before the certificate expiration date.
In the case of Xcode 11, set the system date to Oct 3, 2019, run Xcode, then change the date back after the components have installed.
In Xcode version 4.3.1 (4E1019), I suspect that I got the problem after an iTunes update this morning. Found the following somewhere on the web:
Then navigate to Contents/Resources/Packages. Double click on Install MobileDevice.pkg.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With