Xcode Predictive Code Completion can't download

I got the Xcode 16 beta a few months and I downloaded the predictive code completion model, and it worked, but then recently I deleted Xcode and the Developer directories and then installed a newer beta, but I couldn't download the model because of this issue:

"The operation couldn’t be completed. (ModelCatalog.CatalogErrors.AssetErrors error 1.)" AND "Failed - Failed to find asset: com.apple.gm.safety_deny.input.code_intelligence.base - no asset" 

Then expanding this window gave me this error:

The operation couldn’t be completed. (ModelCatalog.CatalogErrors.AssetErrors error 1.)
Domain: ModelCatalog.CatalogErrors.AssetErrors
Code: 1
User Info: {
    DVTErrorCreationDateKey = "2024-08-22 13:00:57 +0000";
}
--
Failed to find asset: com.apple.gm.safety_deny.input.code_intelligence.base - no asset
Domain: ModelCatalog.CatalogErrors.AssetErrors
Code: 1
--


System Information

macOS Version 15.1 (Build 24B5024e)
Xcode 16.1 (23047) (Build 16B5001e)
Timestamp: 2024-08-22T21:00:57+08:00

I have uninstalled then reinstalled Xcode 16.1 beta and Xcode 16.0 beta, but none of them worked.

Thank you!

Answered by omeriadon in 803008022

This is all very funny because it has been fixed for me

Hi Omeriadon, have you tried to restart your Mac, relaunch Xcode, and attempt once again?

Thank you for posting this in the forums.

Could you please also file a feedback using these instructions:

https://developer.apple.com/bug-reporting/

Providing the sysdiagnose with the feedback will be most appreciated. Thanks!

Encountered the same issue.

Tried reinstalling and restarting, but none of it works. Hope this could be adressed soon, or at least a workaround would be provided.

Already filed a report using Feedback Assistant.

Same issue here, on my machine, not VM.

hi,

The same happens with the RC of both macOS and Xcode :(

Release candidate builds started doing this for me :(

Accepted Answer

This is all very funny because it has been fixed for me

Exactly the same issue with production Xcode 16.0 and macOS 15.0.1. Is it due to the macOS 15.0.1 update?

Xcode was working fine, nothing changed except perhaps the macOS version, when Xcode said there was a download error and this error. Feedback : FB15483047

System Information

macOS Version 15.0.1 (Build 24A348) Xcode 16.0 (23051) (Build 16A242d)

The following day, after switching on the Mac, Xcode showed a message about Predictive Code Completion successfully downloaded. Don't know what the issue was, nor if something was changed on Apple download servers.

Problem solved.

Xcode Predictive Code Completion can't download
 
 
Q