Xcode can't install components.
The file log contains:
2019-02-01 16:35:09-06 mabg-mac system_installd[615]: PackageKit: Adding client PKInstallDaemonClient pid=990, uid=501 (/Applications/Xcode1.app/Contents/MacOS/Xcode)
2019-02-01 16:35:09-06 mabg-mac installd[624]: PackageKit: Adding client PKInstallDaemonClient pid=990, uid=501 (/Applications/Xcode1.app/Contents/MacOS/Xcode)
2019-02-01 16:35:09-06 mabg-mac Xcode[990]: Package Authoring Error: PackageInfo bundle reference found without top-level bundle definition. Bundle will be skipped: <bundle id="*"></bundle>
2019-02-01 16:35:09-06 mabg-mac system_installd[615]: PackageKit: Adding client PKInstallDaemonClient pid=990, uid=501 (/Applications/Xcode1.app/Contents/MacOS/Xcode)
2019-02-01 16:35:09-06 mabg-mac Xcode[990]: PackageKit: Enqueuing install with client-specified quality of service (utility)
2019-02-01 16:35:09-06 mabg-mac system_installd[615]: PackageKit: ----- Begin install -----
2019-02-01 16:35:09-06 mabg-mac system_installd[615]: PackageKit: request=PKInstallRequest <3 packages, destination=/>
2019-02-01 16:35:09-06 mabg-mac system_installd[615]: PackageKit: packages=(
"PKLeopardPackage <id=com.apple.pkg.MobileDevice, version=4.0.0.0.1.1539750769, url=file:///Applications/Xcode1.app/Contents/Resources/Packages/MobileDevice.pkg>",
"PKLeopardPackage <id=com.apple.pkg.MobileDeviceDevelopment, version=10.3.9000000000.1.1488876279, url=file:///Applications/Xcode1.app/Contents/Resources/Packages/MobileDeviceDevelopment.pkg>",
"PKLeopardPackage <id=com.apple.pkg.XcodeSystemResources, version=10.1.0.0.1.1539812149, url=file:///Applications/Xcode1.app/Contents/Resources/Packages/XcodeSystemResources.pkg>"
)
2019-02-01 16:35:09-06 mabg-mac system_installd[615]: Package Authoring Error: PackageInfo bundle reference found without top-level bundle definition. Bundle will be skipped: <bundle id="*"></bundle>
2019-02-01 16:35:09-06 mabg-mac system_installd[615]: PackageKit: Bundle com.apple.SyncServices.AppleMobileDeviceHelper is nested inside upgrade-bundle or atomic-update-bundle and will not be version-checked
2019-02-01 16:35:09-06 mabg-mac system_installd[615]: PackageKit: Bundle com.apple.SyncServices.AppleMobileSync is nested inside upgrade-bundle or atomic-update-bundle and will not be version-checked
2019-02-01 16:35:09-06 mabg-mac system_installd[615]: PackageKit: Bundle com.apple.MobileDeviceUpdater is nested inside upgrade-bundle or atomic-update-bundle and will not be version-checked
2019-02-01 16:35:09-06 mabg-mac system_installd[615]: PackageKit: Bundle com.apple.CoreSimulator.CoreSimDeviceIO is nested inside upgrade-bundle or atomic-update-bundle and will not be version-checked
2019-02-01 16:35:09-06 mabg-mac system_installd[615]: PackageKit: Bundle com.apple.CoreSimulator.CoreSimulatorUtilities is nested inside upgrade-bundle or atomic-update-bundle and will not be version-checked
2019-02-01 16:35:09-06 mabg-mac system_installd[615]: PackageKit: Bundle com.apple.CoreSimulator.SimFramebuffer is nested inside upgrade-bundle or atomic-update-bundle and will not be version-checked
2019-02-01 16:35:09-06 mabg-mac system_installd[615]: PackageKit: Bundle com.apple.CoreSimulator.IndigoFramebufferServices is nested inside upgrade-bundle or atomic-update-bundle and will not be version-checked
2019-02-01 16:35:09-06 mabg-mac system_installd[615]: PackageKit: Bundle com.apple.CoreSimulator.IndigoLegacyHIDServices is nested inside upgrade-bundle or atomic-update-bundle and will not be version-checked
2019-02-01 16:35:09-06 mabg-mac system_installd[615]: PackageKit: Bundle com.apple.CoreSimulator.SimAudioProcessorServices is nested inside upgrade-bundle or atomic-update-bundle and will not be version-checked
2019-02-01 16:35:09-06 mabg-mac system_installd[615]: PackageKit: Bundle com.apple.CoreSimulator.SimAudioProcessorServices.SimAudioProcessorService is nested inside upgrade-bundle or atomic-update-bundle and will not be version-checked
2019-02-01 16:35:09-06 mabg-mac system_installd[615]: PackageKit: Bundle com.apple.CoreSimulator.SimStreamProcessorServices is nested inside upgrade-bundle or atomic-update-bundle and will not be version-checked
2019-02-01 16:35:09-06 mabg-mac system_installd[615]: PackageKit: Bundle com.apple.CoreSimulator.SimStreamProcessorServices.SimStreamProcessorService is nested inside upgrade-bundle or atomic-update-bundle and will not be version-checked
2019-02-01 16:35:09-06 mabg-mac system_installd[615]: PackageKit: Bundle com.apple.CoreSimulator.SimStreamProcessorObjects is nested inside upgrade-bundle or atomic-update-bundle and will not be version-checked
2019-02-01 16:35:09-06 mabg-mac system_installd[615]: PackageKit: Bundle com.apple.CoreSimulator.SimCGLRendererServices is nested inside upgrade-bundle or atomic-update-bundle and will not be version-checked
2019-02-01 16:35:09-06 mabg-mac system_installd[615]: PackageKit: Bundle com.apple.CoreSimulator.CoreSimulatorService is nested inside upgrade-bundle or atomic-update-bundle and will not be version-checked
2019-02-01 16:35:09-06 mabg-mac system_installd[615]: PackageKit: Skipping component "com.apple.MobileDevices" (1.0.0-988.220.5-988220005000000) because the version 1.0.0-988.222.1-988222001000000 is already installed at /System/Library/CoreServices/CoreTypes.bundle/Contents/Library/MobileDevices.bundle.
2019-02-01 16:35:09-06 mabg-mac system_installd[615]: PackageKit: Skipping component "com.apple.driver.AppleMobileDevice" (3.5.0-3.5.0-441220006000000) because the version 3.5.0-3.5.0-441220006002000 is already installed at /System/Library/Extensions/AppleMobileDevice.kext.
2019-02-01 16:35:09-06 mabg-mac system_installd[615]: PackageKit: Skipping component "com.apple.macos.driver.AppleUSBEthernetHost" (7.0.0-7.0.0-144200002000000) because the version 8.1.1-8.1.1-144050001000000 is already installed at /System/Library/Extensions/AppleUSBEthernetHost.kext.
2019-02-01 16:35:10-06 mabg-mac system_installd[615]: PackageKit: Skipping component "com.apple.mobiledevice" (988.220.5-988.220.5-988220005000000) because the version 988.222.1-988.222.1-988222001000000 is already installed at /System/Library/PrivateFrameworks/MobileDevice.framework.
2019-02-01 16:35:10-06 mabg-mac system_installd[615]: PackageKit: Will do receipt-based obsoleting for package identifier com.apple.pkg.MobileDeviceDevelopment (prefix path=)
2019-02-01 16:35:12-06 mabg-mac system_installd[615]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=110 "Ocurrió un error al extraer archivos del paquete “MobileDevice.pkg”." UserInfo={PKInstallPackageSHA256Digest=2b5a650af73aa39efe90f08cb14bcce5254210e79e25c623dd3d85e1309cdfc8, NSLocalizedDescription=Ocurrió un error al extraer archivos del paquete “MobileDevice.pkg”., NSFilePath=/.PKInstallSandboxManager-SystemSoftware/23AEFF92-30AB-4956-BBE6-77021E6D5AAC.activeSandbox/Root, NSURL=file:///Applications/Xcode1.app/Contents/Resources/Packages/MobileDevice.pkg, PKInstallPackageIdentifier=com.apple.pkg.MobileDevice, NSUnderlyingError=0x7fde7d406ad0 {Error Domain=PKXARArchiveErrorDomain Code=101 "archive verify failed" UserInfo={NSURL=file:///Applications/Xcode1.app/Contents/Resources/Packages/MobileDevice.pkg#Payload, NSFileOwnerAccountID=0, NSFileHFSTypeCode=0, NSFileSystemFileNumber=39099640, NSFileExtensionHidden=false, NSFileSystemNumber=16777220, NSFileSize=103284067, NSFileGroupOwnerAccountID=0, NSFileOwnerAccountName=root, NSFilePosixPermissions=420, NSFileHFSCreatorCode=0, NSFileCreationDate=2018-10-18 00:38:19 +0000, NSFileType=NSFileTypeRegular, NSFileGroupOwnerAccountName=wheel, NSFileReferenceCount=1, NSFileModificationDate=2018-10-18 00:38:19 +0000, NSLocalizedDescription=archive verify failed}}} {
NSFilePath = "/.PKInstallSandboxManager-SystemSoftware/23AEFF92-30AB-4956-BBE6-77021E6D5AAC.activeSandbox/Root";
NSLocalizedDescription = "Ocurri\U00f3 un error al extraer archivos del paquete \U201cMobileDevice.pkg\U201d.";
NSURL = "file:///Applications/Xcode1.app/Contents/Resources/Packages/MobileDevice.pkg";
NSUnderlyingError = "Error Domain=PKXARArchiveErrorDomain Code=101 \"archive verify failed\" UserInfo={NSURL=file:///Applications/Xcode1.app/Contents/Resources/Packages/MobileDevice.pkg#Payload, NSFileOwnerAccountID=0, NSFileHFSTypeCode=0, NSFileSystemFileNumber=39099640, NSFileExtensionHidden=false, NSFileSystemNumber=16777220, NSFileSize=103284067, NSFileGroupOwnerAccountID=0, NSFileOwnerAccountName=root, NSFilePosixPermissions=420, NSFileHFSCreatorCode=0, NSFileCreationDate=2018-10-18 00:38:19 +0000, NSFileType=NSFileTypeRegular, NSFileGroupOwnerAccountName=wheel, NSFileReferenceCount=1, NSFileModificationDate=2018-10-18 00:38:19 +0000, NSLocalizedDescription=archive verify failed}";
PKInstallPackageIdentifier = "com.apple.pkg.MobileDevice";
PKInstallPackageSHA256Digest = 2b5a650af73aa39efe90f08cb14bcce5254210e79e25c623dd3d85e1309cdfc8;
}
2019-02-01 16:35:12-06 mabg-mac system_installd[615]: PackageKit: Running idle tasks
2019-02-01 16:35:12-06 mabg-mac system_installd[615]: PackageKit: Done with sandbox removals
2019-02-01 16:35:12-06 mabg-mac system_installd[615]: PackageKit: Removing client PKInstallDaemonClient pid=990, uid=501 (/Applications/Xcode1.app/Contents/MacOS/Xcode)