Predictive Code Completion stopped working on new MacBook Pro

Happy to have a new MacBook Pro M4 now - the new machine was setup from time machine backup of my old MacBook Pro M1.

Sadly Predictive Code Completion does not work on the new M4 (it was working great on the M1).

Xcode shows as downloaded component:

Predictive Code Completion Model [com.apple.fm.code.generate_small_v1.base: 500.1.81600.13.200772,0] [com.apple.fm.code.generate_safety_guardrail.base: 1.6.81619.13.200716,0] [com.apple.gm.safety_deny.input.code_intelligence.base: 32024010.20241007.171244.100.377,0] [com.apple.gm.safety_deny.output.code_intelligence.base: 32024010.20241007.171244.100.377,0] (Installed)

Things I already tried:

  • Removed and reinstalled Xcode 16 (also latest beta).
  • Disabled/enabled Xcode Editor Settings for predictive code completion
  • Many many reboots
  • Removed Xcode cache

Maybe the downloaded Model is somehow locked to the old machine?

How can I remove, redownload or reinstall it again?

Thank you very much.

Tobias

Answered by anosidium in 818097022

Updating the macOS to 15.2 (24C101) fixes the problem. It works on first try.

I am facing the same issue. On my M2 MBP, the predictions are showing. But on my new M4 MPR the predictions stopped appearing since 4 days.

What I tried:

  • Enabling/Disabling predictions, Many Xcode restarts
  • New Projects and existing one both don't get predictions
  • Delete Derived Data, Caches, Config files...
  • Re-install Xcode
  • Reset the Mac completely to factory settings and reinstalled everything (Same)

I am suspecting maybe Apple disabled the model remotely on M4s?

Same here. Predictions were working on my M4 MBP but they suddenly stopped working. Not completely sure when they stopped, took me a couple days to realize it, but it has been within the past few days. Pretty unfortunate if Apple just disabled the feature without notice.

I have the same problem as I am using an M4 Pro Mac. It worked when I first got the computer but after a little while, it stopped working.

I've just updated to Xcode Version 16.2 (16C5032a) on macOS 15.1.1 (24B2091) and it is still not working.

Accepted Answer

Updating the macOS to 15.2 (24C101) fixes the problem. It works on first try.

Yep! After updating to 15.2. the intelligence is back!

macOS 15.2 fixed if for me too. Thanks for the update.

Predictive Code Completion stopped working on new MacBook Pro
 
 
Q