Xcode 8 beta 4 won't download "Guides and Sample Code"

Could not download and install Guides and Sample Code. An unexpected error occurred while moving files to the final destination.

Accepted Reply

Saw this as well. Was able to work around it by manually navigating to ~/Library/Developer/Shared/Documentation/DocSets/ and removing "com.apple.adc.documentation.docset" left by previous install, then restarting the install.

Replies

Same occurrs here even after several retries, logout and reboots!

Saw this as well. Was able to work around it by manually navigating to ~/Library/Developer/Shared/Documentation/DocSets/ and removing "com.apple.adc.documentation.docset" left by previous install, then restarting the install.

This did not work for me with Xcode 8.2. I did see the following log message:

Dec 13 09:35:07 magrathea com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.pid.IDECacheDeleteAppExtension.14214): Path not allowed in target domain: type = uid, path = /Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator.framework/Versions/A/XPCServices/com.apple.CoreSimulator.CoreSimulatorService.xpc error = 1: Operation not permitted, origin = /Applications/Xcode.app/Contents/PlugIns/IDECacheDeleteAppExtension.appex
Dec 13 09:35:07 magrathea com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.pid.IDECacheDeleteAppExtension.14214): Path not allowed in target domain: type = pid, path = /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/XPCServices/RootDebuggingXPCService.xpc error = 147: The specified service did not ship in the requestor's bundle, origin = /Applications/Xcode.app/Contents/PlugIns/IDECacheDeleteAppExtension.appex
Dec 13 09:35:08 magrathea com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.pid.IDECacheDeleteAppExtension.14214): Path not allowed in target domain: type = pid, path = /Applications/Xcode.app/Contents/Frameworks/DFRSupportKit.framework/Versions/A/XPCServices/IDETouchBarSimulatorService.xpc error = 147: The specified service did not ship in the requestor's bundle, origin = /Applications/Xcode.app/Contents/PlugIns/IDECacheDeleteAppExtension.appex
Dec 13 09:35:08 magrathea logd[72]: _handle_cache_delete_with_urgency(0x7fceb8034e20, 3, 0)
Dec 13 09:35:13 magrathea logd[72]: _handle_cache_delete_with_urgency(0x7fceb8038370, 3, 0)
Dec 13 09:35:13 magrathea logd[72]: _handle_cache_delete_with_urgency(0x7fceb8137df0, 3, 0)
Dec 13 09:35:13 magrathea logd[72]: _handle_cache_delete_with_urgency(0x7fceb6c1c560, 3, 0)
Dec 13 09:35:13 magrathea logd[72]: _handle_cache_delete_with_urgency(0x7fceb83374a0, 3, 0)
Dec 13 09:35:13 magrathea logd[72]: _volume_contains_cached_data(is /private/var/db/diagnostics/ in /) - YES
Dec 13 09:35:14 magrathea logd[72]: 86066512 bytes of purgeable space from log files
Dec 13 09:35:14 magrathea logd[72]: _purge_uuidtext only runs at urgency 0 (3)
Dec 13 09:35:14 magrathea logd[72]: 0 bytes of purgeable space from uuidtext files