Xcode 16 Beta: Predictive Code Completion failing to install

I am getting the following error when installing Xcode 16 Beta:

The operation couldn’t be completed. (ModelCatalog.CatalogErrors.AssetErrors error 1.) Domain: ModelCatalog.CatalogErrors.AssetErrors Code: 1 User Info: { DVTErrorCreationDateKey = "2024-06-20 20:18:46 +0000"; }

Failed to find asset: com.apple.fm.language.code_safety_guardrail.base - no asset Domain: ModelCatalog.CatalogErrors.AssetErrors Code: 1

Hello!

A common reason we're hearing for people to receive this error is that Xcode 16 is installed on a VM for macOS Sequoia instead of a physical Mac.

Unfortunately, we don't support this configuration, and you'll need to install macOS Sequoia and Xcode 16 directly onto your machine in order to use pretty much all our new Apple Intelligence features.

If you're not in this situation, and you're still having trouble getting these assets, please use the Feedback Assistant to file a report, and we'll see if we can get to the bottom of the issue.

I'm also seeing it. No VM; Xcode 16.0 beta 6. I believe this started after installing macOS Sequoia 15.0 beta 8 (24A5331b).

+1, Here's what I did. I already had the model installed in beta 5 then I removed it:

Xcode->Settings->Components, right clicked on Predictive Code Completion Model and clicked remove.

Now when I try to reinstall it, I see a similar error but not identical to above. I tried installing beta 6 and it didn't help:

Failed to find asset: com.apple.gm.safety_deny.output.code_intelligence.base - no asset
Domain: ModelCatalog.CatalogErrors.AssetErrors
Code: 1

Predictive code completion still failing to install on a M1 Mac Mini with the Xcode 16 RC and the macOS Sequoia RC.

Here's the error I'm getting.

The operation couldn’t be completed. (ModelCatalog.CatalogErrors.AssetErrors error 1.)
Domain: ModelCatalog.CatalogErrors.AssetErrors
Code: 1
User Info: {
    DVTErrorCreationDateKey = "2024-09-09 20:45:40 +0000";
}
--
Failed to find asset: com.apple.fm.code.generate_small_v1.base - no asset
Domain: ModelCatalog.CatalogErrors.AssetErrors
Code: 1
--


System Information

macOS Version 15.0 (Build 24A335)
Xcode 16.0 (23050) (Build 16A242)
Timestamp: 2024-09-09T13:45:40-07:00

Same issue here. RC of macOS 15, and Xcode, on Mac Pro:

The operation couldn’t be completed. (ModelCatalog.CatalogErrors.AssetErrors error 1.)
Domain: ModelCatalog.CatalogErrors.AssetErrors
Code: 1
User Info: {
    DVTErrorCreationDateKey = "2024-09-09 20:59:03 +0000";
}
--
Failed to find asset: com.apple.fm.code.generate_small_v1.tokenizer - no asset
Domain: ModelCatalog.CatalogErrors.AssetErrors
Code: 1
--


System Information

macOS Version 15.0 (Build 24A335)
Xcode 16.0 (23050) (Build 16A242)
Timestamp: 2024-09-09T16:59:03-04:00

Release candidate builds doing this

Same here

Don't know what and how it happened. But overnight it fixed itself, and now I see that I have this model downloaded and it works in Xcode.

Magic...

Same problem

The operation couldn’t be completed. (ModelCatalog.CatalogErrors.AssetErrors error 1.)
Domain: ModelCatalog.CatalogErrors.AssetErrors
Code: 1
User Info: {
    DVTErrorCreationDateKey = "2024-09-26 18:55:42 +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.0 (Build 24A335)
Xcode 16.0 (23051) (Build 16A242d)
Timestamp: 2024-09-26T20:55:42+02:00

Same here. Our macOS accounts are not admin. Every time I try to do something that needs admin a window pops up asking for justification. But I see no such alert when Predictive Code Completion tries to install.

In my case it is a missing 'tokenizer':

Failed to find asset: com.apple.fm.code.generate_small_v1.tokenizer - no asset Domain: ModelCatalog.CatalogErrors.AssetErrors Code: 1

I have problem too

Failed to find asset: com.apple.fm.code.generate_small_v1.base - no asset
Domain: ModelCatalog.CatalogErrors.AssetErrors
Code: 1

I have the same issue when I added IOS 18 to my code and the Code completion AI. The IOS went through but cant down load the AI got this error: The operation couldn’t be completed. (ModelCatalog.CatalogErrors.AssetErrors error 1.) Domain: ModelCatalog.CatalogErrors.AssetErrors Code: 1 User Info: { DVTErrorCreationDateKey = "2024-10-20 16:04:19 +0000"; }

Failed to find asset: com.apple.fm.code.generate_small_v1.base - no asset Domain: ModelCatalog.CatalogErrors.AssetErrors Code: 1

System Information

macOS Version 15.0.1 (Build 24A348) Xcode 16.0 (23051) (Build 16A242d) Timestamp: 2024-10-20T09:04:19-07:00

Same issue here, it worked and now I just relaunched XCode and the same error message, failing to download..

The operation couldn’t be completed. (ModelCatalog.CatalogErrors.AssetErrors error 1.) Domain: ModelCatalog.CatalogErrors.AssetErrors Code: 1 User Info: { DVTErrorCreationDateKey = "2024-10-30 21:32:05 +0000"; }

Failed to find asset: com.apple.fm.code.generate_small_v1.base - no asset Domain: ModelCatalog.CatalogErrors.AssetErrors Code: 1

System Information

macOS Version 15.0.1 (Build 24A348) Xcode 16.1 (23503) (Build 16B40) Timestamp: 2024-10-30T17:32:05-04:00

Xcode 16 Beta: Predictive Code Completion failing to install
 
 
Q