Skip to content

Partial removal failure due to locks on macos 27.0 #15

Closed

Description

@allywilson

What happened

See the output for what I ran and its output.

Output of removemacai status

% curl -fsSL https://raw.githubusercontent.com/omlahore/RemoveMacAI/main/install.sh | bash
RemoveMacAI 0.2.5  ·  macOS 27.0

Checking Apple Intelligence and its models.
  Features on         12 of 14
  Models on disk      7.0 GB

Turning it off will:
  · switch off Siri, Writing Tools, Genmoji, Image Playground, summaries and ChatGPT
  · delete 7.0 GB of models and stop macOS downloading them again
  · ask you to approve one profile in System Settings (macOS requires that click)

Everything comes back with: curl -fsSL https://raw.githubusercontent.com/omlahore/RemoveMacAI/main/install.sh | bash -s revert

Turn Apple Intelligence off? [y/N] Y

Step 1 of 2  Approve the profile
  System Settings is open. Double-click RemoveMacAI, then click Install.
  ✓ Profile installed
Step 2 of 2  Delete the models
  ! Removal request for Apple Intelligence foundation models: com.apple.UnifiedAssetFramework -1 com.apple.modelcatalog: Error Domain=com.apple.UnifiedAssetFramework Code=-1 "Could not eliminate as there are current locks" UserInfo={NSLocalizedDescription=Could not eliminate as there are current locks, NSLocalizedFailureReason=Could not eliminate as there are current locks, currentLockUsage={
    "manager in com.apple.UnifiedAssetFramework locking latest version of com.apple.modelcatalog" =     {
        "286AFD38-9B3F-4C64-B1DB-BA691F43018B" = 1;
    };
}}
  ! Removal request for Image and Genmoji models: com.apple.UnifiedAssetFramework -1 com.apple.MobileAsset.UAF.FM.Visual: Error Domain=com.apple.UnifiedAssetFramework Code=-1 "Could not eliminate as there are current locks" UserInfo={NSLocalizedDescription=Could not eliminate as there are current locks, NSLocalizedFailureReason=Could not eliminate as there are current locks, currentLockUsage={
    "manager in com.apple.UnifiedAssetFramework locking latest version of com.apple.MobileAsset.UAF.FM.Visual" =     {
        "345B9E70-D00B-4F9A-A7A0-90557AE98D62" = 1;
    };
}}
  ! Removal request for Spatial Photos models: com.apple.UnifiedAssetFramework -1 com.apple.MobileAsset.UAF.Photos.SpatialPhotosRelive: Error Domain=com.apple.UnifiedAssetFramework Code=-1 "Could not eliminate as there are current locks" UserInfo={NSLocalizedDescription=Could not eliminate as there are current locks, NSLocalizedFailureReason=Could not eliminate as there are current locks, currentLockUsage={
    "manager in com.apple.UnifiedAssetFramework locking latest version of com.apple.MobileAsset.UAF.Photos.SpatialPhotosRelive" =     {
        "6B387FEF-102A-414B-B5BC-56BDBD6B6631" = 1;
    };
}}
  ! Deleted 7.0 GB

Incomplete. Apple Intelligence is off. The profile remains installed; model removal is incomplete.
Check it with: removemacai status    Undo with: curl -fsSL https://raw.githubusercontent.com/omlahore/RemoveMacAI/main/install.sh | bash -s revert

macOS version and build

27.0.1 (26A434)

How you installed it

One-line installer

Activity

  1. pedgemedia commented on Oct 6, 2026

    @pedgemedia

    27.0.1 (26A434)

    Same here, but only one message:

     ! Removal request for Spatial Photos models: com.apple.UnifiedAssetFramework -1 com.apple.MobileAsset.UAF.Photos.SpatialPhotosRelive: Error Domain=com.apple.UnifiedAssetFramework Code=-1 "Could not eliminate as there are current locks" UserInfo={NSLocalizedDescription=Could not eliminate as there are current locks, NSLocalizedFailureReason=Could not eliminate as there are current locks, currentLockUsage={
        "manager in com.apple.UnifiedAssetFramework locking latest version of com.apple.MobileAsset.UAF.Photos.SpatialPhotosRelive" =     {
            "29A3F9ED-EB62-4C56-B30F-A46A0BDAC4BF" = 1;
        };
    }}
    
  2. lucafd commented on Oct 6, 2026

    @lucafd

    Same here:

    Step 1 of 2  Approve the profile
      System Settings is open. Double-click RemoveMacAI, then click Install.
      ✓ Profile installed
    Step 2 of 2  Delete the models
      ! Removal request for Image and Genmoji models: com.apple.UnifiedAssetFramework -1 com.apple.MobileAsset.UAF.FM.Visual: Error Domain=com.apple.UnifiedAssetFramework Code=-1 "Could not eliminate as there are current locks" UserInfo={NSLocalizedDescription=Could not eliminate as there are current locks, NSLocalizedFailureReason=Could not eliminate as there are current locks, currentLockUsage={
        "manager in com.apple.UnifiedAssetFramework locking latest version of com.apple.MobileAsset.UAF.FM.Visual" =     {
            "D31D23A6-9A80-4605-8942-8FD7362FA310" = 1;
        };
    }}
      ! Removal request for Spatial Photos models: com.apple.UnifiedAssetFramework -1 com.apple.MobileAsset.UAF.Photos.SpatialPhotosRelive: Error Domain=com.apple.UnifiedAssetFramework Code=-1 "Could not eliminate as there are current locks" UserInfo={NSLocalizedDescription=Could not eliminate as there are current locks, NSLocalizedFailureReason=Could not eliminate as there are current locks, currentLockUsage={
        "manager in com.apple.UnifiedAssetFramework locking latest version of com.apple.MobileAsset.UAF.Photos.SpatialPhotosRelive" =     {
            "D334C52F-D158-4652-9CCF-5FB762CB9B95" = 1;
        };
    }}
      ! Deleted 13.5 GB
    
    Incomplete. Apple Intelligence is off. The profile remains installed; model removal is incomplete.
    Check it with: removemacai status    Undo with: removemacai revert
    
  3. a613 commented on Oct 6, 2026

    @a613

    Got it too, but it is a false negative. If you rerun the command it'll indicate that everything was removed.

  4. omlahore commented on Oct 7, 2026

    @omlahore
    Owner

    Thanks for the output, and thanks a613 for checking. That error comes from Apple's asset service when something else still has the models open at that moment. If removemacai status shows none for those sets afterwards they're gone, and if it still lists them, running removemacai off again is what cleared it for a613.

  5. mlazzarotto commented on Oct 7, 2026

    @mlazzarotto

    @a613 Not sure if it's really a false positive. I still see about 28GB used by MacOS. Is that supposed to be that big?
    To be honest if I click on the "i" button I can't see Intelligence anymore. How can I verify that the models are really gone?

  6. omlahore commented on Oct 7, 2026

    @omlahore
    Owner

    removemacai status lists every model set and how much of it is on disk, and it reads that straight from Apple's asset service. If it shows none for each set, the models are gone. The macOS figure in Storage settings covers much more than Apple Intelligence, and it takes a while to update after files are deleted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions