You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Retry model removal and explain it when macOS reports "current locks" #56
When something on the Mac still has a model set open, Apple's asset service refuses the removal with Could not eliminate as there are current locks. RemoveMacAI prints that raw error, and the app ends with "Finished with problems". A few people have hit this (#15, #38), and so far a restart followed by applying again has cleared it every time.
What would help:
detect the lock error in Models.remove (Sources/removemacai/System.swift) instead of printing the whole userInfo
try the removal again a couple of times after a short wait
if it still fails, tell the person in plain words that something is using the models and that restarting and applying again clears it, in both the CLI and the app
The self-test can cover the message with a fake remove, the same way Commands.removeModels already takes one.
Activity
Retry model removal while macOS still holds the models